Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_ThreeRoomsContamDiscretizedDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_ThreeRoomsContamDiscretizedDoor",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/BuildingSystems 2.0.0-master/package.mo): time 0.7733/0.7733, allocations: 141.8 MB / 149.1 MB, free: 1.324 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001077, allocations: 189.2 kB / 181.9 MB, free: 0.668 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 221.4 MB / 436 MB, free: 5.41 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 115.7 kB / 0.507 GB, free: 2.078 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002041/0.002041, allocations: 276.3 kB / 0.5885 GB, free: 47.21 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 0.4568/0.4589, allocations: 89.62 MB / 0.676 GB, free: 59.49 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.6493, allocations: 82.78 MB / 0.7568 GB, free: 0.5859 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.389/5.038, allocations: 1.906 GB / 2.662 GB, free: 164 MB / 0.7138 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/5.039, allocations: 94.64 kB / 2.662 GB, free: 164 MB / 0.7138 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 726 * Number of variables: 726 Notification: Performance of Generate backend data structure: time 6.067/11.11, allocations: 1.664 GB / 4.327 GB, free: 63.58 MB / 0.7607 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/11.11, allocations: 12.09 kB / 4.327 GB, free: 63.58 MB / 0.7607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007481/11.11, allocations: 0.9005 MB / 4.328 GB, free: 63.41 MB / 0.7607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006401/11.12, allocations: 1.873 MB / 4.329 GB, free: 62.94 MB / 0.7607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002093/11.12, allocations: 88.66 kB / 4.33 GB, free: 62.94 MB / 0.7607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001347/11.12, allocations: 173.8 kB / 4.33 GB, free: 62.94 MB / 0.7607 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007973/11.13, allocations: 3.307 MB / 4.333 GB, free: 62.93 MB / 0.7607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009854/11.14, allocations: 3.2 MB / 4.336 GB, free: 62.62 MB / 0.7607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001486/11.14, allocations: 10.94 kB / 4.336 GB, free: 62.61 MB / 0.7607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007997/11.14, allocations: 2.562 kB / 4.336 GB, free: 62.61 MB / 0.7607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001404/11.14, allocations: 129.8 kB / 4.336 GB, free: 62.61 MB / 0.7607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02512/11.17, allocations: 13.88 MB / 4.35 GB, free: 55.17 MB / 0.7607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00516/11.17, allocations: 2.811 MB / 4.352 GB, free: 55.1 MB / 0.7607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002901/11.17, allocations: 1.777 MB / 4.354 GB, free: 55.07 MB / 0.7607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001629/11.18, allocations: 1.593 MB / 4.356 GB, free: 53.38 MB / 0.7607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.275e-05/11.18, allocations: 62.19 kB / 4.356 GB, free: 53.34 MB / 0.7607 GB Notification: Performance of pre-optimization done (n=285): time 5.23e-06/11.18, allocations: 0 / 4.356 GB, free: 53.34 MB / 0.7607 GB Notification: Performance of matching and sorting (n=285): time 0.01007/11.19, allocations: 3.22 MB / 4.359 GB, free: 53.12 MB / 0.7607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/11.19, allocations: 83.94 kB / 4.359 GB, free: 53.05 MB / 0.7607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002322/11.19, allocations: 0.9543 MB / 4.36 GB, free: 52.9 MB / 0.7607 GB Notification: Performance of collectPreVariables (initialization): time 0.0004201/11.19, allocations: 25.7 kB / 4.36 GB, free: 52.87 MB / 0.7607 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005277/11.19, allocations: 0.7524 MB / 4.361 GB, free: 52.44 MB / 0.7607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001235/11.19, allocations: 0.9327 MB / 4.362 GB, free: 51.8 MB / 0.7607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002669/11.19, allocations: 2.844 kB / 4.362 GB, free: 51.8 MB / 0.7607 GB Notification: Performance of setup shared object (initialization): time 0.0002467/11.19, allocations: 404.4 kB / 4.362 GB, free: 51.5 MB / 0.7607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002049/11.19, allocations: 1.159 MB / 4.363 GB, free: 51.49 MB / 0.7607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002304/11.2, allocations: 1.446 MB / 4.365 GB, free: 51.26 MB / 0.7607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003664/11.2, allocations: 1.584 MB / 4.366 GB, free: 51.21 MB / 0.7607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.445e-05/11.2, allocations: 3.594 kB / 4.366 GB, free: 51.21 MB / 0.7607 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.007025/11.21, allocations: 3.25 MB / 4.369 GB, free: 50.99 MB / 0.7607 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/11.21, allocations: 7.469 kB / 4.369 GB, free: 50.99 MB / 0.7607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.022e-05/11.21, allocations: 6.469 kB / 4.369 GB, free: 50.99 MB / 0.7607 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.353e-05/11.21, allocations: 15.94 kB / 4.369 GB, free: 50.99 MB / 0.7607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002608/11.21, allocations: 0.5259 MB / 4.37 GB, free: 50.99 MB / 0.7607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.624e-05/11.21, allocations: 18.12 kB / 4.37 GB, free: 50.99 MB / 0.7607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003405/11.21, allocations: 281.6 kB / 4.37 GB, free: 50.89 MB / 0.7607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003766/11.21, allocations: 92.97 kB / 4.37 GB, free: 50.89 MB / 0.7607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (312): * Single equations (assignments): 312 * 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.0005738/11.21, allocations: 144 kB / 4.37 GB, free: 50.79 MB / 0.7607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008982/11.21, allocations: 211.5 kB / 4.371 GB, free: 50.68 MB / 0.7607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007493/11.22, allocations: 3.385 MB / 4.374 GB, free: 50.53 MB / 0.7607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.73e-05/11.22, allocations: 30.5 kB / 4.374 GB, free: 50.53 MB / 0.7607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.696e-05/11.22, allocations: 0 / 4.374 GB, free: 50.53 MB / 0.7607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005098/11.23, allocations: 2.839 MB / 4.377 GB, free: 50.38 MB / 0.7607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01448/11.24, allocations: 6.591 MB / 4.383 GB, free: 49.67 MB / 0.7607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.948e-05/11.24, allocations: 5.281 kB / 4.383 GB, free: 49.67 MB / 0.7607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003083/11.24, allocations: 0.5767 MB / 4.384 GB, free: 49.67 MB / 0.7607 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.087e-05/11.24, allocations: 12.94 kB / 4.384 GB, free: 49.67 MB / 0.7607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003262/11.24, allocations: 43.56 kB / 4.384 GB, free: 49.67 MB / 0.7607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.074e-05/11.24, allocations: 19.12 kB / 4.384 GB, free: 49.67 MB / 0.7607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/11.24, allocations: 0 / 4.384 GB, free: 49.67 MB / 0.7607 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009078/11.25, allocations: 5.426 MB / 4.389 GB, free: 48.98 MB / 0.7607 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01213/11.27, allocations: 8.038 MB / 4.397 GB, free: 47.89 MB / 0.7607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002141/11.27, allocations: 0.6246 MB / 4.397 GB, free: 47.65 MB / 0.7607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009979/11.27, allocations: 9.688 kB / 4.398 GB, free: 47.65 MB / 0.7607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003405/11.27, allocations: 177.6 kB / 4.398 GB, free: 47.63 MB / 0.7607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003053/11.27, allocations: 153.3 kB / 4.398 GB, free: 47.62 MB / 0.7607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002865/11.27, allocations: 91.98 kB / 4.398 GB, free: 47.62 MB / 0.7607 GB Notification: Performance of sort global known variables: time 0.001693/11.28, allocations: 0.734 MB / 4.399 GB, free: 47.52 MB / 0.7607 GB Notification: Performance of remove unused functions: time 0.006871/11.28, allocations: 1.741 MB / 4.4 GB, free: 47.38 MB / 0.7607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1],volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volTop.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (285): * Single equations (assignments): 285 * 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.007106/11.29, allocations: 4.586 MB / 4.405 GB, free: 45.48 MB / 0.7607 GB Notification: Performance of simCode: created initialization part: time 0.005638/11.29, allocations: 2.899 MB / 4.408 GB, free: 45.42 MB / 0.7607 GB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/11.29, allocations: 3.25 kB / 4.408 GB, free: 45.42 MB / 0.7607 GB Notification: Performance of simCode: created simulation system equations: time 0.002607/11.3, allocations: 1.561 MB / 4.409 GB, free: 45.41 MB / 0.7607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00612/11.3, allocations: 0.9942 MB / 4.41 GB, free: 45.38 MB / 0.7607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0163/11.32, allocations: 5.503 MB / 4.416 GB, free: 44.34 MB / 0.7607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004796/11.32, allocations: 2.381 MB / 4.418 GB, free: 43.57 MB / 0.7607 GB Notification: Performance of SimCode: time 1.372e-06/11.32, allocations: 0 / 4.418 GB, free: 43.57 MB / 0.7607 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_ThreeRoomsContamDiscretizedDoor_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_ThreeRoomsContamDiscretizedDoor.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe 2>&1)