Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ZonalFlow",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 10.0.0-master/package.mo): time 1.818/1.818, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.000978/0.0009777, allocations: 185.2 kB / 490.8 MB, free: 1.914 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.147/1.147, allocations: 221.4 MB / 0.7863 GB, free: 13.65 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008774/0.0008774, allocations: 91.05 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4322/0.4332, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.6164, allocations: 143 MB / 1.212 GB, free: 40.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.994/3.611, allocations: 1.922 GB / 3.134 GB, free: 415.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001864/3.611, allocations: 87.86 kB / 3.134 GB, free: 415.2 MB / 1.151 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: The standard says that initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition useDefaultProperties and initial(). Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 1.402/5.014, allocations: 0.6173 GB / 3.751 GB, free: 219.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 2.908e-05/5.014, allocations: 13.97 kB / 3.751 GB, free: 219.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00192/5.016, allocations: 365.7 kB / 3.752 GB, free: 218.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/5.017, allocations: 0.8762 MB / 3.752 GB, free: 217.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/5.017, allocations: 32 kB / 3.753 GB, free: 217.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/5.017, allocations: 60 kB / 3.753 GB, free: 217.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001283/5.018, allocations: 1.019 MB / 3.754 GB, free: 216.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/5.019, allocations: 0.9841 MB / 3.755 GB, free: 215.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/5.02, allocations: 0 / 3.755 GB, free: 215.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.422e-05/5.02, allocations: 4 kB / 3.755 GB, free: 215.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.457e-05/5.02, allocations: 65.97 kB / 3.755 GB, free: 215.7 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004713/5.024, allocations: 5.521 MB / 3.76 GB, free: 209.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009203/5.025, allocations: 0.8636 MB / 3.761 GB, free: 209 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005923/5.026, allocations: 0.5403 MB / 3.761 GB, free: 208.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 5.377e-05/5.026, allocations: 18.83 kB / 3.761 GB, free: 208.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005077/5.027, allocations: 486.9 kB / 3.762 GB, free: 207.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 2.535e-06/5.027, allocations: 0 / 3.762 GB, free: 207.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.001291/5.028, allocations: 0.831 MB / 3.763 GB, free: 207.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.803e-05/5.028, allocations: 60.06 kB / 3.763 GB, free: 207 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003792/5.028, allocations: 422.3 kB / 3.763 GB, free: 206.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.743e-05/5.028, allocations: 25.7 kB / 3.763 GB, free: 206.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/5.028, allocations: 375.5 kB / 3.763 GB, free: 206.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/5.029, allocations: 268.1 kB / 3.764 GB, free: 205.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/5.029, allocations: 0 / 3.764 GB, free: 205.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.375e-05/5.029, allocations: 378.8 kB / 3.764 GB, free: 205.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003563/5.029, allocations: 325.5 kB / 3.764 GB, free: 205.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003868/5.029, allocations: 441 kB / 3.765 GB, free: 204.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004263/5.03, allocations: 395 kB / 3.765 GB, free: 204.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/5.03, allocations: 4 kB / 3.765 GB, free: 204.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001013/5.031, allocations: 0.8855 MB / 3.766 GB, free: 203.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/5.031, allocations: 8 kB / 3.766 GB, free: 203.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/5.031, allocations: 0 / 3.766 GB, free: 203.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/5.031, allocations: 8 kB / 3.766 GB, free: 203.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006604/5.032, allocations: 164.1 kB / 3.766 GB, free: 203.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/5.032, allocations: 11.91 kB / 3.766 GB, free: 203.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009248/5.033, allocations: 143.2 kB / 3.766 GB, free: 203.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-05/5.033, allocations: 28 kB / 3.766 GB, free: 203.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.0001106/5.033, allocations: 116.8 kB / 3.767 GB, free: 203 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.285e-05/5.033, allocations: 75.16 kB / 3.767 GB, free: 202.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001679/5.033, allocations: 99.23 kB / 3.767 GB, free: 202.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/5.033, allocations: 8 kB / 3.767 GB, free: 202.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/5.033, allocations: 3.906 kB / 3.767 GB, free: 202.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008912/5.034, allocations: 1.076 MB / 3.768 GB, free: 201.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001959/5.036, allocations: 1.883 MB / 3.77 GB, free: 199.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/5.036, allocations: 0 / 3.77 GB, free: 199.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008393/5.037, allocations: 179.8 kB / 3.77 GB, free: 199.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/5.037, allocations: 0 / 3.77 GB, free: 199.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.054e-05/5.037, allocations: 8 kB / 3.77 GB, free: 199.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/5.037, allocations: 7.984 kB / 3.77 GB, free: 199.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/5.037, allocations: 3.938 kB / 3.77 GB, free: 199.5 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001274/5.038, allocations: 1.328 MB / 3.771 GB, free: 198.2 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002006/5.04, allocations: 2.323 MB / 3.773 GB, free: 195.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003217/5.04, allocations: 252 kB / 3.774 GB, free: 195.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/5.041, allocations: 7.906 kB / 3.774 GB, free: 195.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000771/5.041, allocations: 83.84 kB / 3.774 GB, free: 195.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.128e-05/5.041, allocations: 44.5 kB / 3.774 GB, free: 195.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.669e-05/5.042, allocations: 23.98 kB / 3.774 GB, free: 195.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.000275/5.042, allocations: 326.9 kB / 3.774 GB, free: 195.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001775/5.044, allocations: 0.6435 MB / 3.775 GB, free: 194.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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.001522/5.045, allocations: 1.817 MB / 3.776 GB, free: 192.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008154/5.046, allocations: 0.7956 MB / 3.777 GB, free: 192 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/5.046, allocations: 3.938 kB / 3.777 GB, free: 192 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003933/5.046, allocations: 426.3 kB / 3.778 GB, free: 191.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001831/5.048, allocations: 474 kB / 3.778 GB, free: 191.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002383/5.051, allocations: 1.825 MB / 3.78 GB, free: 189.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007167/5.051, allocations: 1.256 MB / 3.781 GB, free: 187.9 MB / 1.151 GB Notification: Performance of SimCode: time 2.91e-07/5.051, allocations: 0 / 3.781 GB, free: 187.9 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat does not exist to compare? outputFormat=mat