Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.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.OneOpenDoor,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_OneOpenDoor",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.821/1.821, allocations: 387.2 MB / 394.5 MB, free: 13.67 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 173.2 kB / 487 MB, free: 5.383 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.168/1.168, allocations: 221.3 MB / 0.7819 GB, free: 1.438 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009618/0.0009618, allocations: 94.12 kB / 0.9213 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4175/0.4185, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.6213, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8488/1.47, allocations: 460 MB / 1.655 GB, free: 12.1 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/1.47, allocations: 84.81 kB / 1.655 GB, free: 12.06 MB / 1.089 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.9457/2.416, allocations: 294.7 MB / 1.942 GB, free: 203.8 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/2.416, allocations: 12 kB / 1.942 GB, free: 203.8 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000749/2.417, allocations: 201.7 kB / 1.943 GB, free: 203.6 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002501/2.419, allocations: 1.386 MB / 1.944 GB, free: 202.1 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.346e-05/2.419, allocations: 52 kB / 1.944 GB, free: 202.1 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002416/2.42, allocations: 88 kB / 1.944 GB, free: 202 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003017/2.423, allocations: 2.263 MB / 1.946 GB, free: 199.7 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002207/2.425, allocations: 1.648 MB / 1.948 GB, free: 198 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.646e-05/2.425, allocations: 7.906 kB / 1.948 GB, free: 198 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001428/2.425, allocations: 0 / 1.948 GB, free: 198 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/2.425, allocations: 36 kB / 1.948 GB, free: 198 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006279/2.431, allocations: 5.003 MB / 1.953 GB, free: 192.9 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/2.433, allocations: 1.17 MB / 1.954 GB, free: 191.7 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001457/2.434, allocations: 1.343 MB / 1.955 GB, free: 190.4 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001033/2.435, allocations: 1.734 MB / 1.957 GB, free: 188.3 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/2.435, allocations: 56.56 kB / 1.957 GB, free: 188.2 MB / 1.135 GB Notification: Performance of pre-optimization done (n=237): time 3.056e-06/2.435, allocations: 0 / 1.957 GB, free: 188.2 MB / 1.135 GB Notification: Performance of matching and sorting (n=237): time 0.004267/2.44, allocations: 2.45 MB / 1.959 GB, free: 185.8 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/2.44, allocations: 77.41 kB / 1.959 GB, free: 185.7 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007092/2.44, allocations: 0.6644 MB / 1.96 GB, free: 185 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 9.912e-05/2.441, allocations: 25.7 kB / 1.96 GB, free: 185 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/2.441, allocations: 362.1 kB / 1.961 GB, free: 184.6 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.000377/2.441, allocations: 0.7618 MB / 1.961 GB, free: 183.8 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.036e-05/2.441, allocations: 0 / 1.961 GB, free: 183.8 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 8.69e-05/2.441, allocations: 390 kB / 1.962 GB, free: 183.4 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/2.442, allocations: 0.8474 MB / 1.962 GB, free: 182.6 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/2.443, allocations: 1.047 MB / 1.963 GB, free: 181.5 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002754/2.446, allocations: 1.305 MB / 1.965 GB, free: 180.2 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/2.446, allocations: 0 / 1.965 GB, free: 180.2 MB / 1.135 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004297/2.45, allocations: 2.541 MB / 1.967 GB, free: 177.6 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/2.451, allocations: 4 kB / 1.967 GB, free: 177.6 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/2.451, allocations: 4 kB / 1.967 GB, free: 177.6 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.678e-05/2.451, allocations: 15.94 kB / 1.967 GB, free: 177.6 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/2.452, allocations: 447.7 kB / 1.968 GB, free: 177.2 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.441e-05/2.452, allocations: 12 kB / 1.968 GB, free: 177.2 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/2.453, allocations: 178.2 kB / 1.968 GB, free: 177 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001764/2.454, allocations: 79.92 kB / 1.968 GB, free: 176.9 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 261 * 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.0002521/2.454, allocations: 136.5 kB / 1.968 GB, free: 176.8 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002313/2.454, allocations: 142.2 kB / 1.968 GB, free: 176.6 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004962/2.459, allocations: 2.869 MB / 1.971 GB, free: 173.7 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/2.459, allocations: 27.98 kB / 1.971 GB, free: 173.7 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/2.459, allocations: 0 / 1.971 GB, free: 173.7 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003932/2.463, allocations: 2.518 MB / 1.973 GB, free: 171.1 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00632/2.469, allocations: 4.24 MB / 1.978 GB, free: 166.8 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/2.469, allocations: 0 / 1.978 GB, free: 166.8 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001633/2.471, allocations: 411.6 kB / 1.978 GB, free: 166.4 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003746/2.471, allocations: 93.58 kB / 1.978 GB, free: 166.3 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001379/2.472, allocations: 19.89 kB / 1.978 GB, free: 166.3 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005288/2.472, allocations: 1.124 MB / 1.979 GB, free: 165.1 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/2.472, allocations: 4 kB / 1.979 GB, free: 165.1 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005885/2.478, allocations: 4.219 MB / 1.983 GB, free: 160.9 MB / 1.135 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007376/2.485, allocations: 6.119 MB / 1.989 GB, free: 154.7 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008431/2.486, allocations: 0.4908 MB / 1.99 GB, free: 154.2 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003007/2.487, allocations: 4 kB / 1.99 GB, free: 154.2 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/2.488, allocations: 83.7 kB / 1.99 GB, free: 154.1 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002103/2.488, allocations: 121.9 kB / 1.99 GB, free: 154 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001416/2.488, allocations: 67.98 kB / 1.99 GB, free: 153.9 MB / 1.135 GB Notification: Performance of sort global known variables: time 0.0005767/2.489, allocations: 0.5265 MB / 1.991 GB, free: 153.4 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.002107/2.491, allocations: 0.6787 MB / 1.991 GB, free: 152.7 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (237): * Single equations (assignments): 235 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007955/2.492, allocations: 0.5618 MB / 1.992 GB, free: 152.2 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.002423/2.494, allocations: 2.197 MB / 1.994 GB, free: 150 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/2.494, allocations: 0 / 1.994 GB, free: 150 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.001374/2.495, allocations: 1.233 MB / 1.995 GB, free: 148.7 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001962/2.497, allocations: 469.8 kB / 1.996 GB, free: 148.3 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004597/2.502, allocations: 3.177 MB / 1.999 GB, free: 145.1 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001337/2.503, allocations: 1.588 MB / 2 GB, free: 143.5 MB / 1.135 GB Notification: Performance of SimCode: time 2.71e-07/2.503, allocations: 0 / 2 GB, free: 143.5 MB / 1.135 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_OneOpenDoor_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_OneOpenDoor.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)