Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7833/0.7833, allocations: 141.8 MB / 149.1 MB, free: 1.223 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 185.3 kB / 181.9 MB, free: 0.5703 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 221.4 MB / 436 MB, free: 5.324 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 104.6 kB / 0.507 GB, free: 2.004 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001762/0.001762, allocations: 278.8 kB / 0.5884 GB, free: 47.11 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 0.3902/0.392, allocations: 89.63 MB / 0.676 GB, free: 59.55 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.5455, allocations: 82.78 MB / 0.7568 GB, free: 464 kB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.31/4.855, allocations: 1.88 GB / 2.637 GB, free: 197.5 MB / 0.7139 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/4.856, allocations: 89.31 kB / 2.637 GB, free: 197.5 MB / 0.7139 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.347/6.202, allocations: 474.9 MB / 3.1 GB, free: 6.535 MB / 0.7139 GB Notification: Performance of prepare preOptimizeDAE: time 6.311e-05/6.202, allocations: 13.25 kB / 3.1 GB, free: 6.523 MB / 0.7139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002837/6.205, allocations: 346.3 kB / 3.101 GB, free: 6.184 MB / 0.7139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002111/6.207, allocations: 0.7648 MB / 3.102 GB, free: 5.375 MB / 0.7139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.395e-05/6.207, allocations: 20 kB / 3.102 GB, free: 5.355 MB / 0.7139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002728/6.208, allocations: 43.91 kB / 3.102 GB, free: 5.312 MB / 0.7139 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001275/6.209, allocations: 0.5414 MB / 3.102 GB, free: 4.77 MB / 0.7139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/6.21, allocations: 0.6635 MB / 3.103 GB, free: 4.082 MB / 0.7139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.108e-05/6.21, allocations: 0 / 3.103 GB, free: 4.082 MB / 0.7139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.826e-05/6.21, allocations: 0 / 3.103 GB, free: 4.082 MB / 0.7139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-05/6.21, allocations: 29.3 kB / 3.103 GB, free: 4.055 MB / 0.7139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004279/6.215, allocations: 3.298 MB / 3.106 GB, free: 0.4961 MB / 0.7139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007586/6.216, allocations: 476.3 kB / 3.106 GB, free: 20 kB / 0.7139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3517/6.567, allocations: 244.5 kB / 3.107 GB, free: 208.9 MB / 0.7139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005896/6.568, allocations: 0.6832 MB / 3.107 GB, free: 208.2 MB / 0.7139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.103e-05/6.568, allocations: 44.94 kB / 3.107 GB, free: 208.2 MB / 0.7139 GB Notification: Performance of pre-optimization done (n=51): time 3.897e-06/6.568, allocations: 0 / 3.107 GB, free: 208.2 MB / 0.7139 GB Notification: Performance of matching and sorting (n=51): time 0.001585/6.57, allocations: 0.5252 MB / 3.108 GB, free: 208.1 MB / 0.7139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/6.57, allocations: 55.19 kB / 3.108 GB, free: 208.1 MB / 0.7139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005913/6.57, allocations: 457.6 kB / 3.108 GB, free: 207.9 MB / 0.7139 GB Notification: Performance of collectPreVariables (initialization): time 4.554e-05/6.57, allocations: 28.73 kB / 3.108 GB, free: 207.9 MB / 0.7139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/6.57, allocations: 283 kB / 3.109 GB, free: 207.8 MB / 0.7139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/6.571, allocations: 176.9 kB / 3.109 GB, free: 207.7 MB / 0.7139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.373e-05/6.571, allocations: 0 / 3.109 GB, free: 207.7 MB / 0.7139 GB Notification: Performance of setup shared object (initialization): time 0.0001103/6.571, allocations: 375.1 kB / 3.109 GB, free: 207.4 MB / 0.7139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002406/6.571, allocations: 180.3 kB / 3.109 GB, free: 207.4 MB / 0.7139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002672/6.571, allocations: 257.8 kB / 3.11 GB, free: 207.3 MB / 0.7139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002997/6.572, allocations: 227.3 kB / 3.11 GB, free: 207.3 MB / 0.7139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/6.572, allocations: 0 / 3.11 GB, free: 207.3 MB / 0.7139 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007171/6.572, allocations: 0.5398 MB / 3.11 GB, free: 207.3 MB / 0.7139 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/6.572, allocations: 3.281 kB / 3.11 GB, free: 207.3 MB / 0.7139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/6.572, allocations: 3.281 kB / 3.11 GB, free: 207.3 MB / 0.7139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/6.572, allocations: 2.75 kB / 3.11 GB, free: 207.3 MB / 0.7139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005543/6.573, allocations: 119.2 kB / 3.111 GB, free: 207.3 MB / 0.7139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/6.573, allocations: 5.344 kB / 3.111 GB, free: 207.3 MB / 0.7139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008453/6.574, allocations: 71.72 kB / 3.111 GB, free: 207.2 MB / 0.7139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.408e-05/6.574, allocations: 18.06 kB / 3.111 GB, free: 207.2 MB / 0.7139 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 0.0001057/6.574, allocations: 110.2 kB / 3.111 GB, free: 207.1 MB / 0.7139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/6.574, allocations: 77.97 kB / 3.111 GB, free: 207.1 MB / 0.7139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007709/6.575, allocations: 0.5199 MB / 3.111 GB, free: 207.1 MB / 0.7139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/6.575, allocations: 3.906 kB / 3.111 GB, free: 207.1 MB / 0.7139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/6.575, allocations: 0 / 3.111 GB, free: 207.1 MB / 0.7139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006227/6.575, allocations: 0.7397 MB / 3.112 GB, free: 206.6 MB / 0.7139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00188/6.577, allocations: 1.369 MB / 3.113 GB, free: 206.3 MB / 0.7139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/6.577, allocations: 0 / 3.113 GB, free: 206.3 MB / 0.7139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007302/6.578, allocations: 152.8 kB / 3.113 GB, free: 206.3 MB / 0.7139 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/6.578, allocations: 2.594 kB / 3.113 GB, free: 206.3 MB / 0.7139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.626e-05/6.578, allocations: 3.469 kB / 3.113 GB, free: 206.3 MB / 0.7139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/6.578, allocations: 5.156 kB / 3.114 GB, free: 206.3 MB / 0.7139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/6.578, allocations: 0 / 3.114 GB, free: 206.3 MB / 0.7139 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001049/6.579, allocations: 0.9424 MB / 3.114 GB, free: 206 MB / 0.7139 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001628/6.581, allocations: 1.659 MB / 3.116 GB, free: 205.4 MB / 0.7139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003224/6.581, allocations: 211.9 kB / 3.116 GB, free: 205.3 MB / 0.7139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/6.581, allocations: 6.781 kB / 3.116 GB, free: 205.3 MB / 0.7139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006831/6.582, allocations: 51.47 kB / 3.116 GB, free: 205.3 MB / 0.7139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.387e-05/6.582, allocations: 28.52 kB / 3.116 GB, free: 205.3 MB / 0.7139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.491e-05/6.582, allocations: 19.28 kB / 3.116 GB, free: 205.3 MB / 0.7139 GB Notification: Performance of sort global known variables: time 0.0004005/6.583, allocations: 362.2 kB / 3.117 GB, free: 205.2 MB / 0.7139 GB Notification: Performance of remove unused functions: time 0.001873/6.584, allocations: 491.3 kB / 3.117 GB, free: 205.2 MB / 0.7139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],volB.dynBal.U,volB.dynBal.m,volB.dynBal.mXi[1],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.001685/6.586, allocations: 1.39 MB / 3.119 GB, free: 204.9 MB / 0.7139 GB Notification: Performance of simCode: created initialization part: time 0.000697/6.587, allocations: 450.9 kB / 3.119 GB, free: 204.9 MB / 0.7139 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/6.587, allocations: 2.562 kB / 3.119 GB, free: 204.9 MB / 0.7139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002985/6.587, allocations: 240.4 kB / 3.119 GB, free: 204.9 MB / 0.7139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001835/6.589, allocations: 414.9 kB / 3.12 GB, free: 204.9 MB / 0.7139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/6.591, allocations: 1.432 MB / 3.121 GB, free: 204.6 MB / 0.7139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006724/6.592, allocations: 1.119 MB / 3.122 GB, free: 203.8 MB / 0.7139 GB Notification: Performance of SimCode: time 5.92e-07/6.592, allocations: 0 / 3.122 GB, free: 203.8 MB / 0.7139 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe 2>&1)