Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timSer.y.1.|timSer.y.2.|timSer.y.3.|timSer1.y.1.|timSer1.y.2.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries") translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timSer.y.1.|timSer.y.2.|timSer.y.3.|timSer1.y.1.|timSer1.y.2.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries") [: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 10.0.0-master/package.mo): time 1.977/1.977, allocations: 390.4 MB / 397.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001197, allocations: 189.2 kB / 490.8 MB, free: 1.922 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 221.3 MB / 0.7863 GB, free: 13.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008894/0.0008894, allocations: 96.59 kB / 0.9264 GB, free: 14.26 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.763e-06/6.783e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2386, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5877/0.8264, allocations: 152.9 MB / 1.361 GB, free: 17.13 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001777/0.8266, allocations: 74.69 kB / 1.361 GB, free: 17.13 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.01749/0.8441, allocations: 6.434 MB / 1.367 GB, free: 16.75 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.104e-05/0.8441, allocations: 3.969 kB / 1.367 GB, free: 16.75 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0008017/0.8449, allocations: 0.5136 MB / 1.368 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.845, allocations: 9.125 kB / 1.368 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.8451, allocations: 23.28 kB / 1.368 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005348/0.8457, allocations: 275.2 kB / 1.368 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.8457, allocations: 12.27 kB / 1.368 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.388e-05/0.8458, allocations: 14.16 kB / 1.368 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000165/0.8459, allocations: 53.05 kB / 1.368 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.8461, allocations: 95.48 kB / 1.368 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.8461, allocations: 3.938 kB / 1.368 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.8462, allocations: 5.734 kB / 1.368 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.8462, allocations: 2.688 kB / 1.368 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007988/0.847, allocations: 438.1 kB / 1.369 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002586/0.8473, allocations: 100.7 kB / 1.369 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.653e-05/0.8473, allocations: 38.31 kB / 1.369 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.8474, allocations: 1.5 kB / 1.369 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001416/0.8475, allocations: 97.92 kB / 1.369 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.773e-06/0.8475, allocations: 0.9688 kB / 1.369 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.000279/0.8478, allocations: 115 kB / 1.369 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.8479, allocations: 62.78 kB / 1.369 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.8481, allocations: 175.4 kB / 1.369 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.609e-05/0.8481, allocations: 29.39 kB / 1.369 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.308e-05/0.8482, allocations: 108.8 kB / 1.369 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.936e-05/0.8482, allocations: 35.94 kB / 1.369 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.748e-05/0.8483, allocations: 2.438 kB / 1.369 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.8484, allocations: 328.7 kB / 1.37 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.8486, allocations: 53.12 kB / 1.37 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.8487, allocations: 123 kB / 1.37 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.8489, allocations: 70.33 kB / 1.37 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.8489, allocations: 0 / 1.37 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003958/0.8493, allocations: 212.2 kB / 1.37 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.8493, allocations: 5.469 kB / 1.37 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.8493, allocations: 1.281 kB / 1.37 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.8493, allocations: 5.328 kB / 1.37 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.492e-05/0.8494, allocations: 19.41 kB / 1.37 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.8495, allocations: 6.594 kB / 1.37 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002113/0.8497, allocations: 26.83 kB / 1.37 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.25e-05/0.8497, allocations: 12.61 kB / 1.37 GB, free: 30.83 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.timSer1.timeConverted,timSer1.timeConverted,$PRE.timSer.timeConverted,timSer.timeConverted,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,timSer.active,$PRE.timSer.tActivateLast,timSer.tActivateLast,timSer.sampleTrigger,timSer1.active,$PRE.timSer1.tActivateLast,timSer1.tActivateLast,timSer1.sampleTrigger,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001776/0.8499, allocations: 118.6 kB / 1.37 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/0.8499, allocations: 17.55 kB / 1.37 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002358/0.8502, allocations: 119.6 kB / 1.37 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.8502, allocations: 1.406 kB / 1.37 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.8502, allocations: 6.844 kB / 1.37 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.8502, allocations: 4.031 kB / 1.37 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005618/0.8508, allocations: 449.4 kB / 1.371 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.8508, allocations: 1.375 kB / 1.371 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.612e-05/0.8509, allocations: 6.516 kB / 1.371 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.8509, allocations: 5.312 kB / 1.371 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.8509, allocations: 6.328 kB / 1.371 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.8509, allocations: 0 / 1.371 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.8509, allocations: 2.203 kB / 1.371 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002406/0.8512, allocations: 219.5 kB / 1.371 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.093e-05/0.8512, allocations: 91.67 kB / 1.371 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.234e-05/0.8513, allocations: 6.359 kB / 1.371 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.8514, allocations: 17.22 kB / 1.371 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.863e-05/0.8515, allocations: 12.11 kB / 1.371 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.533e-05/0.8515, allocations: 12.34 kB / 1.371 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001378/0.8517, allocations: 132.8 kB / 1.371 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003709/0.852, allocations: 47.72 kB / 1.371 GB, free: 30.03 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (timSer1.sampleTrigger,timSer.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,timSer.active,timSer.tActivateLast,timSer.timeConverted,timSer1.active,timSer1.tActivateLast,timSer1.timeConverted) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0004148/0.8525, allocations: 162.7 kB / 1.372 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003385/0.8528, allocations: 185.3 kB / 1.372 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.8528, allocations: 0 / 1.372 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.13e-05/0.8529, allocations: 47.02 kB / 1.372 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.8533, allocations: 55.44 kB / 1.372 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005709/0.8539, allocations: 218.5 kB / 1.372 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003903/0.8543, allocations: 0.7557 MB / 1.373 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/0.8543, allocations: 0 / 1.373 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of Templates: time 0.008503/0.8628, allocations: 3.171 MB / 1.376 GB, free: 28.71 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1)