Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.ThreeRoomsContam,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.ThreeRoomsContam,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam",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 7.0.3-maint.7.0.x/package.mo): time 1.29/1.29, allocations: 249.4 MB / 256.7 MB, free: 7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 181 kB / 316 MB, free: 3.543 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.253/1.253, allocations: 205.1 MB / 0.5667 GB, free: 15.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008663/0.0008663, allocations: 98.19 kB / 0.671 GB, free: 4.711 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3771/0.378, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.5628, allocations: 106.3 MB / 0.8846 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.913/4.476, allocations: 2.211 GB / 3.096 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/4.476, allocations: 83.95 kB / 3.096 GB, free: 192.1 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 732 * Number of variables: 732 Notification: Performance of Generate backend data structure: time 5.342/9.818, allocations: 1.596 GB / 4.692 GB, free: 99.13 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/9.818, allocations: 10.97 kB / 4.692 GB, free: 99.13 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006238/9.824, allocations: 0.9022 MB / 4.693 GB, free: 98.95 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004313/9.829, allocations: 1.884 MB / 4.695 GB, free: 98.63 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.348e-05/9.829, allocations: 91.69 kB / 4.695 GB, free: 98.63 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003719/9.829, allocations: 177.7 kB / 4.695 GB, free: 98.63 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00528/9.834, allocations: 3.318 MB / 4.699 GB, free: 98.61 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004707/9.839, allocations: 3.216 MB / 4.702 GB, free: 98.31 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.946e-05/9.839, allocations: 10.22 kB / 4.702 GB, free: 98.3 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002493/9.839, allocations: 7.812 kB / 4.702 GB, free: 98.3 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-05/9.839, allocations: 132.8 kB / 4.702 GB, free: 98.3 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01728/9.857, allocations: 13.88 MB / 4.715 GB, free: 90.98 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003633/9.86, allocations: 2.829 MB / 4.718 GB, free: 90.92 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002148/9.863, allocations: 1.757 MB / 4.72 GB, free: 90.89 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001274/9.864, allocations: 1.598 MB / 4.721 GB, free: 89.2 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/9.864, allocations: 67.59 kB / 4.721 GB, free: 89.15 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=285): time 5.781e-06/9.864, allocations: 0 / 4.721 GB, free: 89.15 MB / 0.9323 GB Notification: Performance of matching and sorting (n=285): time 0.006916/9.871, allocations: 3.21 MB / 4.725 GB, free: 88.93 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/9.871, allocations: 80.94 kB / 4.725 GB, free: 88.86 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/9.872, allocations: 0.9756 MB / 4.726 GB, free: 88.71 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001814/9.872, allocations: 25.7 kB / 4.726 GB, free: 88.68 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004173/9.873, allocations: 0.7625 MB / 4.726 GB, free: 88.37 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000808/9.874, allocations: 0.9295 MB / 4.727 GB, free: 87.74 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/9.874, allocations: 2.953 kB / 4.727 GB, free: 87.74 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001627/9.874, allocations: 403.5 kB / 4.728 GB, free: 87.44 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001521/9.875, allocations: 1.158 MB / 4.729 GB, free: 87.43 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001699/9.877, allocations: 1.437 MB / 4.73 GB, free: 87.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002923/9.88, allocations: 1.578 MB / 4.732 GB, free: 87.16 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.595e-06/9.88, allocations: 2.062 kB / 4.732 GB, free: 87.16 MB / 0.9323 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.005394/9.886, allocations: 3.236 MB / 4.735 GB, free: 86.94 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/9.886, allocations: 3.406 kB / 4.735 GB, free: 86.94 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/9.886, allocations: 9.156 kB / 4.735 GB, free: 86.94 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.331e-05/9.886, allocations: 17.98 kB / 4.735 GB, free: 86.94 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002394/9.888, allocations: 0.5305 MB / 4.735 GB, free: 86.94 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.839e-05/9.888, allocations: 12.72 kB / 4.736 GB, free: 86.94 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003045/9.891, allocations: 281.5 kB / 4.736 GB, free: 86.84 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002414/9.891, allocations: 93.8 kB / 4.736 GB, free: 86.84 MB / 0.9323 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.0005625/9.892, allocations: 139.7 kB / 4.736 GB, free: 86.73 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007225/9.893, allocations: 215.5 kB / 4.736 GB, free: 86.62 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008328/9.901, allocations: 3.38 MB / 4.739 GB, free: 86.47 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.893e-05/9.901, allocations: 27.94 kB / 4.74 GB, free: 86.47 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.392e-05/9.901, allocations: 0 / 4.74 GB, free: 86.47 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006091/9.907, allocations: 2.823 MB / 4.742 GB, free: 86.32 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01552/9.923, allocations: 6.602 MB / 4.749 GB, free: 85.61 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/9.923, allocations: 0 / 4.749 GB, free: 85.61 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002782/9.926, allocations: 0.5756 MB / 4.749 GB, free: 85.61 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.843e-05/9.926, allocations: 15.08 kB / 4.749 GB, free: 85.61 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002418/9.926, allocations: 38.3 kB / 4.749 GB, free: 85.61 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-05/9.926, allocations: 13.66 kB / 4.749 GB, free: 85.61 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/9.926, allocations: 6.562 kB / 4.749 GB, free: 85.61 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0081/9.934, allocations: 5.411 MB / 4.755 GB, free: 84.91 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01108/9.945, allocations: 8.006 MB / 4.762 GB, free: 83.83 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002038/9.947, allocations: 0.633 MB / 4.763 GB, free: 83.59 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007575/9.948, allocations: 17.61 kB / 4.763 GB, free: 83.59 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003038/9.951, allocations: 185.8 kB / 4.763 GB, free: 83.57 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002697/9.951, allocations: 143.7 kB / 4.763 GB, free: 83.57 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002702/9.952, allocations: 91.09 kB / 4.764 GB, free: 83.57 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001544/9.953, allocations: 0.7488 MB / 4.764 GB, free: 83.46 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.006333/9.96, allocations: 1.75 MB / 4.766 GB, free: 83.32 MB / 0.9323 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.006858/9.967, allocations: 4.576 MB / 4.77 GB, free: 81.42 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00471/9.971, allocations: 2.885 MB / 4.773 GB, free: 81.36 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.946e-06/9.971, allocations: 3.781 kB / 4.773 GB, free: 81.36 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002336/9.974, allocations: 1.555 MB / 4.775 GB, free: 81.35 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005796/9.979, allocations: 0.9832 MB / 4.776 GB, free: 81.32 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01244/9.992, allocations: 5.532 MB / 4.781 GB, free: 80.27 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004049/9.996, allocations: 2.392 MB / 4.783 GB, free: 79.51 MB / 0.9323 GB Notification: Performance of SimCode: time 1.202e-06/9.996, allocations: 0 / 4.783 GB, free: 79.51 MB / 0.9323 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe 2>&1)