Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4733/0.4733, allocations: 94.74 MB / 102 MB, free: 10.38 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001071/0.001071, allocations: 180.7 kB / 125.3 MB, free: 12.01 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.208/1.208, allocations: 170.5 MB / 319 MB, free: 9.547 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001681/0.001681, allocations: 111.3 kB / 381 MB, free: 18.15 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.818e-06/9.849e-06, allocations: 0 / 448.6 MB, free: 2.156 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1409, allocations: 61.51 MB / 0.4981 GB, free: 4.551 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3646/0.5056, allocations: 93.39 MB / 0.5893 GB, free: 8.91 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/0.5059, allocations: 71.95 kB / 0.5894 GB, free: 8.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.01092/0.5169, allocations: 3.461 MB / 0.5928 GB, free: 5.469 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.5169, allocations: 0 / 0.5928 GB, free: 5.469 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004342/0.5174, allocations: 374 kB / 0.5931 GB, free: 5.062 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.5174, allocations: 12.72 kB / 0.5931 GB, free: 5.051 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.432e-05/0.5175, allocations: 5.562 kB / 0.5931 GB, free: 5.047 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.5177, allocations: 166.5 kB / 0.5933 GB, free: 4.848 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.5177, allocations: 0 / 0.5933 GB, free: 4.848 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.5177, allocations: 0.5 kB / 0.5933 GB, free: 4.848 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.729e-05/0.5178, allocations: 16.58 kB / 0.5933 GB, free: 4.832 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.369e-05/0.5179, allocations: 34.33 kB / 0.5933 GB, free: 4.793 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.5179, allocations: 0 / 0.5933 GB, free: 4.793 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.5179, allocations: 4 kB / 0.5933 GB, free: 4.789 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.5179, allocations: 3.938 kB / 0.5934 GB, free: 4.785 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004322/0.5184, allocations: 253.5 kB / 0.5936 GB, free: 4.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.027e-05/0.5184, allocations: 26.58 kB / 0.5936 GB, free: 4.465 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.471e-05/0.5185, allocations: 16.83 kB / 0.5936 GB, free: 4.445 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006371/0.5192, allocations: 457.5 kB / 0.5941 GB, free: 3.906 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.5192, allocations: 30.56 kB / 0.5941 GB, free: 3.867 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 2.575e-06/0.5192, allocations: 9.688 kB / 0.5941 GB, free: 3.859 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002172/0.5194, allocations: 41.64 kB / 0.5942 GB, free: 3.812 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.5195, allocations: 51.41 kB / 0.5942 GB, free: 3.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.175e-05/0.5196, allocations: 103 kB / 0.5943 GB, free: 3.645 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.5196, allocations: 25.7 kB / 0.5943 GB, free: 3.613 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.7e-05/0.5196, allocations: 84.14 kB / 0.5944 GB, free: 3.527 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.815e-05/0.5196, allocations: 3.906 kB / 0.5944 GB, free: 3.523 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-06/0.5197, allocations: 0.75 kB / 0.5944 GB, free: 3.523 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.5198, allocations: 322.9 kB / 0.5947 GB, free: 3.199 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.758e-05/0.5198, allocations: 4 kB / 0.5947 GB, free: 3.195 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.488e-05/0.5198, allocations: 4 kB / 0.5947 GB, free: 3.191 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.534e-05/0.5199, allocations: 4 kB / 0.5947 GB, free: 3.188 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/0.5199, allocations: 3.906 kB / 0.5947 GB, free: 3.184 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001046/0.52, allocations: 41.7 kB / 0.5948 GB, free: 3.137 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.52, allocations: 4 kB / 0.5948 GB, free: 3.133 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.52, allocations: 1.688 kB / 0.5948 GB, free: 3.133 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.52, allocations: 0 / 0.5948 GB, free: 3.133 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.5202, allocations: 24.02 kB / 0.5948 GB, free: 3.109 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.5202, allocations: 3.938 kB / 0.5948 GB, free: 3.105 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.005e-05/0.5202, allocations: 11.98 kB / 0.5948 GB, free: 3.094 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.5203, allocations: 4 kB / 0.5948 GB, free: 3.09 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.929e-05/0.5203, allocations: 108.9 kB / 0.5949 GB, free: 2.977 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.928e-05/0.5204, allocations: 0 / 0.5949 GB, free: 2.977 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001448/0.5205, allocations: 53.27 kB / 0.595 GB, free: 2.922 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.5205, allocations: 0 / 0.595 GB, free: 2.922 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.5205, allocations: 3.906 kB / 0.595 GB, free: 2.918 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.5206, allocations: 0 / 0.595 GB, free: 2.918 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.5207, allocations: 138.2 kB / 0.5951 GB, free: 2.746 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.5207, allocations: 7.062 kB / 0.5951 GB, free: 2.742 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.679e-05/0.5208, allocations: 12.03 kB / 0.5951 GB, free: 2.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.5208, allocations: 0 / 0.5951 GB, free: 2.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-06/0.5208, allocations: 0 / 0.5951 GB, free: 2.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.5208, allocations: 3.984 kB / 0.5951 GB, free: 2.727 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.5208, allocations: 3.562 kB / 0.5951 GB, free: 2.727 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001455/0.521, allocations: 143.4 kB / 0.5953 GB, free: 2.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.588e-05/0.521, allocations: 85.02 kB / 0.5954 GB, free: 2.469 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.5211, allocations: 4.031 kB / 0.5954 GB, free: 2.465 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.064e-05/0.5212, allocations: 8.641 kB / 0.5954 GB, free: 2.457 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.5212, allocations: 4 kB / 0.5954 GB, free: 2.453 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.5212, allocations: 0 / 0.5954 GB, free: 2.453 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.835e-05/0.5213, allocations: 83.27 kB / 0.5954 GB, free: 2.371 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002262/0.5215, allocations: 19.94 kB / 0.5955 GB, free: 2.352 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001824/0.5217, allocations: 119 kB / 0.5956 GB, free: 2.227 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.915e-05/0.5218, allocations: 12 kB / 0.5956 GB, free: 2.215 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5218, allocations: 0 / 0.5956 GB, free: 2.215 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.382e-05/0.5218, allocations: 11.94 kB / 0.5956 GB, free: 2.203 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001748/0.522, allocations: 3.984 kB / 0.5956 GB, free: 2.199 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002421/0.5222, allocations: 61.34 kB / 0.5957 GB, free: 2.117 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003642/0.5226, allocations: 0.692 MB / 0.5963 GB, free: 1.398 MB / 410.7 MB Notification: Performance of SimCode: time 1.884e-06/0.5226, allocations: 0 / 0.5963 GB, free: 1.398 MB / 410.7 MB Notification: Performance of Templates: time 0.002681/0.5253, allocations: 0.6578 MB / 0.597 GB, free: 0.7695 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)