Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.NaturalVentilation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.465/2.465, allocations: 284.8 MB / 292.1 MB, free: 9.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001605/0.001604, allocations: 179.2 kB / 360.3 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.807/1.807, allocations: 205.1 MB / 0.6187 GB, free: 3.254 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001284/0.001283, allocations: 87.23 kB / 0.7317 GB, free: 1.715 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.5026/0.5039, allocations: 121.4 MB / 0.8502 GB, free: 149.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.7007, allocations: 115.3 MB / 0.9627 GB, free: 56.94 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.711/5.412, allocations: 2.073 GB / 3.036 GB, free: 168 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/5.412, allocations: 84.77 kB / 3.036 GB, free: 167.9 MB / 0.9323 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 2.831/8.243, allocations: 0.6562 GB / 3.692 GB, free: 196.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/8.243, allocations: 8.406 kB / 3.692 GB, free: 196.6 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004543/8.247, allocations: 404 kB / 3.692 GB, free: 196.5 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003018/8.25, allocations: 0.8464 MB / 3.693 GB, free: 196.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.491e-05/8.251, allocations: 30.44 kB / 3.693 GB, free: 196.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002192/8.251, allocations: 54.83 kB / 3.693 GB, free: 196.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002448/8.253, allocations: 0.7721 MB / 3.694 GB, free: 196.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002453/8.256, allocations: 0.9083 MB / 3.695 GB, free: 196.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.214e-05/8.256, allocations: 5.156 kB / 3.695 GB, free: 196.1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001313/8.256, allocations: 1.281 kB / 3.695 GB, free: 196.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.898e-05/8.256, allocations: 43.02 kB / 3.695 GB, free: 196.1 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008242/8.264, allocations: 4.512 MB / 3.699 GB, free: 192.7 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001716/8.266, allocations: 0.6289 MB / 3.7 GB, free: 192.5 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001213/8.267, allocations: 459.7 kB / 3.7 GB, free: 192.3 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006774/8.268, allocations: 0.6769 MB / 3.701 GB, free: 191.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/8.268, allocations: 43.72 kB / 3.701 GB, free: 191.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=70): time 3.166e-06/8.268, allocations: 0 / 3.701 GB, free: 191.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=70): time 0.003252/8.271, allocations: 0.7759 MB / 3.702 GB, free: 191.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/8.271, allocations: 59.94 kB / 3.702 GB, free: 191.1 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009913/8.272, allocations: 486.7 kB / 3.702 GB, free: 190.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.000116/8.272, allocations: 26.92 kB / 3.702 GB, free: 190.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/8.273, allocations: 320.5 kB / 3.703 GB, free: 190.7 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002924/8.273, allocations: 244.7 kB / 3.703 GB, free: 190.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-05/8.273, allocations: 0 / 3.703 GB, free: 190.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001376/8.273, allocations: 383.5 kB / 3.703 GB, free: 190.1 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007188/8.274, allocations: 274.8 kB / 3.704 GB, free: 190 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007585/8.275, allocations: 373.1 kB / 3.704 GB, free: 189.8 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/8.276, allocations: 344.7 kB / 3.704 GB, free: 189.7 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/8.276, allocations: 1.25 kB / 3.704 GB, free: 189.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002323/8.278, allocations: 0.7849 MB / 3.705 GB, free: 189.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/8.278, allocations: 4.562 kB / 3.705 GB, free: 189.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/8.278, allocations: 4.406 kB / 3.705 GB, free: 189.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.279e-05/8.278, allocations: 4.281 kB / 3.705 GB, free: 189.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001416/8.28, allocations: 153.7 kB / 3.705 GB, free: 189.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/8.28, allocations: 4.219 kB / 3.705 GB, free: 189.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00198/8.282, allocations: 92.25 kB / 3.705 GB, free: 189.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-05/8.282, allocations: 21.12 kB / 3.705 GB, free: 189.3 MB / 0.9323 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.0002234/8.282, allocations: 117.8 kB / 3.705 GB, free: 189.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002304/8.282, allocations: 79.19 kB / 3.706 GB, free: 189.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002559/8.285, allocations: 0.8049 MB / 3.706 GB, free: 188.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/8.285, allocations: 14.58 kB / 3.706 GB, free: 188.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.617e-06/8.285, allocations: 4.766 kB / 3.706 GB, free: 188.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001828/8.287, allocations: 0.8252 MB / 3.707 GB, free: 188.4 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004605/8.291, allocations: 1.78 MB / 3.709 GB, free: 187.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.954e-06/8.291, allocations: 0 / 3.709 GB, free: 187.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001814/8.293, allocations: 183.8 kB / 3.709 GB, free: 187.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-05/8.293, allocations: 0 / 3.709 GB, free: 187.5 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.07e-05/8.293, allocations: 10.34 kB / 3.709 GB, free: 187.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/8.293, allocations: 0 / 3.709 GB, free: 187.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/8.293, allocations: 3.094 kB / 3.709 GB, free: 187.5 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002988/8.296, allocations: 1.305 MB / 3.71 GB, free: 186.9 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004367/8.301, allocations: 2.231 MB / 3.713 GB, free: 185.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008879/8.302, allocations: 245.1 kB / 3.713 GB, free: 185.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002166/8.302, allocations: 14.28 kB / 3.713 GB, free: 185.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001533/8.304, allocations: 61.22 kB / 3.713 GB, free: 185.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/8.304, allocations: 33.55 kB / 3.713 GB, free: 185.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-05/8.304, allocations: 29.09 kB / 3.713 GB, free: 185.5 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0007007/8.305, allocations: 378.5 kB / 3.713 GB, free: 185.3 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003077/8.308, allocations: 0.6118 MB / 3.714 GB, free: 185 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1]) * 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.002548/8.31, allocations: 1.783 MB / 3.716 GB, free: 184.5 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00169/8.312, allocations: 0.6766 MB / 3.716 GB, free: 184.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/8.312, allocations: 0 / 3.716 GB, free: 184.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0007453/8.313, allocations: 371.5 kB / 3.717 GB, free: 184.1 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004222/8.317, allocations: 456.7 kB / 3.717 GB, free: 184 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005338/8.322, allocations: 1.762 MB / 3.719 GB, free: 183.4 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001436/8.324, allocations: 1.215 MB / 3.72 GB, free: 182.7 MB / 0.9323 GB Notification: Performance of SimCode: time 1.303e-06/8.324, allocations: 0 / 3.72 GB, free: 182.7 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)