Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PressurizationData,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_PressurizationData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PressurizationData,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_PressurizationData",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 9.1.1-maint.9.1.x/package.mo): time 1.846/1.846, allocations: 387.2 MB / 394.5 MB, free: 13.71 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.0009963/0.0009963, allocations: 172.7 kB / 487 MB, free: 5.414 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.156/1.156, allocations: 221.3 MB / 0.7819 GB, free: 1.395 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000877/0.000877, allocations: 90.88 kB / 0.9213 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4389/0.4398, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.6313, allocations: 142.3 MB / 1.205 GB, free: 26.13 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.032/3.664, allocations: 1.954 GB / 3.159 GB, free: 351.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/3.664, allocations: 87.95 kB / 3.159 GB, free: 351.1 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 408 * Number of variables: 408 Notification: Performance of Generate backend data structure: time 1.383/5.047, allocations: 0.5704 GB / 3.73 GB, free: 208.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/5.047, allocations: 13 kB / 3.73 GB, free: 208.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003022/5.05, allocations: 0.5475 MB / 3.73 GB, free: 207.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001727/5.052, allocations: 1.187 MB / 3.732 GB, free: 206.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.446e-05/5.052, allocations: 48 kB / 3.732 GB, free: 206.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/5.052, allocations: 103.9 kB / 3.732 GB, free: 206.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002108/5.054, allocations: 1.646 MB / 3.733 GB, free: 204.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001974/5.056, allocations: 1.511 MB / 3.735 GB, free: 203.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.685e-05/5.056, allocations: 7.938 kB / 3.735 GB, free: 203.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/5.057, allocations: 4 kB / 3.735 GB, free: 203.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4e-05/5.057, allocations: 55.05 kB / 3.735 GB, free: 203.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006622/5.063, allocations: 6.133 MB / 3.741 GB, free: 196.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/5.065, allocations: 1.386 MB / 3.742 GB, free: 195.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006326/5.065, allocations: 0.5851 MB / 3.743 GB, free: 194.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005993/5.066, allocations: 0.784 MB / 3.744 GB, free: 193.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008361/5.067, allocations: 0.745 MB / 3.744 GB, free: 193.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=133): time 3.186e-06/5.067, allocations: 0 / 3.744 GB, free: 193.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=133): time 0.002877/5.07, allocations: 1.304 MB / 3.746 GB, free: 191.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.249e-05/5.07, allocations: 244.6 kB / 3.746 GB, free: 191.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009053/5.071, allocations: 0.8157 MB / 3.747 GB, free: 190.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.682e-05/5.071, allocations: 33.7 kB / 3.747 GB, free: 190.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000282/5.071, allocations: 0.5235 MB / 3.747 GB, free: 190.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000253/5.071, allocations: 437.4 kB / 3.748 GB, free: 189.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.822e-05/5.071, allocations: 0 / 3.748 GB, free: 189.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.824e-05/5.072, allocations: 349.9 kB / 3.748 GB, free: 189.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005236/5.072, allocations: 410.5 kB / 3.748 GB, free: 189 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006053/5.073, allocations: 0.5763 MB / 3.749 GB, free: 188.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007344/5.073, allocations: 0.5052 MB / 3.749 GB, free: 187.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/5.073, allocations: 4 kB / 3.749 GB, free: 187.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002243/5.076, allocations: 1.307 MB / 3.751 GB, free: 186.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/5.076, allocations: 4 kB / 3.751 GB, free: 186.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/5.076, allocations: 4 kB / 3.751 GB, free: 186.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007434/5.076, allocations: 142.5 kB / 3.751 GB, free: 186.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/5.078, allocations: 287.6 kB / 3.751 GB, free: 186.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002672/5.08, allocations: 4.009 MB / 3.755 GB, free: 181.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/5.082, allocations: 131.2 kB / 3.755 GB, free: 181.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.921e-05/5.082, allocations: 63.81 kB / 3.755 GB, free: 181.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 138 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002056/5.082, allocations: 120.7 kB / 3.755 GB, free: 181.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001827/5.082, allocations: 138.4 kB / 3.755 GB, free: 181.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002942/5.085, allocations: 1.607 MB / 3.757 GB, free: 179.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/5.085, allocations: 16 kB / 3.757 GB, free: 179.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/5.085, allocations: 4 kB / 3.757 GB, free: 179.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001958/5.087, allocations: 1.279 MB / 3.758 GB, free: 178.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00426/5.091, allocations: 3.069 MB / 3.761 GB, free: 175.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/5.091, allocations: 0 / 3.761 GB, free: 175.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001287/5.093, allocations: 295.6 kB / 3.761 GB, free: 174.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006271/5.093, allocations: 138.5 kB / 3.762 GB, free: 174.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.812e-05/5.093, allocations: 19.97 kB / 3.762 GB, free: 174.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002493/5.096, allocations: 4.052 MB / 3.766 GB, free: 170.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/5.096, allocations: 0 / 3.766 GB, free: 170.4 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003016/5.099, allocations: 2.157 MB / 3.768 GB, free: 168.2 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003939/5.103, allocations: 3.369 MB / 3.771 GB, free: 164.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006986/5.104, allocations: 426.8 kB / 3.771 GB, free: 164.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000216/5.104, allocations: 15.92 kB / 3.771 GB, free: 164.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/5.105, allocations: 103.8 kB / 3.771 GB, free: 164.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/5.105, allocations: 81.17 kB / 3.772 GB, free: 164.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/5.105, allocations: 59.88 kB / 3.772 GB, free: 164.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0006904/5.106, allocations: 0.6326 MB / 3.772 GB, free: 163.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00262/5.109, allocations: 0.9162 MB / 3.773 GB, free: 162.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (room.dynBal.medium.Xi[1],room.dynBal.U,room.dynBal.m,pow_1dat.mExc,pow_1dat1.mExc) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002321/5.111, allocations: 2.067 MB / 3.775 GB, free: 160.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001769/5.113, allocations: 1.415 MB / 3.777 GB, free: 159.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/5.113, allocations: 448 / 3.777 GB, free: 159.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/5.114, allocations: 0.9591 MB / 3.777 GB, free: 158.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002195/5.116, allocations: 0.528 MB / 3.778 GB, free: 157.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005413/5.121, allocations: 2.728 MB / 3.781 GB, free: 155 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00115/5.123, allocations: 1.588 MB / 3.782 GB, free: 153.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.022e-06/5.123, allocations: 0 / 3.782 GB, free: 153.4 MB / 1.151 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_PressurizationData_fmu --startTime=0 --stopTime=2.592e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_PressurizationData.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.Examples.PressurizationData_res.mat does not exist to compare? outputFormat=mat