Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") [: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 8.0.1-maint.8.0.x/package.mo): time 1.338/1.338, allocations: 285.5 MB / 292.8 MB, free: 10.43 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000967/0.0009671, allocations: 177.3 kB / 361.1 MB, free: 7.105 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.036/1.036, allocations: 205.1 MB / 0.6195 GB, free: 10.3 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007729/0.0007729, allocations: 93.98 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.15e-06/5.24e-06, allocations: 0 / 0.8511 GB, free: 2.992 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4242/0.4242, allocations: 115.3 MB / 0.9637 GB, free: 78.01 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1317/0.556, allocations: 136.9 MB / 1.097 GB, free: 3.141 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001899/0.5562, allocations: 76.61 kB / 1.097 GB, free: 3.066 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.002077/0.5583, allocations: 0.5295 MB / 1.098 GB, free: 2.566 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.5583, allocations: 4.531 kB / 1.098 GB, free: 2.562 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002289/0.5585, allocations: 319.6 kB / 1.098 GB, free: 2.207 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.5586, allocations: 12.03 kB / 1.098 GB, free: 2.195 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.246e-05/0.5586, allocations: 0.6875 kB / 1.098 GB, free: 2.195 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.5587, allocations: 167.5 kB / 1.098 GB, free: 1.992 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.5588, allocations: 0.7188 kB / 1.098 GB, free: 1.992 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.424e-06/0.5588, allocations: 4 kB / 1.098 GB, free: 1.988 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.843e-05/0.5588, allocations: 0.625 kB / 1.098 GB, free: 1.988 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.84e-05/0.5589, allocations: 34.19 kB / 1.098 GB, free: 1.949 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.5589, allocations: 1.453 kB / 1.098 GB, free: 1.949 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.5589, allocations: 0.7188 kB / 1.098 GB, free: 1.949 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-06/0.5589, allocations: 0 / 1.098 GB, free: 1.949 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001252/0.559, allocations: 134.7 kB / 1.099 GB, free: 1.781 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.774e-05/0.5591, allocations: 25.92 kB / 1.099 GB, free: 1.75 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.867e-05/0.5591, allocations: 13.86 kB / 1.099 GB, free: 1.734 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005768/0.5597, allocations: 0.6028 MB / 1.099 GB, free: 1.008 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.5597, allocations: 37.84 kB / 1.099 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.5597, allocations: 0 / 1.099 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.000133/0.5599, allocations: 39.53 kB / 1.099 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/0.5599, allocations: 54.69 kB / 1.099 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.063e-05/0.56, allocations: 89.59 kB / 1.099 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.739e-06/0.56, allocations: 26.55 kB / 1.099 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.397e-05/0.56, allocations: 84.14 kB / 1.1 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/0.56, allocations: 8.406 kB / 1.1 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-06/0.56, allocations: 0.5312 kB / 1.1 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.67e-05/0.5601, allocations: 323.5 kB / 1.1 GB, free: 324 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.786e-06/0.5602, allocations: 0 / 1.1 GB, free: 324 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.314e-06/0.5602, allocations: 5.125 kB / 1.1 GB, free: 320 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.848e-05/0.5602, allocations: 0 / 1.1 GB, free: 320 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.5602, allocations: 0.9688 kB / 1.1 GB, free: 320 kB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.031e-05/0.5603, allocations: 41.64 kB / 1.1 GB, free: 272 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.5603, allocations: 8.531 kB / 1.1 GB, free: 264 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.5603, allocations: 5.406 kB / 1.1 GB, free: 260 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.5603, allocations: 3.984 kB / 1.1 GB, free: 256 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.515e-05/0.5604, allocations: 4 kB / 1.1 GB, free: 252 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.5604, allocations: 0 / 1.1 GB, free: 252 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.831e-05/0.5604, allocations: 0.625 kB / 1.1 GB, free: 252 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-06/0.5604, allocations: 0 / 1.1 GB, free: 252 kB / 0.698 GB 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 5.228e-05/0.5605, allocations: 106.7 kB / 1.1 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.534e-05/0.5605, allocations: 4 kB / 1.1 GB, free: 136 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.941e-05/0.5606, allocations: 50.55 kB / 1.1 GB, free: 80 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.5606, allocations: 0 / 1.1 GB, free: 80 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.5606, allocations: 0.75 kB / 1.1 GB, free: 80 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.5606, allocations: 3.906 kB / 1.1 GB, free: 76 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.402e-05/0.5607, allocations: 134.4 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.5607, allocations: 0 / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.055e-05/0.5608, allocations: 5.688 kB / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.5608, allocations: 0 / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-06/0.5608, allocations: 0 / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5608, allocations: 0 / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5608, allocations: 0 / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.052e-05/0.5609, allocations: 69.03 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.783e-05/0.5609, allocations: 81.14 kB / 1.1 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.5609, allocations: 0 / 1.1 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.787e-05/0.561, allocations: 1.125 kB / 1.1 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.496e-05/0.561, allocations: 4.422 kB / 1.1 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.561, allocations: 4 kB / 1.1 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.336e-05/0.561, allocations: 75.84 kB / 1.1 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001782/0.5612, allocations: 19.98 kB / 1.1 GB, free: 15.62 MB / 0.7136 GB 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.0001386/0.5613, allocations: 122.9 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.375e-05/0.5614, allocations: 12 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.5614, allocations: 0 / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.268e-06/0.5614, allocations: 4 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/0.5616, allocations: 10.81 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000158/0.5617, allocations: 52.75 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002146/0.562, allocations: 0.6918 MB / 1.101 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.562, allocations: 0 / 1.101 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of Templates: time 0.002089/0.5641, allocations: 0.5882 MB / 1.102 GB, free: 14.12 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_maint.8.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)