Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.PressurizationData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PressurizationData,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_PressurizationData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PressurizationData,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.793/1.793, allocations: 390.4 MB / 397.7 MB, free: 11.28 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.001081/0.001081, allocations: 173.3 kB / 490.8 MB, free: 1.965 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.177/1.177, allocations: 221.3 MB / 0.7863 GB, free: 13.71 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009784/0.0009784, allocations: 91.34 kB / 0.9264 GB, free: 14.24 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4505/0.4515, allocations: 149.1 MB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.641, allocations: 143 MB / 1.212 GB, free: 40.08 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.195/3.836, allocations: 1.955 GB / 3.166 GB, free: 318.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/3.836, allocations: 90.83 kB / 3.167 GB, free: 318.8 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.353/5.189, allocations: 0.5704 GB / 3.737 GB, free: 189.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/5.189, allocations: 8 kB / 3.737 GB, free: 189.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003077/5.192, allocations: 0.5408 MB / 3.738 GB, free: 188.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001834/5.194, allocations: 1.187 MB / 3.739 GB, free: 187.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.139e-05/5.194, allocations: 63.88 kB / 3.739 GB, free: 187.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001668/5.194, allocations: 92 kB / 3.739 GB, free: 187.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002303/5.197, allocations: 1.646 MB / 3.74 GB, free: 185.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002052/5.199, allocations: 1.519 MB / 3.742 GB, free: 184 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.665e-05/5.199, allocations: 7.875 kB / 3.742 GB, free: 184 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001252/5.199, allocations: 4 kB / 3.742 GB, free: 184 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.256e-05/5.199, allocations: 55.05 kB / 3.742 GB, free: 183.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006195/5.205, allocations: 6.143 MB / 3.748 GB, free: 177.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/5.207, allocations: 1.383 MB / 3.749 GB, free: 176.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006455/5.207, allocations: 0.5774 MB / 3.75 GB, free: 175.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005742/5.208, allocations: 0.788 MB / 3.751 GB, free: 174.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008567/5.209, allocations: 0.7372 MB / 3.751 GB, free: 173.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=133): time 3.016e-06/5.209, allocations: 0 / 3.751 GB, free: 173.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=133): time 0.002797/5.212, allocations: 1.311 MB / 3.753 GB, free: 172.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/5.212, allocations: 248.6 kB / 3.753 GB, free: 172.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008857/5.213, allocations: 0.8157 MB / 3.754 GB, free: 171.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.151e-05/5.213, allocations: 25.7 kB / 3.754 GB, free: 171.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000231/5.213, allocations: 0.5274 MB / 3.754 GB, free: 170.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002355/5.213, allocations: 437.4 kB / 3.755 GB, free: 170.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.491e-05/5.213, allocations: 0 / 3.755 GB, free: 170.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.778e-05/5.213, allocations: 349.9 kB / 3.755 GB, free: 170 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005279/5.214, allocations: 410.5 kB / 3.755 GB, free: 169.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005992/5.214, allocations: 0.5763 MB / 3.756 GB, free: 169 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007468/5.215, allocations: 0.5051 MB / 3.756 GB, free: 168.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/5.215, allocations: 0 / 3.756 GB, free: 168.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002291/5.217, allocations: 1.308 MB / 3.758 GB, free: 167.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/5.217, allocations: 4 kB / 3.758 GB, free: 167.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/5.217, allocations: 4 kB / 3.758 GB, free: 167.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007268/5.218, allocations: 142.5 kB / 3.758 GB, free: 167 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/5.219, allocations: 279.6 kB / 3.758 GB, free: 166.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002689/5.222, allocations: 4.02 MB / 3.762 GB, free: 162.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/5.223, allocations: 142.9 kB / 3.762 GB, free: 162.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.667e-05/5.223, allocations: 47.97 kB / 3.762 GB, free: 162.2 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.0002123/5.224, allocations: 128.8 kB / 3.762 GB, free: 162.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001824/5.224, allocations: 138.3 kB / 3.762 GB, free: 161.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002999/5.227, allocations: 1.605 MB / 3.764 GB, free: 160.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/5.227, allocations: 12 kB / 3.764 GB, free: 160.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/5.227, allocations: 4 kB / 3.764 GB, free: 160.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002024/5.229, allocations: 1.276 MB / 3.765 GB, free: 159 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004425/5.233, allocations: 3.069 MB / 3.768 GB, free: 155.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/5.233, allocations: 0 / 3.768 GB, free: 155.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001308/5.235, allocations: 291.6 kB / 3.769 GB, free: 155.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006381/5.235, allocations: 146.4 kB / 3.769 GB, free: 155.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.801e-05/5.235, allocations: 23.98 kB / 3.769 GB, free: 155.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002549/5.238, allocations: 4.039 MB / 3.773 GB, free: 151 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/5.238, allocations: 4 kB / 3.773 GB, free: 151 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002988/5.241, allocations: 2.165 MB / 3.775 GB, free: 148.8 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003999/5.245, allocations: 3.373 MB / 3.778 GB, free: 145.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006446/5.246, allocations: 430.8 kB / 3.779 GB, free: 145 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002099/5.246, allocations: 4 kB / 3.779 GB, free: 145 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/5.247, allocations: 103.8 kB / 3.779 GB, free: 144.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/5.247, allocations: 89.08 kB / 3.779 GB, free: 144.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001154/5.247, allocations: 55.97 kB / 3.779 GB, free: 144.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0007101/5.248, allocations: 0.6326 MB / 3.779 GB, free: 144.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002493/5.251, allocations: 0.9161 MB / 3.78 GB, free: 143.2 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.002414/5.253, allocations: 2.065 MB / 3.782 GB, free: 141.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001818/5.255, allocations: 1.413 MB / 3.784 GB, free: 139.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/5.255, allocations: 4.438 kB / 3.784 GB, free: 139.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001021/5.256, allocations: 0.9484 MB / 3.785 GB, free: 139 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002169/5.258, allocations: 0.528 MB / 3.785 GB, free: 138.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00528/5.263, allocations: 2.728 MB / 3.788 GB, free: 135.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001145/5.264, allocations: 1.584 MB / 3.789 GB, free: 134.1 MB / 1.151 GB Notification: Performance of SimCode: time 6.52e-07/5.264, allocations: 0 / 3.789 GB, free: 134.1 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PressurizationData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.PressurizationData_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_PressurizationData_fmu --startTime=0 --stopTime=2.592e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_PressurizationData.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Examples.PressurizationData_res.mat does not exist to compare? outputFormat=mat