Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u") translateModel(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.238/2.238, allocations: 284.9 MB / 292.2 MB, free: 1.445 MB / 227.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001685/0.001685, allocations: 185.5 kB / 360.4 MB, free: 15.61 MB / 291.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.674/1.674, allocations: 205.1 MB / 0.6188 GB, free: 6.598 MB / 467.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001227/0.001226, allocations: 87.81 kB / 0.7318 GB, free: 47.02 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 9.868e-06/1.003e-05, allocations: 0 / 0.8502 GB, free: 13.69 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5736/0.5736, allocations: 115.2 MB / 0.9628 GB, free: 86.4 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.218/0.7917, allocations: 142.7 MB / 1.102 GB, free: 7.699 MB / 0.7061 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/0.7921, allocations: 75.95 kB / 1.102 GB, free: 7.625 MB / 0.7061 GB Notification: Performance of FrontEnd: time 0.06137/0.8535, allocations: 13.73 MB / 1.116 GB, free: 9.977 MB / 0.7217 GB Notification: Performance of Transformations before backend: time 7.122e-05/0.8536, allocations: 19.94 kB / 1.116 GB, free: 9.957 MB / 0.7217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.00299/0.8566, allocations: 1.031 MB / 1.117 GB, free: 8.867 MB / 0.7217 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.8567, allocations: 8.781 kB / 1.117 GB, free: 8.859 MB / 0.7217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004042/0.8571, allocations: 90.88 kB / 1.117 GB, free: 8.77 MB / 0.7217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001594/0.8587, allocations: 0.4977 MB / 1.117 GB, free: 8.234 MB / 0.7217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.138e-05/0.8588, allocations: 20 kB / 1.117 GB, free: 8.215 MB / 0.7217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.8589, allocations: 44 kB / 1.117 GB, free: 8.172 MB / 0.7217 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001641/0.8606, allocations: 466.6 kB / 1.118 GB, free: 7.715 MB / 0.7217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.8621, allocations: 471.9 kB / 1.118 GB, free: 7.25 MB / 0.7217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.726e-05/0.8622, allocations: 0 / 1.118 GB, free: 7.25 MB / 0.7217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.489e-05/0.8623, allocations: 4 kB / 1.118 GB, free: 7.246 MB / 0.7217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.356e-05/0.8623, allocations: 19.94 kB / 1.118 GB, free: 7.227 MB / 0.7217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006249/0.8686, allocations: 1.82 MB / 1.12 GB, free: 5.363 MB / 0.7217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/0.8704, allocations: 449 kB / 1.12 GB, free: 4.91 MB / 0.7217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005512/0.871, allocations: 178.2 kB / 1.121 GB, free: 4.734 MB / 0.7217 GB Notification: Performance of preOpt evalFunc (simulation): time 6.758e-05/0.8711, allocations: 12.42 kB / 1.121 GB, free: 4.723 MB / 0.7217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007801/0.8719, allocations: 329 kB / 1.121 GB, free: 4.363 MB / 0.7217 GB Notification: Performance of pre-optimization done (n=56): time 3.056e-06/0.8719, allocations: 0 / 1.121 GB, free: 4.363 MB / 0.7217 GB Notification: Performance of matching and sorting (n=56): time 0.001467/0.8734, allocations: 431.9 kB / 1.121 GB, free: 3.938 MB / 0.7217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/0.8736, allocations: 247.8 kB / 1.122 GB, free: 3.641 MB / 0.7217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006868/0.8743, allocations: 349.1 kB / 1.122 GB, free: 3.301 MB / 0.7217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001237/0.8744, allocations: 29.7 kB / 1.122 GB, free: 3.266 MB / 0.7217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002775/0.8747, allocations: 268.2 kB / 1.122 GB, free: 2.996 MB / 0.7217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002051/0.8749, allocations: 169.5 kB / 1.122 GB, free: 2.828 MB / 0.7217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.284e-05/0.875, allocations: 0.8438 kB / 1.122 GB, free: 2.828 MB / 0.7217 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.8751, allocations: 362.8 kB / 1.123 GB, free: 2.465 MB / 0.7217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005243/0.8757, allocations: 157.3 kB / 1.123 GB, free: 2.312 MB / 0.7217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007996/0.8765, allocations: 313.1 kB / 1.123 GB, free: 1.957 MB / 0.7217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006249/0.8771, allocations: 188.7 kB / 1.123 GB, free: 1.77 MB / 0.7217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.8772, allocations: 4 kB / 1.123 GB, free: 1.766 MB / 0.7217 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00157/0.8787, allocations: 470.5 kB / 1.124 GB, free: 1.301 MB / 0.7217 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002082/0.879, allocations: 462.7 kB / 1.124 GB, free: 0.8164 MB / 0.7217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.879, allocations: 9.656 kB / 1.124 GB, free: 0.8086 MB / 0.7217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.72e-05/0.879, allocations: 6.125 kB / 1.124 GB, free: 0.8047 MB / 0.7217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/0.8802, allocations: 119.9 kB / 1.124 GB, free: 0.6875 MB / 0.7217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.8802, allocations: 4 kB / 1.124 GB, free: 0.6836 MB / 0.7217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/0.8816, allocations: 127.4 kB / 1.124 GB, free: 0.5586 MB / 0.7217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.8817, allocations: 20 kB / 1.124 GB, free: 0.5391 MB / 0.7217 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.8817, allocations: 7.938 kB / 1.124 GB, free: 0.5312 MB / 0.7217 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001255/0.883, allocations: 381.2 kB / 1.125 GB, free: 164 kB / 0.7217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.883, allocations: 4 kB / 1.125 GB, free: 160 kB / 0.7217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.8831, allocations: 4 kB / 1.125 GB, free: 156 kB / 0.7217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.8841, allocations: 111.8 kB / 1.125 GB, free: 44 kB / 0.7217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.8841, allocations: 8.094 kB / 1.125 GB, free: 36 kB / 0.7217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.8853, allocations: 95.53 kB / 1.125 GB, free: 15.94 MB / 0.7374 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.124e-05/0.8854, allocations: 20 kB / 1.125 GB, free: 15.92 MB / 0.7374 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 (65): * Single equations (assignments): 65 * 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.0002619/0.8856, allocations: 118.4 kB / 1.125 GB, free: 15.8 MB / 0.7374 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/0.8858, allocations: 59.25 kB / 1.125 GB, free: 15.74 MB / 0.7374 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/0.8874, allocations: 0.4984 MB / 1.126 GB, free: 15.23 MB / 0.7374 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/0.8875, allocations: 8 kB / 1.126 GB, free: 15.22 MB / 0.7374 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.8875, allocations: 0 / 1.126 GB, free: 15.22 MB / 0.7374 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.408e-05/0.8875, allocations: 12.45 kB / 1.126 GB, free: 15.21 MB / 0.7374 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004226/0.8918, allocations: 1.548 MB / 1.127 GB, free: 13.56 MB / 0.7374 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.8918, allocations: 8.062 kB / 1.127 GB, free: 13.55 MB / 0.7374 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/0.8929, allocations: 119.8 kB / 1.127 GB, free: 13.43 MB / 0.7374 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.848e-05/0.893, allocations: 8 kB / 1.127 GB, free: 13.43 MB / 0.7374 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.912e-05/0.893, allocations: 11.91 kB / 1.127 GB, free: 13.41 MB / 0.7374 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.279e-05/0.8931, allocations: 12.73 kB / 1.127 GB, free: 13.4 MB / 0.7374 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.278e-05/0.8931, allocations: 13.25 kB / 1.127 GB, free: 13.39 MB / 0.7374 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001709/0.8948, allocations: 0.9207 MB / 1.128 GB, free: 12.27 MB / 0.7374 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003789/0.8952, allocations: 200.3 kB / 1.128 GB, free: 12.05 MB / 0.7374 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/0.8954, allocations: 11.89 kB / 1.128 GB, free: 12.04 MB / 0.7374 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000929/0.8963, allocations: 75.94 kB / 1.129 GB, free: 11.97 MB / 0.7374 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00019/0.8965, allocations: 59.78 kB / 1.129 GB, free: 11.91 MB / 0.7374 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.8966, allocations: 27.98 kB / 1.129 GB, free: 11.88 MB / 0.7374 GB Notification: Performance of sort global known variables: time 0.0005011/0.8972, allocations: 268.2 kB / 1.129 GB, free: 11.62 MB / 0.7374 GB Notification: Performance of remove unused functions: time 0.001222/0.8984, allocations: 250.7 kB / 1.129 GB, free: 11.38 MB / 0.7374 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 (62): * Single equations (assignments): 59 * 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.000529/0.8989, allocations: 183 kB / 1.129 GB, free: 11.22 MB / 0.7374 GB Notification: Performance of simCode: created initialization part: time 0.002117/0.9011, allocations: 0.6498 MB / 1.13 GB, free: 10.57 MB / 0.7374 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/0.9011, allocations: 0 / 1.13 GB, free: 10.57 MB / 0.7374 GB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.9022, allocations: 267.8 kB / 1.13 GB, free: 10.3 MB / 0.7374 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000994/0.9032, allocations: 88.58 kB / 1.13 GB, free: 10.23 MB / 0.7374 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003377/0.9066, allocations: 0.945 MB / 1.131 GB, free: 9.191 MB / 0.7374 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001016/0.9077, allocations: 0.9916 MB / 1.132 GB, free: 8.176 MB / 0.7374 GB Notification: Performance of SimCode: time 1.593e-06/0.9077, allocations: 0 / 1.132 GB, free: 8.176 MB / 0.7374 GB Notification: Performance of Templates: time 0.03167/0.9394, allocations: 9.848 MB / 1.142 GB, free: 14.52 MB / 0.753 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.sim & ./Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe 2>&1)