Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea",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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.392/1.392, allocations: 289.8 MB / 297.1 MB, free: 6.637 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.0009895/0.0009895, allocations: 181.3 kB / 366.3 MB, free: 1.984 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.157/1.157, allocations: 205.1 MB / 0.6256 GB, free: 5.82 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.001065/0.001065, allocations: 76.12 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2569/0.258, allocations: 122.4 MB / 0.8591 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5673/0.8254, allocations: 116.3 MB / 0.9726 GB, free: 68.16 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.328/4.154, allocations: 2.075 GB / 3.047 GB, free: 0.9258 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002032/4.154, allocations: 79.95 kB / 3.048 GB, free: 0.8477 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 1.576/5.73, allocations: 468.8 MB / 3.505 GB, free: 246.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/5.73, allocations: 10.22 kB / 3.505 GB, free: 246.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002403/5.732, allocations: 335.3 kB / 3.506 GB, free: 246.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001894/5.734, allocations: 0.7712 MB / 3.506 GB, free: 246 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.872e-05/5.734, allocations: 27.44 kB / 3.507 GB, free: 246 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/5.734, allocations: 44.38 kB / 3.507 GB, free: 246 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009833/5.735, allocations: 0.5398 MB / 3.507 GB, free: 246 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/5.736, allocations: 0.6578 MB / 3.508 GB, free: 245.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/5.736, allocations: 6.953 kB / 3.508 GB, free: 245.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.718e-05/5.736, allocations: 0 / 3.508 GB, free: 245.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.916e-05/5.737, allocations: 25.91 kB / 3.508 GB, free: 245.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003693/5.74, allocations: 3.302 MB / 3.511 GB, free: 244 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006973/5.741, allocations: 472.9 kB / 3.511 GB, free: 244 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003032/5.741, allocations: 250.7 kB / 3.512 GB, free: 244 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005065/5.742, allocations: 0.6834 MB / 3.512 GB, free: 243.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/5.742, allocations: 40.66 kB / 3.512 GB, free: 243.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=51): time 2.394e-06/5.742, allocations: 0 / 3.512 GB, free: 243.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=51): time 0.001298/5.743, allocations: 0.5172 MB / 3.513 GB, free: 243.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.208e-05/5.743, allocations: 58.53 kB / 3.513 GB, free: 243.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004883/5.744, allocations: 458.9 kB / 3.513 GB, free: 242.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.91e-05/5.744, allocations: 29.61 kB / 3.513 GB, free: 242.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/5.744, allocations: 289.9 kB / 3.514 GB, free: 242.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/5.744, allocations: 171.8 kB / 3.514 GB, free: 242.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.377e-05/5.744, allocations: 7.219 kB / 3.514 GB, free: 242.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.364e-05/5.744, allocations: 373.9 kB / 3.514 GB, free: 242.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/5.744, allocations: 181.3 kB / 3.514 GB, free: 242.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002861/5.745, allocations: 260.8 kB / 3.515 GB, free: 242.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003125/5.745, allocations: 222.1 kB / 3.515 GB, free: 242.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/5.745, allocations: 0 / 3.515 GB, free: 242.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007322/5.746, allocations: 0.5314 MB / 3.515 GB, free: 242.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/5.746, allocations: 10.02 kB / 3.515 GB, free: 242.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/5.746, allocations: 3.594 kB / 3.515 GB, free: 242.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/5.746, allocations: 3.188 kB / 3.515 GB, free: 242.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005249/5.746, allocations: 114.7 kB / 3.515 GB, free: 242.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/5.746, allocations: 13.23 kB / 3.516 GB, free: 242.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008185/5.747, allocations: 69.22 kB / 3.516 GB, free: 242.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.559e-05/5.747, allocations: 18.33 kB / 3.516 GB, free: 242.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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.0001002/5.747, allocations: 115.2 kB / 3.516 GB, free: 242.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/5.747, allocations: 70.31 kB / 3.516 GB, free: 242 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007403/5.748, allocations: 0.5175 MB / 3.516 GB, free: 242 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/5.748, allocations: 5.984 kB / 3.516 GB, free: 242 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/5.748, allocations: 7.312 kB / 3.516 GB, free: 242 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005771/5.749, allocations: 0.7337 MB / 3.517 GB, free: 241.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001894/5.751, allocations: 1.375 MB / 3.518 GB, free: 241.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/5.751, allocations: 0 / 3.518 GB, free: 241.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007574/5.752, allocations: 143.9 kB / 3.518 GB, free: 241.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.044e-05/5.752, allocations: 7.125 kB / 3.518 GB, free: 241.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.625e-05/5.752, allocations: 3.625 kB / 3.518 GB, free: 241.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/5.752, allocations: 3.719 kB / 3.518 GB, free: 241.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/5.752, allocations: 3.719 kB / 3.518 GB, free: 241.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001084/5.753, allocations: 0.9363 MB / 3.519 GB, free: 241 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001549/5.754, allocations: 1.663 MB / 3.521 GB, free: 240.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003689/5.755, allocations: 210.8 kB / 3.521 GB, free: 240.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/5.755, allocations: 3.625 kB / 3.521 GB, free: 240.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007687/5.756, allocations: 50.22 kB / 3.521 GB, free: 240.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.435e-05/5.756, allocations: 30.42 kB / 3.521 GB, free: 240.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.935e-05/5.756, allocations: 22.47 kB / 3.521 GB, free: 240.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003653/5.756, allocations: 363.5 kB / 3.522 GB, free: 240.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001885/5.758, allocations: 487.1 kB / 3.522 GB, free: 240.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],volB.dynBal.U,volB.dynBal.m,volB.dynBal.mXi[1],cra.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 51 * 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.002107/5.76, allocations: 1.384 MB / 3.524 GB, free: 239.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008556/5.761, allocations: 447.4 kB / 3.524 GB, free: 239.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/5.761, allocations: 0.7812 kB / 3.524 GB, free: 239.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004062/5.761, allocations: 248.3 kB / 3.524 GB, free: 239.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001944/5.763, allocations: 414.1 kB / 3.525 GB, free: 239.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002399/5.766, allocations: 1.435 MB / 3.526 GB, free: 239.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006967/5.766, allocations: 1.12 MB / 3.527 GB, free: 238.4 MB / 0.948 GB Notification: Performance of SimCode: time 4.2e-07/5.766, allocations: 2.812 kB / 3.527 GB, free: 238.4 MB / 0.948 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe 2>&1)