Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.OneOpenDoor.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_OneOpenDoor",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.004298/0.004298, allocations: 184.8 kB / 7.463 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7347/0.7347, allocations: 133.5 MB / 141.4 MB, free: 15.69 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 221.3 MB / 395 MB, free: 10.22 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 101.5 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4352/0.4363, allocations: 88.43 MB / 0.5529 GB, free: 89.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.6033, allocations: 82.3 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.181/1.784, allocations: 421.9 MB / 1.045 GB, free: 212.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002916/1.785, allocations: 90.48 kB / 1.045 GB, free: 212 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.9807/2.765, allocations: 288.8 MB / 1.327 GB, free: 160 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/2.765, allocations: 11.69 kB / 1.327 GB, free: 160 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005355/2.766, allocations: 194.4 kB / 1.328 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002858/2.769, allocations: 1.384 MB / 1.329 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.477e-05/2.769, allocations: 48.62 kB / 1.329 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002016/2.769, allocations: 95.69 kB / 1.329 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003625/2.773, allocations: 2.266 MB / 1.331 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002661/2.775, allocations: 1.647 MB / 1.333 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.8e-05/2.775, allocations: 6.938 kB / 1.333 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00013/2.776, allocations: 3.125 kB / 1.333 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.001e-05/2.776, allocations: 36.09 kB / 1.333 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008553/2.784, allocations: 4.992 MB / 1.338 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001643/2.786, allocations: 1.169 MB / 1.339 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001908/2.788, allocations: 1.347 MB / 1.34 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001851/2.79, allocations: 1.733 MB / 1.342 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.528e-05/2.79, allocations: 62.03 kB / 1.342 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=237): time 4.739e-06/2.79, allocations: 0 / 1.342 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=237): time 0.005331/2.795, allocations: 2.446 MB / 1.344 GB, free: 154.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/2.795, allocations: 75.5 kB / 1.345 GB, free: 154.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/2.796, allocations: 0.6691 MB / 1.345 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001476/2.797, allocations: 25.7 kB / 1.345 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002198/2.797, allocations: 363.5 kB / 1.346 GB, free: 154 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006099/2.797, allocations: 0.7614 MB / 1.346 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/2.797, allocations: 0 / 1.346 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001349/2.798, allocations: 383.6 kB / 1.347 GB, free: 153 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00171/2.799, allocations: 0.843 MB / 1.347 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001965/2.801, allocations: 1.051 MB / 1.349 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003904/2.805, allocations: 1.302 MB / 1.35 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.333e-05/2.805, allocations: 0.875 kB / 1.35 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.007383/2.813, allocations: 2.545 MB / 1.352 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/2.813, allocations: 5.594 kB / 1.352 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.358e-05/2.813, allocations: 4.188 kB / 1.352 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.361e-05/2.813, allocations: 12.67 kB / 1.352 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002167/2.815, allocations: 446.9 kB / 1.353 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.926e-05/2.815, allocations: 13.06 kB / 1.353 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001869/2.817, allocations: 173.7 kB / 1.353 GB, free: 151 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003751/2.817, allocations: 75.47 kB / 1.353 GB, free: 151 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 261 * 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.0005441/2.818, allocations: 139.1 kB / 1.353 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000567/2.819, allocations: 141 kB / 1.353 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008112/2.827, allocations: 2.876 MB / 1.356 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.199e-05/2.827, allocations: 22.09 kB / 1.356 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.606e-05/2.827, allocations: 0.7031 kB / 1.356 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005654/2.832, allocations: 2.514 MB / 1.359 GB, free: 149 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01086/2.843, allocations: 4.239 MB / 1.363 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/2.843, allocations: 4.781 kB / 1.363 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002071/2.845, allocations: 408.4 kB / 1.363 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004835/2.846, allocations: 89 kB / 1.363 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002355/2.846, allocations: 22.41 kB / 1.363 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007557/2.847, allocations: 1.13 MB / 1.364 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/2.847, allocations: 4.562 kB / 1.364 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01042/2.857, allocations: 4.234 MB / 1.368 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01239/2.87, allocations: 6.123 MB / 1.374 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001387/2.871, allocations: 499.9 kB / 1.375 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005607/2.872, allocations: 0.6094 kB / 1.375 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001839/2.874, allocations: 76.47 kB / 1.375 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003704/2.874, allocations: 124.4 kB / 1.375 GB, free: 141 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002263/2.874, allocations: 70.05 kB / 1.375 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001023/2.875, allocations: 0.5249 MB / 1.376 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003935/2.879, allocations: 0.6844 MB / 1.376 GB, free: 139.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (237): * Single equations (assignments): 235 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001614/2.881, allocations: 0.5529 MB / 1.377 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004174/2.885, allocations: 2.197 MB / 1.379 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/2.885, allocations: 0 / 1.379 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002396/2.888, allocations: 1.238 MB / 1.38 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003233/2.891, allocations: 466.8 kB / 1.381 GB, free: 136 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007084/2.898, allocations: 3.178 MB / 1.384 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002065/2.9, allocations: 1.584 MB / 1.385 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of SimCode: time 1.884e-06/2.9, allocations: 3.656 kB / 1.385 GB, free: 132.1 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.OneOpenDoor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_OneOpenDoor_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_OneOpenDoor.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)