Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.003/2.003, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.001177/0.001177, allocations: 185.2 kB / 487 MB, free: 5.371 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.282/1.282, allocations: 221.3 MB / 0.7819 GB, free: 1.324 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009696/0.0009695, allocations: 94.3 kB / 0.9213 GB, free: 2.562 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.222e-06/6.242e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2414, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.597/0.8384, allocations: 152.1 MB / 1.354 GB, free: 16.13 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/0.8387, allocations: 75.8 kB / 1.354 GB, free: 16.13 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01817/0.8568, allocations: 6.43 MB / 1.36 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.463e-05/0.8569, allocations: 4 kB / 1.36 GB, free: 15.52 MB / 0.8073 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.0004991/0.8574, allocations: 0.5239 MB / 1.361 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.8574, allocations: 9.031 kB / 1.361 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.464e-05/0.8575, allocations: 20.47 kB / 1.361 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004369/0.8579, allocations: 270.9 kB / 1.361 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.858, allocations: 8.453 kB / 1.361 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.475e-05/0.858, allocations: 12.52 kB / 1.361 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001205/0.8581, allocations: 50.7 kB / 1.361 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.8583, allocations: 101.1 kB / 1.361 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.8583, allocations: 4 kB / 1.361 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.8583, allocations: 0.5625 kB / 1.361 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.8583, allocations: 0 / 1.361 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000593/0.8589, allocations: 454.2 kB / 1.361 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.8591, allocations: 93.42 kB / 1.362 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.964e-05/0.8592, allocations: 33.31 kB / 1.362 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.8592, allocations: 4.562 kB / 1.362 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001183/0.8593, allocations: 101.9 kB / 1.362 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.8594, allocations: 3.938 kB / 1.362 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0002322/0.8596, allocations: 112.9 kB / 1.362 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.235e-05/0.8596, allocations: 59.28 kB / 1.362 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.8598, allocations: 180.5 kB / 1.362 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.8598, allocations: 30.27 kB / 1.362 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.315e-05/0.8599, allocations: 108.4 kB / 1.362 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.8599, allocations: 30.02 kB / 1.362 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.729e-05/0.8599, allocations: 4.516 kB / 1.362 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.805e-05/0.86, allocations: 334.9 kB / 1.362 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.8601, allocations: 54.14 kB / 1.363 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.8602, allocations: 121.4 kB / 1.363 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.8604, allocations: 65.39 kB / 1.363 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8604, allocations: 0 / 1.363 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003424/0.8607, allocations: 215.2 kB / 1.363 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.8608, allocations: 4 kB / 1.363 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.8608, allocations: 0.5156 kB / 1.363 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.8608, allocations: 4 kB / 1.363 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.851e-05/0.8609, allocations: 18.42 kB / 1.363 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.8609, allocations: 8.469 kB / 1.363 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.8611, allocations: 23.28 kB / 1.363 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.002e-05/0.8611, allocations: 13.94 kB / 1.363 GB, free: 12.86 MB / 0.8073 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 7.27e-05/0.8612, allocations: 123.7 kB / 1.363 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.8612, allocations: 16.61 kB / 1.363 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000203/0.8614, allocations: 116.9 kB / 1.363 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.8614, allocations: 8 kB / 1.363 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.8615, allocations: 3.906 kB / 1.363 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.8615, allocations: 1.312 kB / 1.363 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004665/0.8619, allocations: 437.5 kB / 1.364 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.862, allocations: 4 kB / 1.364 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.04e-05/0.862, allocations: 9.125 kB / 1.364 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.862, allocations: 4.5 kB / 1.364 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.862, allocations: 0.6094 kB / 1.364 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.862, allocations: 4.562 kB / 1.364 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.862, allocations: 0 / 1.364 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001585/0.8622, allocations: 219 kB / 1.364 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.518e-05/0.8622, allocations: 106.4 kB / 1.364 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.751e-05/0.8623, allocations: 1.031 kB / 1.364 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.8624, allocations: 14.91 kB / 1.364 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/0.8625, allocations: 19.03 kB / 1.364 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.8625, allocations: 9.359 kB / 1.364 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7.932e-05/0.8626, allocations: 135.9 kB / 1.364 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002946/0.8629, allocations: 49.11 kB / 1.364 GB, free: 11.74 MB / 0.8073 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.0002663/0.8631, allocations: 173 kB / 1.364 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002665/0.8634, allocations: 178.4 kB / 1.365 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.8634, allocations: 0 / 1.365 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.914e-05/0.8635, allocations: 49.88 kB / 1.365 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.8639, allocations: 54.88 kB / 1.365 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005511/0.8644, allocations: 211.8 kB / 1.365 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003877/0.8648, allocations: 0.7583 MB / 1.366 GB, free: 26.39 MB / 0.823 GB Notification: Performance of SimCode: time 3.91e-07/0.8648, allocations: 4 kB / 1.366 GB, free: 26.38 MB / 0.823 GB Notification: Performance of Templates: time 0.0059/0.8708, allocations: 3.163 MB / 1.369 GB, free: 23.27 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1)