Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.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.SingleZoneVAVSupply_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoiVAV.TSupHeaEco|setPoiVAV.TSupCoo|setPoiVAV.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u") translateModel(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoiVAV.TSupHeaEco|setPoiVAV.TSupCoo|setPoiVAV.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u") [: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.038/2.038, allocations: 387.2 MB / 394.5 MB, free: 13.72 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.001321/0.001321, allocations: 176.3 kB / 487 MB, free: 5.406 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.281/1.281, allocations: 221.3 MB / 0.7819 GB, free: 1.375 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.0009293/0.0009294, allocations: 99.11 kB / 0.9213 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.791e-06/5.821e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2428, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6342/0.8771, allocations: 154.4 MB / 1.356 GB, free: 16.05 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/0.8773, allocations: 74.39 kB / 1.356 GB, free: 16.05 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.03519/0.9125, allocations: 13.68 MB / 1.369 GB, free: 8.438 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.426e-05/0.9126, allocations: 25.03 kB / 1.369 GB, free: 8.414 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.001483/0.9141, allocations: 1.01 MB / 1.37 GB, free: 7.398 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.9142, allocations: 12.03 kB / 1.37 GB, free: 7.387 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/0.9143, allocations: 90.97 kB / 1.371 GB, free: 7.297 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007706/0.9151, allocations: 493.3 kB / 1.371 GB, free: 6.863 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.9151, allocations: 24 kB / 1.371 GB, free: 6.84 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.88e-05/0.9152, allocations: 44 kB / 1.371 GB, free: 6.797 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007312/0.916, allocations: 466.6 kB / 1.372 GB, free: 6.523 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007411/0.9167, allocations: 492.2 kB / 1.372 GB, free: 6.172 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.9167, allocations: 0 / 1.372 GB, free: 6.172 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.567e-05/0.9168, allocations: 0 / 1.372 GB, free: 6.172 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.9168, allocations: 20 kB / 1.372 GB, free: 6.152 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002751/0.9196, allocations: 1.812 MB / 1.374 GB, free: 4.746 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009064/0.9205, allocations: 476.4 kB / 1.374 GB, free: 4.422 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002896/0.9208, allocations: 227.6 kB / 1.374 GB, free: 4.277 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.503e-05/0.9208, allocations: 12.5 kB / 1.374 GB, free: 4.266 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003755/0.9212, allocations: 331.2 kB / 1.375 GB, free: 4 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=60): time 2.114e-06/0.9212, allocations: 0 / 1.375 GB, free: 4 MB / 0.8073 GB Notification: Performance of matching and sorting (n=60): time 0.0006641/0.9219, allocations: 432.8 kB / 1.375 GB, free: 3.684 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/0.922, allocations: 247.6 kB / 1.375 GB, free: 3.391 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002832/0.9223, allocations: 319.5 kB / 1.376 GB, free: 3.137 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.83e-05/0.9223, allocations: 29.7 kB / 1.376 GB, free: 3.102 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.9224, allocations: 265.7 kB / 1.376 GB, free: 2.863 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.9225, allocations: 175.1 kB / 1.376 GB, free: 2.711 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.472e-05/0.9226, allocations: 0 / 1.376 GB, free: 2.711 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.993e-05/0.9226, allocations: 360.6 kB / 1.377 GB, free: 2.371 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000228/0.9229, allocations: 145.8 kB / 1.377 GB, free: 2.293 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003446/0.9232, allocations: 317.2 kB / 1.377 GB, free: 2.016 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000256/0.9235, allocations: 183 kB / 1.377 GB, free: 1.91 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.9235, allocations: 0 / 1.377 GB, free: 1.91 MB / 0.8073 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0006508/0.9242, allocations: 481.5 kB / 1.378 GB, free: 1.555 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.396e-05/0.9242, allocations: 449.2 kB / 1.378 GB, free: 1.094 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.9243, allocations: 4 kB / 1.378 GB, free: 1.09 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.9243, allocations: 11.98 kB / 1.378 GB, free: 1.078 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005286/0.9248, allocations: 127.5 kB / 1.378 GB, free: 0.957 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.9248, allocations: 4 kB / 1.378 GB, free: 0.9531 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000549/0.9254, allocations: 123.4 kB / 1.378 GB, free: 0.832 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.57e-05/0.9254, allocations: 19.62 kB / 1.378 GB, free: 0.8164 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.571e-06/0.9254, allocations: 4 kB / 1.378 GB, free: 0.8125 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005442/0.926, allocations: 391.9 kB / 1.379 GB, free: 0.5508 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.926, allocations: 4 kB / 1.379 GB, free: 0.5469 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.799e-06/0.926, allocations: 7.938 kB / 1.379 GB, free: 0.5391 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004462/0.9265, allocations: 111.4 kB / 1.379 GB, free: 444 kB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.9265, allocations: 4 kB / 1.379 GB, free: 440 kB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004596/0.927, allocations: 99.59 kB / 1.379 GB, free: 340 kB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.101e-05/0.927, allocations: 19.12 kB / 1.379 GB, free: 328 kB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,scaTem.active,$PRE.scaTem.tActivateLast,scaTem.tActivateLast,scaTem.sampleTrigger,scaYFan.active,$PRE.scaYFan.tActivateLast,scaYFan.tActivateLast,scaYFan.sampleTrigger,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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 0.0001264/0.9271, allocations: 124.8 kB / 1.379 GB, free: 196 kB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.645e-05/0.9272, allocations: 59.33 kB / 1.379 GB, free: 136 kB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008233/0.928, allocations: 0.5053 MB / 1.38 GB, free: 15.77 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.9281, allocations: 8 kB / 1.38 GB, free: 15.77 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.9281, allocations: 0 / 1.38 GB, free: 15.77 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.9281, allocations: 3.984 kB / 1.38 GB, free: 15.76 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002166/0.9302, allocations: 1.568 MB / 1.381 GB, free: 14.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.9303, allocations: 8.156 kB / 1.381 GB, free: 14.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005421/0.9308, allocations: 121.8 kB / 1.381 GB, free: 14.38 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/0.9308, allocations: 8 kB / 1.381 GB, free: 14.38 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-05/0.9309, allocations: 15.98 kB / 1.381 GB, free: 14.36 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-05/0.9309, allocations: 15.84 kB / 1.381 GB, free: 14.34 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/0.9309, allocations: 8 kB / 1.381 GB, free: 14.34 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009647/0.9319, allocations: 0.9802 MB / 1.382 GB, free: 13.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001971/0.9321, allocations: 190.5 kB / 1.382 GB, free: 13.12 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.09e-05/0.9322, allocations: 15.45 kB / 1.382 GB, free: 13.11 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00047/0.9327, allocations: 75.94 kB / 1.383 GB, free: 13.04 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.9328, allocations: 50.78 kB / 1.383 GB, free: 12.99 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.428e-05/0.9328, allocations: 34.17 kB / 1.383 GB, free: 12.96 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0002236/0.9331, allocations: 246.2 kB / 1.383 GB, free: 12.78 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000738/0.9338, allocations: 254.7 kB / 1.383 GB, free: 12.53 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 11 (scaYFan.sampleTrigger,scaTem.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,scaTem.active,scaTem.tActivateLast,scaYFan.active,scaYFan.tActivateLast) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003687/0.9342, allocations: 184.2 kB / 1.383 GB, free: 12.37 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001036/0.9352, allocations: 0.6479 MB / 1.384 GB, free: 11.93 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.9352, allocations: 0 / 1.384 GB, free: 11.93 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004407/0.9357, allocations: 274.5 kB / 1.384 GB, free: 11.75 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005238/0.9362, allocations: 79.28 kB / 1.384 GB, free: 11.69 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.938, allocations: 0.9473 MB / 1.385 GB, free: 10.78 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006946/0.9388, allocations: 0.9956 MB / 1.386 GB, free: 9.766 MB / 0.823 GB Notification: Performance of SimCode: time 4.11e-07/0.9388, allocations: 0 / 1.386 GB, free: 9.766 MB / 0.823 GB Notification: Performance of Templates: time 0.01663/0.9554, allocations: 9.495 MB / 1.395 GB, free: 376 kB / 0.823 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.sim & ./Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe 2>&1)