Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.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.Validation.ThreeRoomsContamDiscretizedDoor,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Validation_ThreeRoomsContamDiscretizedDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor,fileNamePrefix="Buildings_8_Buildings_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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.409/1.409, allocations: 289.8 MB / 297.1 MB, free: 6.695 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.001035/0.001035, allocations: 181.3 kB / 366.3 MB, free: 1.988 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.103/1.103, allocations: 205.1 MB / 0.6256 GB, free: 5.844 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.0008361/0.0008362, allocations: 89.59 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2083/0.2092, allocations: 122.4 MB / 0.8591 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.454/0.6632, allocations: 116.3 MB / 0.9726 GB, free: 68.86 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.416/4.079, allocations: 2.1 GB / 3.073 GB, free: 354.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/4.079, allocations: 89.88 kB / 3.073 GB, free: 354.3 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: 726 * Number of variables: 726 Notification: Performance of Generate backend data structure: time 4.907/8.987, allocations: 1.643 GB / 4.715 GB, free: 111.9 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/8.987, allocations: 9.531 kB / 4.715 GB, free: 111.9 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006769/8.994, allocations: 0.8934 MB / 4.716 GB, free: 111.7 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005214/8.999, allocations: 1.874 MB / 4.718 GB, free: 111.2 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001567/8.999, allocations: 87.81 kB / 4.718 GB, free: 111.2 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001037/9, allocations: 176.4 kB / 4.718 GB, free: 111.2 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006888/9.007, allocations: 3.309 MB / 4.722 GB, free: 111.2 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006881/9.014, allocations: 3.197 MB / 4.725 GB, free: 110.9 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.972e-05/9.014, allocations: 16.66 kB / 4.725 GB, free: 110.9 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005053/9.014, allocations: 3.938 kB / 4.725 GB, free: 110.9 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001046/9.015, allocations: 126.9 kB / 4.725 GB, free: 110.8 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01785/9.032, allocations: 13.85 MB / 4.738 GB, free: 103.3 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004042/9.036, allocations: 2.825 MB / 4.741 GB, free: 103.2 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002345/9.039, allocations: 1.773 MB / 4.743 GB, free: 103.2 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001288/9.04, allocations: 1.591 MB / 4.744 GB, free: 101.5 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.115e-05/9.04, allocations: 67.19 kB / 4.745 GB, free: 101.4 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=285): time 4.749e-06/9.04, allocations: 0 / 4.745 GB, free: 101.4 MB / 0.9948 GB Notification: Performance of matching and sorting (n=285): time 0.007375/9.048, allocations: 3.222 MB / 4.748 GB, free: 101.2 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/9.048, allocations: 80.03 kB / 4.748 GB, free: 101.1 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002006/9.05, allocations: 0.9553 MB / 4.749 GB, free: 101 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002203/9.05, allocations: 27.67 kB / 4.749 GB, free: 101 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004972/9.05, allocations: 0.7658 MB / 4.749 GB, free: 100.5 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008758/9.051, allocations: 0.9196 MB / 4.75 GB, free: 99.89 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001743/9.052, allocations: 0.5938 kB / 4.75 GB, free: 99.89 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001785/9.052, allocations: 407 kB / 4.751 GB, free: 99.58 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001736/9.053, allocations: 1.165 MB / 4.752 GB, free: 99.57 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001943/9.055, allocations: 1.449 MB / 4.753 GB, free: 99.34 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003321/9.059, allocations: 1.582 MB / 4.755 GB, free: 99.29 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/9.059, allocations: 1.781 kB / 4.755 GB, free: 99.29 MB / 0.9948 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.006237/9.065, allocations: 3.243 MB / 4.758 GB, free: 99.06 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/9.065, allocations: 6.156 kB / 4.758 GB, free: 99.06 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/9.065, allocations: 6.312 kB / 4.758 GB, free: 99.05 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.535e-05/9.065, allocations: 14.62 kB / 4.758 GB, free: 99.05 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0025/9.068, allocations: 0.5288 MB / 4.759 GB, free: 99.02 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-05/9.068, allocations: 16.84 kB / 4.759 GB, free: 99.02 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003213/9.071, allocations: 278.9 kB / 4.759 GB, free: 98.93 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003407/9.071, allocations: 95.42 kB / 4.759 GB, free: 98.93 MB / 0.9948 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.0004714/9.072, allocations: 139.4 kB / 4.759 GB, free: 98.79 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007383/9.072, allocations: 212 kB / 4.759 GB, free: 98.68 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006638/9.079, allocations: 3.394 MB / 4.763 GB, free: 97.71 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.389e-05/9.079, allocations: 31.39 kB / 4.763 GB, free: 97.71 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.301e-05/9.079, allocations: 0 / 4.763 GB, free: 97.71 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004733/9.084, allocations: 2.84 MB / 4.765 GB, free: 96.74 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01292/9.097, allocations: 6.593 MB / 4.772 GB, free: 94.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/9.097, allocations: 9.562 kB / 4.772 GB, free: 94.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002907/9.1, allocations: 0.5756 MB / 4.772 GB, free: 94.05 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.028e-05/9.1, allocations: 13.38 kB / 4.772 GB, free: 94.05 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002477/9.1, allocations: 45.19 kB / 4.772 GB, free: 94.04 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-05/9.1, allocations: 11.75 kB / 4.772 GB, free: 94.04 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/9.1, allocations: 4.25 kB / 4.772 GB, free: 94.04 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008769/9.109, allocations: 5.423 MB / 4.778 GB, free: 90.92 MB / 0.9948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.011/9.12, allocations: 8.042 MB / 4.786 GB, free: 83.43 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002087/9.122, allocations: 0.6261 MB / 4.786 GB, free: 82.87 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007625/9.123, allocations: 6.625 kB / 4.786 GB, free: 82.87 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003066/9.126, allocations: 182.5 kB / 4.786 GB, free: 82.75 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003236/9.126, allocations: 147.6 kB / 4.787 GB, free: 82.66 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002688/9.127, allocations: 96.66 kB / 4.787 GB, free: 82.58 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.001689/9.128, allocations: 0.7352 MB / 4.787 GB, free: 81.91 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.006308/9.135, allocations: 1.739 MB / 4.789 GB, free: 80.2 MB / 0.9948 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.005963/9.141, allocations: 4.574 MB / 4.793 GB, free: 76.47 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.00423/9.145, allocations: 2.891 MB / 4.796 GB, free: 73.78 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/9.145, allocations: 4 kB / 4.796 GB, free: 73.77 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002024/9.147, allocations: 1.565 MB / 4.798 GB, free: 72.33 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005249/9.152, allocations: 0.9854 MB / 4.799 GB, free: 71.64 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01069/9.163, allocations: 5.492 MB / 4.804 GB, free: 67.37 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003296/9.166, allocations: 2.383 MB / 4.807 GB, free: 65.48 MB / 0.9948 GB Notification: Performance of SimCode: time 5.41e-07/9.166, allocations: 0 / 4.807 GB, free: 65.48 MB / 0.9948 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Validation_ThreeRoomsContamDiscretizedDoor_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Validation_ThreeRoomsContamDiscretizedDoor.fmu > Buildings_8_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe 2>&1)