Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) [: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/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 193 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4434/0.4434, allocations: 90.85 MB / 99.07 MB, free: 14.92 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 221.4 MB / 342.8 MB, free: 5.117 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 106 kB / 415.5 MB, free: 6.395 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1707/0.1718, allocations: 78.45 MB / 494 MB, free: 7.945 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.5542, allocations: 72.3 MB / 0.553 GB, free: 73.33 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1159/0.6702, allocations: 100.5 MB / 0.6511 GB, free: 9.457 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/0.6706, allocations: 85.39 kB / 0.6512 GB, free: 9.375 MB / 474.7 MB 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.002973/0.6735, allocations: 0.8615 MB / 0.6521 GB, free: 8.488 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.6736, allocations: 12 kB / 0.6521 GB, free: 8.477 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.086e-05/0.6737, allocations: 4.719 kB / 0.6521 GB, free: 8.473 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.6739, allocations: 173 kB / 0.6522 GB, free: 8.266 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.6739, allocations: 5.062 kB / 0.6522 GB, free: 8.262 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.6739, allocations: 0 / 0.6522 GB, free: 8.262 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.245e-05/0.674, allocations: 8 kB / 0.6523 GB, free: 8.254 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.553e-05/0.674, allocations: 30.27 kB / 0.6523 GB, free: 8.219 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.674, allocations: 0.5938 kB / 0.6523 GB, free: 8.219 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.6741, allocations: 1.031 kB / 0.6523 GB, free: 8.219 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.6741, allocations: 6.719 kB / 0.6523 GB, free: 8.215 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001687/0.6742, allocations: 130.3 kB / 0.6524 GB, free: 8.055 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.157e-05/0.6743, allocations: 31.33 kB / 0.6524 GB, free: 8.016 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.359e-05/0.6744, allocations: 10.2 kB / 0.6525 GB, free: 8.004 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007068/0.6751, allocations: 0.6029 MB / 0.653 GB, free: 7.277 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.33e-05/0.6751, allocations: 31.31 kB / 0.6531 GB, free: 7.238 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.6751, allocations: 0 / 0.6531 GB, free: 7.238 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002064/0.6753, allocations: 42.33 kB / 0.6531 GB, free: 7.191 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.6754, allocations: 51.91 kB / 0.6532 GB, free: 7.129 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.927e-05/0.6755, allocations: 93.92 kB / 0.6533 GB, free: 7.031 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.6755, allocations: 25.7 kB / 0.6533 GB, free: 7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.392e-05/0.6755, allocations: 81.05 kB / 0.6534 GB, free: 6.918 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.6756, allocations: 11.84 kB / 0.6534 GB, free: 6.906 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.6756, allocations: 0.7188 kB / 0.6534 GB, free: 6.906 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.6757, allocations: 315.4 kB / 0.6537 GB, free: 6.59 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.213e-05/0.6757, allocations: 0.7188 kB / 0.6537 GB, free: 6.59 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.001e-05/0.6757, allocations: 4 kB / 0.6537 GB, free: 6.586 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.654e-05/0.6758, allocations: 4.969 kB / 0.6537 GB, free: 6.582 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.6758, allocations: 0 / 0.6537 GB, free: 6.582 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.086e-05/0.6759, allocations: 47.47 kB / 0.6537 GB, free: 6.531 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.6759, allocations: 6.031 kB / 0.6537 GB, free: 6.527 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.6759, allocations: 0 / 0.6537 GB, free: 6.527 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.6759, allocations: 3.906 kB / 0.6537 GB, free: 6.523 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.122e-05/0.676, allocations: 4.75 kB / 0.6537 GB, free: 6.52 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.676, allocations: 0 / 0.6537 GB, free: 6.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.906e-05/0.676, allocations: 0.8438 kB / 0.6537 GB, free: 6.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.6761, allocations: 0 / 0.6537 GB, free: 6.52 MB / 474.7 MB 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 7.921e-05/0.6761, allocations: 101.7 kB / 0.6538 GB, free: 6.414 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.217e-06/0.6762, allocations: 8.406 kB / 0.6538 GB, free: 6.406 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000134/0.6763, allocations: 51.41 kB / 0.6539 GB, free: 6.355 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.6763, allocations: 0.5625 kB / 0.6539 GB, free: 6.355 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.6763, allocations: 0 / 0.6539 GB, free: 6.355 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.6763, allocations: 2.25 kB / 0.6539 GB, free: 6.355 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.6764, allocations: 134.2 kB / 0.654 GB, free: 6.188 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.6764, allocations: 0 / 0.654 GB, free: 6.188 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.483e-05/0.6765, allocations: 4 kB / 0.654 GB, free: 6.184 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.6765, allocations: 0 / 0.654 GB, free: 6.184 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.6765, allocations: 0 / 0.654 GB, free: 6.184 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.6765, allocations: 8.344 kB / 0.654 GB, free: 6.176 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.6765, allocations: 0 / 0.654 GB, free: 6.176 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.891e-05/0.6766, allocations: 67.53 kB / 0.6541 GB, free: 6.094 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002135/0.6768, allocations: 447 kB / 0.6545 GB, free: 5.637 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.229e-05/0.6769, allocations: 86.06 kB / 0.6546 GB, free: 5.535 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.6769, allocations: 1.562 kB / 0.6546 GB, free: 5.535 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.945e-05/0.6769, allocations: 3.906 kB / 0.6546 GB, free: 5.531 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.717e-05/0.677, allocations: 0.8438 kB / 0.6546 GB, free: 5.531 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.677, allocations: 0 / 0.6546 GB, free: 5.531 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.696e-05/0.677, allocations: 83.77 kB / 0.6547 GB, free: 5.449 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007827/0.6778, allocations: 16.66 kB / 0.6547 GB, free: 5.434 MB / 474.7 MB 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.0002236/0.678, allocations: 111.9 kB / 0.6548 GB, free: 5.312 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 8.158e-05/0.6781, allocations: 16.67 kB / 0.6548 GB, free: 5.293 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.6781, allocations: 0.875 kB / 0.6548 GB, free: 5.293 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.164e-05/0.6782, allocations: 7.938 kB / 0.6548 GB, free: 5.285 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.6784, allocations: 1.188 kB / 0.6548 GB, free: 5.285 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002266/0.6786, allocations: 56.8 kB / 0.6549 GB, free: 5.207 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003087/0.6789, allocations: 0.6885 MB / 0.6556 GB, free: 4.492 MB / 474.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6789, allocations: 0 / 0.6556 GB, free: 4.492 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)