Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.TrickleVent.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.TrickleVent,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_TrickleVent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.TrickleVent,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.819/1.819, allocations: 390.4 MB / 397.7 MB, free: 11.29 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.0009974/0.0009974, allocations: 181.3 kB / 490.8 MB, free: 1.969 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.143/1.143, allocations: 221.3 MB / 0.7863 GB, free: 13.69 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.001115/0.001115, allocations: 78.8 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4551/0.4563, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.6548, allocations: 143 MB / 1.212 GB, free: 40.05 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.192/3.847, allocations: 1.959 GB / 3.171 GB, free: 376.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001832/3.847, allocations: 87.95 kB / 3.171 GB, free: 376.2 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.399/5.246, allocations: 0.5795 GB / 3.75 GB, free: 216.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/5.246, allocations: 12 kB / 3.75 GB, free: 216.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003636/5.25, allocations: 0.5784 MB / 3.751 GB, free: 216.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00306/5.253, allocations: 1.974 MB / 3.753 GB, free: 214.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.555e-05/5.253, allocations: 60 kB / 3.753 GB, free: 214.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001791/5.253, allocations: 100 kB / 3.753 GB, free: 214.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002434/5.256, allocations: 1.842 MB / 3.755 GB, free: 212.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002627/5.258, allocations: 1.686 MB / 3.756 GB, free: 210.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.695e-05/5.259, allocations: 7.906 kB / 3.756 GB, free: 210.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000162/5.259, allocations: 0 / 3.756 GB, free: 210.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.112e-05/5.259, allocations: 63.25 kB / 3.757 GB, free: 210.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01016/5.269, allocations: 7.644 MB / 3.764 GB, free: 202.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002427/5.271, allocations: 1.678 MB / 3.766 GB, free: 200.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009162/5.272, allocations: 0.6679 MB / 3.766 GB, free: 200.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007301/5.273, allocations: 0.8087 MB / 3.767 GB, free: 199.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001032/5.274, allocations: 0.8347 MB / 3.768 GB, free: 198.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=142): time 3.467e-06/5.274, allocations: 4 kB / 3.768 GB, free: 198.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=142): time 0.003146/5.277, allocations: 1.524 MB / 3.769 GB, free: 196.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/5.277, allocations: 278.3 kB / 3.77 GB, free: 196.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001817/5.279, allocations: 1.785 MB / 3.771 GB, free: 194.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.803e-05/5.279, allocations: 25.7 kB / 3.771 GB, free: 194.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002655/5.28, allocations: 0.588 MB / 3.772 GB, free: 194.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002534/5.28, allocations: 464.9 kB / 3.772 GB, free: 193.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.575e-05/5.28, allocations: 0 / 3.772 GB, free: 193.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.132e-05/5.28, allocations: 353.9 kB / 3.773 GB, free: 193.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006117/5.281, allocations: 498.5 kB / 3.773 GB, free: 192.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006942/5.281, allocations: 0.6622 MB / 3.774 GB, free: 192.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008263/5.282, allocations: 0.5872 MB / 3.774 GB, free: 191.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/5.282, allocations: 4 kB / 3.774 GB, free: 191.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002549/5.285, allocations: 1.51 MB / 3.776 GB, free: 190 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.835e-05/5.285, allocations: 0.6386 MB / 3.777 GB, free: 189.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/5.285, allocations: 4 kB / 3.777 GB, free: 189.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007366/5.286, allocations: 146.5 kB / 3.777 GB, free: 189.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/5.287, allocations: 311.6 kB / 3.777 GB, free: 188.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00266/5.29, allocations: 4.011 MB / 3.781 GB, free: 184.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/5.291, allocations: 151 kB / 3.781 GB, free: 184.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/5.291, allocations: 63.91 kB / 3.781 GB, free: 184.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 4.839e-06/5.291, allocations: 4 kB / 3.781 GB, free: 184.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002323/5.293, allocations: 1.322 MB / 3.782 GB, free: 183 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/5.293, allocations: 4 kB / 3.782 GB, free: 183 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000655/5.294, allocations: 146.6 kB / 3.783 GB, free: 182.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/5.295, allocations: 307.5 kB / 3.783 GB, free: 182.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002499/5.298, allocations: 4.012 MB / 3.787 GB, free: 178.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/5.299, allocations: 135.2 kB / 3.787 GB, free: 178 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/5.299, allocations: 59.97 kB / 3.787 GB, free: 178 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.0002437/5.299, allocations: 132.7 kB / 3.787 GB, free: 177.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002497/5.3, allocations: 177.8 kB / 3.787 GB, free: 177.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003423/5.303, allocations: 1.885 MB / 3.789 GB, free: 175.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/5.303, allocations: 16 kB / 3.789 GB, free: 175.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/5.303, allocations: 0 / 3.789 GB, free: 175.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002197/5.305, allocations: 1.444 MB / 3.791 GB, free: 174.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004963/5.31, allocations: 3.68 MB / 3.794 GB, free: 170.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/5.31, allocations: 0 / 3.794 GB, free: 170.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001387/5.312, allocations: 319.6 kB / 3.794 GB, free: 170.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006381/5.312, allocations: 142.5 kB / 3.795 GB, free: 170.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/5.312, allocations: 27.91 kB / 3.795 GB, free: 170.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002509/5.315, allocations: 4.035 MB / 3.799 GB, free: 165.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/5.315, allocations: 7.844 kB / 3.799 GB, free: 165.7 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00332/5.318, allocations: 2.502 MB / 3.801 GB, free: 163.1 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004474/5.323, allocations: 3.859 MB / 3.805 GB, free: 159.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008423/5.324, allocations: 0.5842 MB / 3.805 GB, free: 158.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003097/5.324, allocations: 8.125 kB / 3.805 GB, free: 158.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001301/5.325, allocations: 119.8 kB / 3.805 GB, free: 158.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/5.325, allocations: 85.36 kB / 3.805 GB, free: 158.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001298/5.326, allocations: 71.95 kB / 3.806 GB, free: 158.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001309/5.327, allocations: 1.377 MB / 3.807 GB, free: 157 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004183/5.331, allocations: 1.697 MB / 3.809 GB, free: 155.3 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.002397/5.333, allocations: 2.123 MB / 3.811 GB, free: 153.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002979/5.336, allocations: 2.609 MB / 3.813 GB, free: 150.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/5.336, allocations: 4.5 kB / 3.813 GB, free: 150.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001042/5.338, allocations: 1.014 MB / 3.814 GB, free: 149.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002222/5.34, allocations: 0.5777 MB / 3.815 GB, free: 149.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005832/5.346, allocations: 3.231 MB / 3.818 GB, free: 145.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001579/5.347, allocations: 1.82 MB / 3.82 GB, free: 144 MB / 1.151 GB Notification: Performance of SimCode: time 3.1e-07/5.347, allocations: 0 / 3.82 GB, free: 144 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.TrickleVent.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.TrickleVent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.TrickleVent.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.TrickleVent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.TrickleVent_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_TrickleVent_fmu --startTime=0 --stopTime=2.592e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_TrickleVent.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.TrickleVent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Examples.TrickleVent_res.mat does not exist to compare? outputFormat=mat