Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.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.NaturalVentilation,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_NaturalVentilation",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.827/1.827, allocations: 390.4 MB / 397.7 MB, free: 11.32 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.0009313/0.0009312, allocations: 196.2 kB / 490.8 MB, free: 1.949 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.16/1.16, allocations: 221.3 MB / 0.7863 GB, free: 13.68 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.0009345/0.0009345, allocations: 90.27 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4423/0.4433, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.6356, allocations: 143 MB / 1.212 GB, free: 40.05 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.136/3.771, allocations: 1.92 GB / 3.132 GB, free: 396.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/3.772, allocations: 90.11 kB / 3.132 GB, free: 396.5 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 1.521/5.293, allocations: 0.6687 GB / 3.8 GB, free: 149.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/5.293, allocations: 8 kB / 3.8 GB, free: 149.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00262/5.295, allocations: 402 kB / 3.801 GB, free: 149.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001602/5.297, allocations: 0.8597 MB / 3.802 GB, free: 148.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.861e-05/5.297, allocations: 28 kB / 3.802 GB, free: 148.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/5.297, allocations: 59.91 kB / 3.802 GB, free: 148.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001234/5.298, allocations: 0.777 MB / 3.802 GB, free: 147.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/5.3, allocations: 0.9185 MB / 3.803 GB, free: 146.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/5.3, allocations: 0 / 3.803 GB, free: 146.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-05/5.3, allocations: 4 kB / 3.803 GB, free: 146.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.321e-05/5.3, allocations: 34 kB / 3.803 GB, free: 146.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004259/5.304, allocations: 4.721 MB / 3.808 GB, free: 141.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008504/5.305, allocations: 0.6367 MB / 3.809 GB, free: 140.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005832/5.306, allocations: 450.7 kB / 3.809 GB, free: 140.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003953/5.306, allocations: 0.6772 MB / 3.81 GB, free: 139.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/5.306, allocations: 39.22 kB / 3.81 GB, free: 139.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=70): time 1.654e-06/5.306, allocations: 0 / 3.81 GB, free: 139.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=70): time 0.001693/5.308, allocations: 0.7805 MB / 3.811 GB, free: 138.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.712e-05/5.308, allocations: 56.06 kB / 3.811 GB, free: 138.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004639/5.308, allocations: 495.6 kB / 3.811 GB, free: 138.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.109e-05/5.308, allocations: 25.7 kB / 3.811 GB, free: 138.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/5.308, allocations: 328 kB / 3.811 GB, free: 137.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/5.309, allocations: 240.3 kB / 3.812 GB, free: 137.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.262e-05/5.309, allocations: 0 / 3.812 GB, free: 137.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.92e-05/5.309, allocations: 390.7 kB / 3.812 GB, free: 137.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003614/5.309, allocations: 273.2 kB / 3.812 GB, free: 136.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003561/5.309, allocations: 361.5 kB / 3.813 GB, free: 136.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005381/5.31, allocations: 351.1 kB / 3.813 GB, free: 136.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/5.31, allocations: 0 / 3.813 GB, free: 136.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00112/5.311, allocations: 0.7801 MB / 3.814 GB, free: 135.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/5.311, allocations: 12.17 kB / 3.814 GB, free: 135.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/5.311, allocations: 4 kB / 3.814 GB, free: 135.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/5.311, allocations: 4 kB / 3.814 GB, free: 135.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000668/5.312, allocations: 151.8 kB / 3.814 GB, free: 135.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/5.312, allocations: 7.938 kB / 3.814 GB, free: 135.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009314/5.313, allocations: 99.45 kB / 3.814 GB, free: 135.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-05/5.313, allocations: 27.91 kB / 3.814 GB, free: 135 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * 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.0001273/5.313, allocations: 116.8 kB / 3.814 GB, free: 134.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/5.313, allocations: 79.06 kB / 3.814 GB, free: 134.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/5.314, allocations: 0.8085 MB / 3.815 GB, free: 134 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/5.314, allocations: 8 kB / 3.815 GB, free: 134 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/5.314, allocations: 3.906 kB / 3.815 GB, free: 134 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009219/5.315, allocations: 0.8399 MB / 3.816 GB, free: 133.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00222/5.318, allocations: 1.77 MB / 3.817 GB, free: 131.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/5.318, allocations: 4 kB / 3.818 GB, free: 131.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008744/5.318, allocations: 179.8 kB / 3.818 GB, free: 131.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/5.318, allocations: 4 kB / 3.818 GB, free: 131.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-05/5.319, allocations: 11.98 kB / 3.818 GB, free: 131.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/5.319, allocations: 4 kB / 3.818 GB, free: 131.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/5.319, allocations: 0 / 3.818 GB, free: 131.1 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00139/5.32, allocations: 1.188 MB / 3.819 GB, free: 129.9 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002089/5.322, allocations: 2.088 MB / 3.821 GB, free: 127.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003585/5.322, allocations: 248 kB / 3.821 GB, free: 127.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/5.323, allocations: 15.92 kB / 3.821 GB, free: 127.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007512/5.323, allocations: 59.78 kB / 3.821 GB, free: 127.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.696e-05/5.323, allocations: 32.61 kB / 3.821 GB, free: 127.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.559e-05/5.323, allocations: 23.98 kB / 3.821 GB, free: 127.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003334/5.324, allocations: 387.2 kB / 3.822 GB, free: 127 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001873/5.326, allocations: 0.6201 MB / 3.822 GB, free: 126.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 70 * 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.002016/5.328, allocations: 1.772 MB / 3.824 GB, free: 124.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008517/5.329, allocations: 0.6824 MB / 3.825 GB, free: 123.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/5.329, allocations: 4 kB / 3.825 GB, free: 123.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004014/5.329, allocations: 370.3 kB / 3.825 GB, free: 123.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001877/5.331, allocations: 452.3 kB / 3.825 GB, free: 123.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002879/5.334, allocations: 1.78 MB / 3.827 GB, free: 121.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007733/5.335, allocations: 1.216 MB / 3.828 GB, free: 120 MB / 1.151 GB Notification: Performance of SimCode: time 2.71e-07/5.335, allocations: 0 / 3.828 GB, free: 120 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat does not exist to compare? outputFormat=mat