Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.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.OneEffectiveAirLeakageArea,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea",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.837/1.837, allocations: 387.2 MB / 394.5 MB, free: 13.31 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000956/0.000956, allocations: 177.2 kB / 487 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.148/1.148, allocations: 221.4 MB / 0.7819 GB, free: 6.77 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008553/0.0008554, allocations: 94.52 kB / 0.9213 GB, free: 43.69 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.2333/0.2342, allocations: 148.5 MB / 1.066 GB, free: 7.492 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5098/0.744, allocations: 142.3 MB / 1.205 GB, free: 72.74 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.727/3.471, allocations: 1.92 GB / 3.125 GB, free: 133.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002055/3.471, allocations: 81.02 kB / 3.125 GB, free: 133.1 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 1.169/4.641, allocations: 478.7 MB / 3.593 GB, free: 114.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/4.641, allocations: 12 kB / 3.593 GB, free: 114.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002011/4.643, allocations: 342.3 kB / 3.593 GB, free: 114.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/4.644, allocations: 0.789 MB / 3.594 GB, free: 113.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/4.644, allocations: 23.91 kB / 3.594 GB, free: 113.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.194e-05/4.644, allocations: 40 kB / 3.594 GB, free: 113.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00081/4.645, allocations: 0.5453 MB / 3.595 GB, free: 112.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008691/4.646, allocations: 0.6674 MB / 3.595 GB, free: 112.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/4.646, allocations: 0 / 3.595 GB, free: 112.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.574e-05/4.646, allocations: 0 / 3.595 GB, free: 112.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.606e-05/4.646, allocations: 25.31 kB / 3.595 GB, free: 112.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002887/4.649, allocations: 3.394 MB / 3.599 GB, free: 108.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006197/4.649, allocations: 472.9 kB / 3.599 GB, free: 108.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002759/4.649, allocations: 254 kB / 3.599 GB, free: 107.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004333/4.65, allocations: 0.6808 MB / 3.6 GB, free: 107 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/4.65, allocations: 42.94 kB / 3.6 GB, free: 107 MB / 1.151 GB Notification: Performance of pre-optimization done (n=51): time 1.773e-06/4.65, allocations: 0 / 3.6 GB, free: 107 MB / 1.151 GB Notification: Performance of matching and sorting (n=51): time 0.001071/4.651, allocations: 0.5296 MB / 3.6 GB, free: 106.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.643e-05/4.651, allocations: 55.84 kB / 3.6 GB, free: 106.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004029/4.651, allocations: 463.5 kB / 3.601 GB, free: 105.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.589e-05/4.651, allocations: 29.69 kB / 3.601 GB, free: 105.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 9.139e-05/4.652, allocations: 288 kB / 3.601 GB, free: 105.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/4.652, allocations: 181.3 kB / 3.601 GB, free: 105.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.16e-05/4.652, allocations: 4 kB / 3.601 GB, free: 105.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.417e-05/4.652, allocations: 374.8 kB / 3.602 GB, free: 105 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/4.652, allocations: 173 kB / 3.602 GB, free: 104.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002425/4.652, allocations: 250.4 kB / 3.602 GB, free: 104.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002929/4.653, allocations: 221.4 kB / 3.602 GB, free: 104.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/4.653, allocations: 4 kB / 3.602 GB, free: 104.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006518/4.653, allocations: 0.5348 MB / 3.603 GB, free: 103.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/4.653, allocations: 5.719 kB / 3.603 GB, free: 103.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/4.653, allocations: 4 kB / 3.603 GB, free: 103.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/4.653, allocations: 8.156 kB / 3.603 GB, free: 103.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004857/4.654, allocations: 123.8 kB / 3.603 GB, free: 103.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/4.654, allocations: 7.906 kB / 3.603 GB, free: 103.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000755/4.655, allocations: 75.58 kB / 3.603 GB, free: 103.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.738e-05/4.655, allocations: 16 kB / 3.603 GB, free: 103.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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 8.975e-05/4.655, allocations: 116.8 kB / 3.603 GB, free: 103.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-05/4.655, allocations: 75.16 kB / 3.603 GB, free: 103.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007011/4.656, allocations: 0.5138 MB / 3.604 GB, free: 102.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/4.656, allocations: 7.984 kB / 3.604 GB, free: 102.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/4.656, allocations: 0 / 3.604 GB, free: 102.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005739/4.656, allocations: 0.7473 MB / 3.605 GB, free: 102 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001661/4.658, allocations: 1.378 MB / 3.606 GB, free: 100.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/4.658, allocations: 4 kB / 3.606 GB, free: 100.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006829/4.659, allocations: 143.9 kB / 3.606 GB, free: 100.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/4.659, allocations: 4 kB / 3.606 GB, free: 100.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.691e-05/4.659, allocations: 8 kB / 3.606 GB, free: 100.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/4.659, allocations: 11.89 kB / 3.606 GB, free: 100.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/4.659, allocations: 0 / 3.606 GB, free: 100.4 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008704/4.659, allocations: 0.8813 MB / 3.607 GB, free: 99.5 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001335/4.661, allocations: 1.611 MB / 3.608 GB, free: 97.85 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002671/4.661, allocations: 208.1 kB / 3.609 GB, free: 97.62 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/4.661, allocations: 3.938 kB / 3.609 GB, free: 97.62 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006359/4.662, allocations: 55.8 kB / 3.609 GB, free: 97.57 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.234e-05/4.662, allocations: 32.39 kB / 3.609 GB, free: 97.54 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-05/4.662, allocations: 23.92 kB / 3.609 GB, free: 97.51 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003048/4.662, allocations: 359.2 kB / 3.609 GB, free: 97.17 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001497/4.664, allocations: 495.2 kB / 3.61 GB, free: 96.68 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,cra.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 51 * 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.001254/4.665, allocations: 1.379 MB / 3.611 GB, free: 95.27 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0005399/4.666, allocations: 447.7 kB / 3.611 GB, free: 94.83 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/4.666, allocations: 4.062 kB / 3.611 GB, free: 94.83 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002519/4.666, allocations: 245.5 kB / 3.612 GB, free: 94.59 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/4.667, allocations: 415.1 kB / 3.612 GB, free: 94.19 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/4.67, allocations: 1.461 MB / 3.613 GB, free: 92.69 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005657/4.67, allocations: 1.121 MB / 3.615 GB, free: 91.55 MB / 1.151 GB Notification: Performance of SimCode: time 6.81e-07/4.67, allocations: 0 / 3.615 GB, free: 91.55 MB / 1.151 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe 2>&1)