Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ZonalFlow",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.1-maint.8.0.x/package.mo): time 1.328/1.328, allocations: 285.5 MB / 292.8 MB, free: 9.895 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.0009683/0.0009684, allocations: 197.1 kB / 361.1 MB, free: 368 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.061/1.061, allocations: 205.1 MB / 0.6195 GB, free: 2.883 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.0007786/0.0007786, allocations: 99.5 kB / 0.7326 GB, free: 1.066 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.3653/0.3661, allocations: 121.4 MB / 0.8511 GB, free: 151.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.5175, allocations: 115.3 MB / 0.9638 GB, free: 56.28 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.02/3.538, allocations: 2.075 GB / 3.039 GB, free: 168.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002135/3.538, allocations: 92.38 kB / 3.039 GB, free: 168.5 MB / 0.9323 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: The standard says that initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition useDefaultProperties and initial(). Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 1.649/5.188, allocations: 0.6056 GB / 3.645 GB, free: 190 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/5.188, allocations: 7.5 kB / 3.645 GB, free: 190 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002282/5.19, allocations: 361.5 kB / 3.645 GB, free: 189.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/5.191, allocations: 0.8592 MB / 3.646 GB, free: 189.6 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.3e-05/5.191, allocations: 32.31 kB / 3.646 GB, free: 189.6 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/5.192, allocations: 61.53 kB / 3.646 GB, free: 189.6 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001454/5.193, allocations: 1.008 MB / 3.647 GB, free: 189.6 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/5.194, allocations: 0.9871 MB / 3.648 GB, free: 189.6 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/5.195, allocations: 0 / 3.648 GB, free: 189.6 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.476e-05/5.195, allocations: 0 / 3.648 GB, free: 189.6 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.053e-05/5.195, allocations: 62.91 kB / 3.648 GB, free: 189.6 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005395/5.2, allocations: 5.163 MB / 3.653 GB, free: 187 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009837/5.201, allocations: 0.8551 MB / 3.654 GB, free: 186.9 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006501/5.202, allocations: 0.5412 MB / 3.654 GB, free: 186.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 5.87e-05/5.202, allocations: 23.62 kB / 3.654 GB, free: 186.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005208/5.202, allocations: 469.5 kB / 3.655 GB, free: 186.9 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=76): time 2.074e-06/5.202, allocations: 0 / 3.655 GB, free: 186.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=76): time 0.001342/5.204, allocations: 0.8356 MB / 3.656 GB, free: 186.8 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.216e-05/5.204, allocations: 61.38 kB / 3.656 GB, free: 186.7 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004099/5.204, allocations: 416.3 kB / 3.656 GB, free: 186.6 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.205e-05/5.204, allocations: 27.02 kB / 3.656 GB, free: 186.6 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/5.204, allocations: 387.9 kB / 3.656 GB, free: 186.4 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001756/5.205, allocations: 257.9 kB / 3.657 GB, free: 186.3 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/5.205, allocations: 0 / 3.657 GB, free: 186.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.793e-05/5.205, allocations: 379.2 kB / 3.657 GB, free: 186 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003747/5.205, allocations: 327.3 kB / 3.657 GB, free: 186 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004142/5.205, allocations: 442 kB / 3.658 GB, free: 185.8 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004504/5.206, allocations: 402.3 kB / 3.658 GB, free: 185.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/5.206, allocations: 0 / 3.658 GB, free: 185.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001058/5.207, allocations: 0.8841 MB / 3.659 GB, free: 185.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/5.207, allocations: 9.469 kB / 3.659 GB, free: 185.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/5.207, allocations: 2.875 kB / 3.659 GB, free: 185.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/5.207, allocations: 10.91 kB / 3.659 GB, free: 185.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006576/5.208, allocations: 157.9 kB / 3.659 GB, free: 185.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/5.208, allocations: 10.03 kB / 3.659 GB, free: 185.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009089/5.209, allocations: 114.4 kB / 3.659 GB, free: 185.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-05/5.209, allocations: 24.53 kB / 3.659 GB, free: 185.7 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.0001182/5.209, allocations: 120.8 kB / 3.659 GB, free: 185.6 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/5.209, allocations: 73.84 kB / 3.66 GB, free: 185.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001726/5.209, allocations: 100.1 kB / 3.66 GB, free: 185.6 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/5.209, allocations: 10.98 kB / 3.66 GB, free: 185.6 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/5.209, allocations: 0 / 3.66 GB, free: 185.6 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009274/5.21, allocations: 1.071 MB / 3.661 GB, free: 185.1 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002173/5.212, allocations: 1.89 MB / 3.663 GB, free: 184.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/5.212, allocations: 0 / 3.663 GB, free: 184.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008565/5.213, allocations: 184.8 kB / 3.663 GB, free: 184.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/5.213, allocations: 3.281 kB / 3.663 GB, free: 184.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-05/5.213, allocations: 10.58 kB / 3.663 GB, free: 184.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/5.213, allocations: 3.656 kB / 3.663 GB, free: 184.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/5.213, allocations: 3.688 kB / 3.663 GB, free: 184.8 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00146/5.215, allocations: 1.499 MB / 3.664 GB, free: 184.6 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002148/5.217, allocations: 2.519 MB / 3.667 GB, free: 184 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003677/5.217, allocations: 255 kB / 3.667 GB, free: 183.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/5.217, allocations: 6.062 kB / 3.667 GB, free: 183.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007841/5.218, allocations: 78.84 kB / 3.667 GB, free: 183.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.721e-05/5.218, allocations: 37.8 kB / 3.667 GB, free: 183.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.026e-05/5.218, allocations: 34.16 kB / 3.667 GB, free: 183.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0002673/5.219, allocations: 324.3 kB / 3.667 GB, free: 183.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001994/5.221, allocations: 0.6502 MB / 3.668 GB, free: 183.8 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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.002313/5.223, allocations: 1.811 MB / 3.67 GB, free: 183.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001024/5.224, allocations: 0.7893 MB / 3.671 GB, free: 183.3 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.475e-06/5.224, allocations: 0 / 3.671 GB, free: 183.3 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.000475/5.224, allocations: 430.9 kB / 3.671 GB, free: 183.3 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002137/5.227, allocations: 469.5 kB / 3.671 GB, free: 183.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002821/5.229, allocations: 1.798 MB / 3.673 GB, free: 182.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008684/5.23, allocations: 1.257 MB / 3.674 GB, free: 182.2 MB / 0.9323 GB Notification: Performance of SimCode: time 5.51e-07/5.23, allocations: 0 / 3.674 GB, free: 182.2 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)