Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.TrickleVent.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.TrickleVent,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_TrickleVent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.TrickleVent,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_TrickleVent",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.842/1.842, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.0009658/0.0009658, allocations: 185.2 kB / 487 MB, free: 5.34 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.181/1.181, allocations: 221.3 MB / 0.7819 GB, free: 1.336 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.0008253/0.0008254, allocations: 96.36 kB / 0.9213 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.46/0.4609, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.67, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.281/3.951, allocations: 1.958 GB / 3.164 GB, free: 366.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/3.951, allocations: 91.83 kB / 3.164 GB, free: 366.7 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: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 1.391/5.342, allocations: 0.5795 GB / 3.743 GB, free: 211.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/5.343, allocations: 12 kB / 3.743 GB, free: 211.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0032/5.346, allocations: 0.5784 MB / 3.744 GB, free: 211.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002818/5.349, allocations: 1.959 MB / 3.746 GB, free: 209.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.405e-05/5.349, allocations: 56 kB / 3.746 GB, free: 209.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001766/5.349, allocations: 104 kB / 3.746 GB, free: 209 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002432/5.351, allocations: 1.857 MB / 3.748 GB, free: 207.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002169/5.353, allocations: 1.681 MB / 3.749 GB, free: 205.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.601e-05/5.353, allocations: 0 / 3.749 GB, free: 205.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001395/5.354, allocations: 4 kB / 3.749 GB, free: 205.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-05/5.354, allocations: 67.3 kB / 3.749 GB, free: 205.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008647/5.362, allocations: 7.641 MB / 3.757 GB, free: 197.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001987/5.364, allocations: 1.669 MB / 3.758 GB, free: 195.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007175/5.365, allocations: 0.6696 MB / 3.759 GB, free: 195.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005957/5.366, allocations: 0.8055 MB / 3.76 GB, free: 194.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009478/5.367, allocations: 0.8503 MB / 3.761 GB, free: 193.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=142): time 3.005e-06/5.367, allocations: 0 / 3.761 GB, free: 193.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=142): time 0.00307/5.37, allocations: 1.529 MB / 3.762 GB, free: 191.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/5.37, allocations: 274.3 kB / 3.762 GB, free: 191.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001928/5.372, allocations: 1.777 MB / 3.764 GB, free: 189.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001206/5.372, allocations: 33.7 kB / 3.764 GB, free: 189.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003347/5.372, allocations: 0.5918 MB / 3.765 GB, free: 188.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002745/5.372, allocations: 464.9 kB / 3.765 GB, free: 188.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.4e-05/5.373, allocations: 0 / 3.765 GB, free: 188.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.161e-05/5.373, allocations: 353.9 kB / 3.766 GB, free: 188.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005961/5.373, allocations: 494.5 kB / 3.766 GB, free: 187.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006782/5.374, allocations: 0.6545 MB / 3.767 GB, free: 186.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008531/5.375, allocations: 0.595 MB / 3.767 GB, free: 186.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/5.375, allocations: 0 / 3.767 GB, free: 186.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002601/5.377, allocations: 1.522 MB / 3.769 GB, free: 184.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001076/5.377, allocations: 0.6335 MB / 3.769 GB, free: 184.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/5.378, allocations: 4 kB / 3.769 GB, free: 184.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007469/5.378, allocations: 138.5 kB / 3.77 GB, free: 184 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/5.38, allocations: 311.6 kB / 3.77 GB, free: 183.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002711/5.382, allocations: 4.021 MB / 3.774 GB, free: 179.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/5.384, allocations: 151 kB / 3.774 GB, free: 179.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/5.384, allocations: 59.97 kB / 3.774 GB, free: 179.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 6.663e-06/5.384, allocations: 10.91 kB / 3.774 GB, free: 179.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002411/5.386, allocations: 1.323 MB / 3.775 GB, free: 177.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/5.386, allocations: 7.844 kB / 3.775 GB, free: 177.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006796/5.387, allocations: 142.5 kB / 3.775 GB, free: 177.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/5.388, allocations: 295.6 kB / 3.776 GB, free: 177.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002533/5.391, allocations: 4.02 MB / 3.78 GB, free: 172.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/5.392, allocations: 139.1 kB / 3.78 GB, free: 172.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/5.393, allocations: 59.97 kB / 3.78 GB, free: 172.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (149): * Single equations (assignments): 146 * 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.000259/5.393, allocations: 132.7 kB / 3.78 GB, free: 172.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002619/5.393, allocations: 173.8 kB / 3.78 GB, free: 172.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003383/5.396, allocations: 1.878 MB / 3.782 GB, free: 170.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/5.396, allocations: 12 kB / 3.782 GB, free: 170.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/5.397, allocations: 11.89 kB / 3.782 GB, free: 170.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002164/5.399, allocations: 1.448 MB / 3.783 GB, free: 169 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005157/5.404, allocations: 3.669 MB / 3.787 GB, free: 165.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/5.404, allocations: 0 / 3.787 GB, free: 165.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001422/5.405, allocations: 323.6 kB / 3.787 GB, free: 165 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006371/5.406, allocations: 138.5 kB / 3.787 GB, free: 164.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-05/5.406, allocations: 27.97 kB / 3.787 GB, free: 164.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002569/5.409, allocations: 4.043 MB / 3.791 GB, free: 160.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/5.409, allocations: 0 / 3.791 GB, free: 160.4 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003416/5.412, allocations: 2.502 MB / 3.794 GB, free: 157.9 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004429/5.416, allocations: 3.855 MB / 3.798 GB, free: 154 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009698/5.417, allocations: 0.5843 MB / 3.798 GB, free: 153.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003142/5.418, allocations: 3.984 kB / 3.798 GB, free: 153.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/5.419, allocations: 123.7 kB / 3.798 GB, free: 153.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/5.419, allocations: 81.19 kB / 3.798 GB, free: 153.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/5.419, allocations: 79.95 kB / 3.798 GB, free: 153.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001364/5.421, allocations: 1.377 MB / 3.8 GB, free: 151.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004412/5.425, allocations: 1.691 MB / 3.801 GB, free: 150.1 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,tabDat_m_flow.mExc,tabDat_V_flow.mExc) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 144 * 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.002425/5.428, allocations: 2.137 MB / 3.804 GB, free: 148.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003052/5.431, allocations: 2.606 MB / 3.806 GB, free: 145.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/5.431, allocations: 4.438 kB / 3.806 GB, free: 145.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001051/5.432, allocations: 1.026 MB / 3.807 GB, free: 144.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002358/5.434, allocations: 0.555 MB / 3.808 GB, free: 143.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005936/5.44, allocations: 3.245 MB / 3.811 GB, free: 140.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001576/5.442, allocations: 1.824 MB / 3.813 GB, free: 138.8 MB / 1.151 GB Notification: Performance of SimCode: time 4.61e-07/5.442, allocations: 0 / 3.813 GB, free: 138.8 MB / 1.151 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.TrickleVent.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.TrickleVent.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.TrickleVent.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.TrickleVent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.TrickleVent_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_TrickleVent_fmu --startTime=0 --stopTime=2.592e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_TrickleVent.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.TrickleVent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.Examples.TrickleVent_res.mat does not exist to compare? outputFormat=mat