Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.415/1.415, allocations: 289.8 MB / 297.1 MB, free: 6.73 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.00104/0.00104, allocations: 193.2 kB / 366.3 MB, free: 1.996 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.232/1.232, allocations: 205.1 MB / 0.6256 GB, free: 5.848 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008871/0.000887, allocations: 77.77 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.231/0.2319, allocations: 122.4 MB / 0.8591 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5701/0.802, allocations: 116.3 MB / 0.9726 GB, free: 68.17 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.744/4.546, allocations: 2.074 GB / 3.047 GB, free: 284.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/4.546, allocations: 89.12 kB / 3.047 GB, free: 284.5 MB / 0.948 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/6.092, allocations: 0.6562 GB / 3.703 GB, free: 38.09 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/6.092, allocations: 8 kB / 3.703 GB, free: 38.08 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002723/6.095, allocations: 406.1 kB / 3.703 GB, free: 37.68 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001578/6.097, allocations: 0.848 MB / 3.704 GB, free: 36.79 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/6.097, allocations: 27.98 kB / 3.704 GB, free: 36.77 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/6.097, allocations: 55.91 kB / 3.704 GB, free: 36.71 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001195/6.098, allocations: 0.7693 MB / 3.705 GB, free: 35.94 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/6.099, allocations: 0.9146 MB / 3.706 GB, free: 34.98 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/6.099, allocations: 0 / 3.706 GB, free: 34.98 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-05/6.099, allocations: 3.938 kB / 3.706 GB, free: 34.98 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.016e-05/6.099, allocations: 38 kB / 3.706 GB, free: 34.94 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004055/6.103, allocations: 4.521 MB / 3.71 GB, free: 30.08 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008183/6.104, allocations: 0.6346 MB / 3.711 GB, free: 29.44 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005714/6.105, allocations: 448.4 kB / 3.711 GB, free: 29 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004125/6.105, allocations: 0.6733 MB / 3.712 GB, free: 28.18 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/6.105, allocations: 51.14 kB / 3.712 GB, free: 28.12 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 2.004e-06/6.105, allocations: 0 / 3.712 GB, free: 28.12 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.001675/6.107, allocations: 0.7765 MB / 3.713 GB, free: 27.34 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.976e-05/6.107, allocations: 64.06 kB / 3.713 GB, free: 27.26 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004912/6.107, allocations: 483.7 kB / 3.713 GB, free: 26.79 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.815e-05/6.107, allocations: 29.7 kB / 3.713 GB, free: 26.75 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/6.108, allocations: 320 kB / 3.714 GB, free: 26.43 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/6.108, allocations: 236.4 kB / 3.714 GB, free: 26.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/6.108, allocations: 7.938 kB / 3.714 GB, free: 26.19 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.469e-05/6.108, allocations: 386.7 kB / 3.714 GB, free: 25.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003365/6.108, allocations: 269.2 kB / 3.715 GB, free: 25.54 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003848/6.109, allocations: 371.2 kB / 3.715 GB, free: 25.14 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00053/6.109, allocations: 351 kB / 3.715 GB, free: 24.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/6.109, allocations: 0 / 3.715 GB, free: 24.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001073/6.11, allocations: 0.7879 MB / 3.716 GB, free: 24 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/6.11, allocations: 4 kB / 3.716 GB, free: 24 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/6.11, allocations: 0 / 3.716 GB, free: 24 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/6.11, allocations: 8 kB / 3.716 GB, free: 23.99 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006678/6.111, allocations: 147.8 kB / 3.716 GB, free: 23.85 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/6.111, allocations: 4 kB / 3.716 GB, free: 23.84 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009362/6.112, allocations: 83.62 kB / 3.716 GB, free: 23.76 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.123e-05/6.112, allocations: 28 kB / 3.716 GB, free: 23.73 MB / 0.948 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.0001134/6.112, allocations: 116.7 kB / 3.716 GB, free: 23.61 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/6.112, allocations: 83.05 kB / 3.717 GB, free: 23.53 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/6.114, allocations: 0.8046 MB / 3.717 GB, free: 22.71 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/6.114, allocations: 8 kB / 3.717 GB, free: 22.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/6.114, allocations: 0 / 3.717 GB, free: 22.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009003/6.114, allocations: 0.8283 MB / 3.718 GB, free: 21.82 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002328/6.117, allocations: 1.772 MB / 3.72 GB, free: 20 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/6.117, allocations: 0 / 3.72 GB, free: 20 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008842/6.118, allocations: 183.8 kB / 3.72 GB, free: 19.82 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/6.118, allocations: 0 / 3.72 GB, free: 19.82 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.232e-05/6.118, allocations: 15.98 kB / 3.72 GB, free: 19.81 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/6.118, allocations: 0 / 3.72 GB, free: 19.81 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/6.118, allocations: 0 / 3.72 GB, free: 19.81 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001463/6.119, allocations: 1.313 MB / 3.721 GB, free: 18.48 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002195/6.121, allocations: 2.229 MB / 3.724 GB, free: 16.23 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003973/6.122, allocations: 248 kB / 3.724 GB, free: 15.97 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/6.122, allocations: 3.984 kB / 3.724 GB, free: 15.97 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007663/6.123, allocations: 67.78 kB / 3.724 GB, free: 15.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.353e-05/6.123, allocations: 36.52 kB / 3.724 GB, free: 15.87 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.232e-05/6.123, allocations: 27.98 kB / 3.724 GB, free: 15.84 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003679/6.123, allocations: 383.1 kB / 3.724 GB, free: 15.47 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001862/6.125, allocations: 0.6124 MB / 3.725 GB, free: 14.86 MB / 0.948 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.001732/6.127, allocations: 1.765 MB / 3.727 GB, free: 13.02 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008685/6.128, allocations: 0.6708 MB / 3.727 GB, free: 12.34 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/6.128, allocations: 4.375 kB / 3.727 GB, free: 12.34 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003822/6.128, allocations: 378.3 kB / 3.728 GB, free: 11.97 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002031/6.13, allocations: 460 kB / 3.728 GB, free: 11.53 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002795/6.133, allocations: 1.762 MB / 3.73 GB, free: 9.73 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007119/6.134, allocations: 1.22 MB / 3.731 GB, free: 8.484 MB / 0.948 GB Notification: Performance of SimCode: time 7.01e-07/6.134, allocations: 0 / 3.731 GB, free: 8.484 MB / 0.948 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)