Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.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.NaturalVentilation,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.834/1.834, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.0009856/0.0009854, allocations: 188.6 kB / 487 MB, free: 5.383 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.153/1.153, allocations: 221.3 MB / 0.7819 GB, free: 1.375 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.000973/0.000973, allocations: 107 kB / 0.9213 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4478/0.4488, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.6528, allocations: 142.3 MB / 1.205 GB, free: 26.15 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.056/3.709, allocations: 1.919 GB / 3.124 GB, free: 388.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/3.709, allocations: 91.86 kB / 3.125 GB, free: 388.6 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.546/5.255, allocations: 0.6687 GB / 3.793 GB, free: 145.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/5.255, allocations: 11.98 kB / 3.793 GB, free: 145.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002324/5.257, allocations: 402.1 kB / 3.794 GB, free: 144.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/5.259, allocations: 0.8712 MB / 3.794 GB, free: 144 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/5.259, allocations: 28 kB / 3.794 GB, free: 144 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/5.259, allocations: 51.91 kB / 3.795 GB, free: 143.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001125/5.26, allocations: 0.7771 MB / 3.795 GB, free: 143.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/5.261, allocations: 0.9146 MB / 3.796 GB, free: 142.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.909e-05/5.261, allocations: 3.938 kB / 3.796 GB, free: 142.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.435e-05/5.261, allocations: 4 kB / 3.796 GB, free: 142.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.509e-05/5.261, allocations: 37.98 kB / 3.796 GB, free: 142.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003965/5.265, allocations: 4.733 MB / 3.801 GB, free: 137.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008218/5.266, allocations: 0.6383 MB / 3.801 GB, free: 136.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005769/5.267, allocations: 450.7 kB / 3.802 GB, free: 136 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000437/5.267, allocations: 0.6772 MB / 3.803 GB, free: 135.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/5.267, allocations: 43.22 kB / 3.803 GB, free: 135.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=70): time 2.294e-06/5.267, allocations: 0 / 3.803 GB, free: 135.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=70): time 0.001637/5.269, allocations: 0.7843 MB / 3.803 GB, free: 134.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.999e-05/5.269, allocations: 60.06 kB / 3.803 GB, free: 134.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004514/5.269, allocations: 487.7 kB / 3.804 GB, free: 133.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.494e-05/5.269, allocations: 25.7 kB / 3.804 GB, free: 133.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/5.269, allocations: 324.1 kB / 3.804 GB, free: 133.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/5.27, allocations: 240.4 kB / 3.804 GB, free: 133.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/5.27, allocations: 4 kB / 3.804 GB, free: 133.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.486e-05/5.27, allocations: 386.7 kB / 3.805 GB, free: 132.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003315/5.27, allocations: 273.2 kB / 3.805 GB, free: 132.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003532/5.27, allocations: 357.5 kB / 3.805 GB, free: 132.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005163/5.271, allocations: 347 kB / 3.806 GB, free: 131.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/5.271, allocations: 0 / 3.806 GB, free: 131.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001074/5.272, allocations: 0.7957 MB / 3.807 GB, free: 131 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/5.272, allocations: 4 kB / 3.807 GB, free: 131 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/5.272, allocations: 0 / 3.807 GB, free: 131 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/5.272, allocations: 8 kB / 3.807 GB, free: 131 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00067/5.273, allocations: 156 kB / 3.807 GB, free: 130.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.984e-06/5.273, allocations: 7.984 kB / 3.807 GB, free: 130.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008863/5.274, allocations: 99.38 kB / 3.807 GB, free: 130.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.736e-05/5.274, allocations: 23.98 kB / 3.807 GB, free: 130.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: 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.0001041/5.274, allocations: 114.8 kB / 3.807 GB, free: 130.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/5.274, allocations: 83.06 kB / 3.807 GB, free: 130.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/5.275, allocations: 0.8124 MB / 3.808 GB, free: 129.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/5.275, allocations: 15.84 kB / 3.808 GB, free: 129.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/5.275, allocations: 0 / 3.808 GB, free: 129.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000935/5.276, allocations: 0.8244 MB / 3.809 GB, free: 128.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002185/5.278, allocations: 1.786 MB / 3.81 GB, free: 127 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/5.278, allocations: 0 / 3.81 GB, free: 127 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008702/5.279, allocations: 171.8 kB / 3.811 GB, free: 126.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/5.279, allocations: 4 kB / 3.811 GB, free: 126.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.727e-05/5.279, allocations: 15.92 kB / 3.811 GB, free: 126.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/5.279, allocations: 8 kB / 3.811 GB, free: 126.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/5.279, allocations: 0 / 3.811 GB, free: 126.8 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001373/5.281, allocations: 1.18 MB / 3.812 GB, free: 125.6 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002032/5.283, allocations: 2.092 MB / 3.814 GB, free: 123.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003268/5.283, allocations: 247.9 kB / 3.814 GB, free: 123.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/5.283, allocations: 3.938 kB / 3.814 GB, free: 123.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007656/5.284, allocations: 67.78 kB / 3.814 GB, free: 123.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.479e-05/5.284, allocations: 44.53 kB / 3.814 GB, free: 123.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-05/5.284, allocations: 23.98 kB / 3.814 GB, free: 123.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.000338/5.284, allocations: 383.2 kB / 3.814 GB, free: 122.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001775/5.286, allocations: 0.6124 MB / 3.815 GB, free: 122.1 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.001532/5.288, allocations: 1.78 MB / 3.817 GB, free: 120.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008265/5.289, allocations: 0.6785 MB / 3.817 GB, free: 119.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/5.289, allocations: 0 / 3.817 GB, free: 119.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003731/5.289, allocations: 374.3 kB / 3.818 GB, free: 119.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001868/5.291, allocations: 451.5 kB / 3.818 GB, free: 118.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00268/5.294, allocations: 1.783 MB / 3.82 GB, free: 116.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007238/5.294, allocations: 1.224 MB / 3.821 GB, free: 115.7 MB / 1.151 GB Notification: Performance of SimCode: time 2.9e-07/5.294, allocations: 4 kB / 3.821 GB, free: 115.7 MB / 1.151 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat does not exist to compare? outputFormat=mat