Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ClosedDoors",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/Complex 4.0.0+maint.om/package.mo): time 0.004059/0.004059, allocations: 183.2 kB / 7.459 MB, free: 1.879 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7104/0.7104, allocations: 133.5 MB / 141.4 MB, free: 15.66 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.609/1.609, allocations: 221.3 MB / 395 MB, free: 10.23 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 94.53 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5033/0.5046, allocations: 88.43 MB / 0.5529 GB, free: 89.24 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.6945, allocations: 82.3 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.5/11.19, allocations: 4.401 GB / 5.034 GB, free: 253.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/11.2, allocations: 82.7 kB / 5.034 GB, free: 253.3 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 3.296/14.49, allocations: 0.9784 GB / 6.012 GB, free: 73.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/14.49, allocations: 11.94 kB / 6.012 GB, free: 73.29 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005297/14.5, allocations: 0.7143 MB / 6.013 GB, free: 72.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005402/14.5, allocations: 2.028 MB / 6.015 GB, free: 70.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.128e-05/14.5, allocations: 91.56 kB / 6.015 GB, free: 70.44 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005268/14.5, allocations: 155.9 kB / 6.015 GB, free: 70.29 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007824/14.51, allocations: 4.153 MB / 6.019 GB, free: 66.12 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006044/14.52, allocations: 2.785 MB / 6.022 GB, free: 63.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.145e-05/14.52, allocations: 11.84 kB / 6.022 GB, free: 63.29 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000261/14.52, allocations: 4 kB / 6.022 GB, free: 63.29 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.41e-05/14.52, allocations: 129.4 kB / 6.022 GB, free: 63.16 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0166/14.53, allocations: 10.72 MB / 6.033 GB, free: 51.95 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005539/14.54, allocations: 4.185 MB / 6.037 GB, free: 47.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003003/14.54, allocations: 2.415 MB / 6.039 GB, free: 45.38 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001016/14.54, allocations: 0.8724 MB / 6.04 GB, free: 44.35 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.62e-05/14.54, allocations: 77.7 kB / 6.04 GB, free: 44.27 MB / 0.698 GB Notification: Performance of pre-optimization done (n=399): time 5.441e-06/14.54, allocations: 0 / 6.04 GB, free: 44.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=399): time 0.009791/14.55, allocations: 4.436 MB / 6.044 GB, free: 39.79 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/14.55, allocations: 90.55 kB / 6.045 GB, free: 39.69 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/14.56, allocations: 1.037 MB / 6.046 GB, free: 38.65 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002634/14.56, allocations: 25.7 kB / 6.046 GB, free: 38.62 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002672/14.56, allocations: 0.5827 MB / 6.046 GB, free: 38.02 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009947/14.56, allocations: 1.277 MB / 6.047 GB, free: 36.73 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/14.56, allocations: 0 / 6.047 GB, free: 36.73 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002029/14.56, allocations: 445 kB / 6.048 GB, free: 36.29 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002203/14.56, allocations: 1.537 MB / 6.049 GB, free: 34.75 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002296/14.56, allocations: 1.819 MB / 6.051 GB, free: 32.88 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004975/14.57, allocations: 2.252 MB / 6.053 GB, free: 30.61 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/14.57, allocations: 0 / 6.053 GB, free: 30.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008816/14.58, allocations: 4.376 MB / 6.058 GB, free: 26.21 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/14.58, allocations: 6.969 kB / 6.058 GB, free: 26.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/14.58, allocations: 4 kB / 6.058 GB, free: 26.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.535e-05/14.58, allocations: 19.98 kB / 6.058 GB, free: 26.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003235/14.58, allocations: 0.6826 MB / 6.058 GB, free: 25.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.239e-05/14.58, allocations: 19.91 kB / 6.058 GB, free: 25.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003642/14.58, allocations: 289.5 kB / 6.059 GB, free: 25.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003236/14.58, allocations: 120 kB / 6.059 GB, free: 25.08 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (430): * Single equations (assignments): 430 * 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.0006126/14.58, allocations: 148.2 kB / 6.059 GB, free: 24.93 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005636/14.58, allocations: 241.1 kB / 6.059 GB, free: 24.69 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01018/14.59, allocations: 4.815 MB / 6.064 GB, free: 19.83 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.429e-05/14.59, allocations: 44 kB / 6.064 GB, free: 19.79 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-05/14.59, allocations: 0 / 6.064 GB, free: 19.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008177/14.6, allocations: 4.176 MB / 6.068 GB, free: 15.56 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01762/14.62, allocations: 8.18 MB / 6.076 GB, free: 7.398 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.566e-05/14.62, allocations: 0 / 6.076 GB, free: 7.398 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003416/14.62, allocations: 0.6632 MB / 6.077 GB, free: 6.734 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005129/14.62, allocations: 146.1 kB / 6.077 GB, free: 6.586 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002737/14.63, allocations: 35.89 kB / 6.077 GB, free: 6.551 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003627/14.63, allocations: 4.332 MB / 6.081 GB, free: 1.875 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/14.63, allocations: 4 kB / 6.081 GB, free: 1.871 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01581/14.64, allocations: 7.27 MB / 6.088 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02028/14.66, allocations: 10.46 MB / 6.098 GB, free: 32 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.4263/15.09, allocations: 0.7647 MB / 6.099 GB, free: 149.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008244/15.09, allocations: 0 / 6.099 GB, free: 149.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00327/15.1, allocations: 151.2 kB / 6.099 GB, free: 149.4 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004495/15.1, allocations: 194.8 kB / 6.099 GB, free: 149.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002974/15.1, allocations: 114.4 kB / 6.099 GB, free: 149.4 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.001499/15.1, allocations: 0.8072 MB / 6.1 GB, free: 149.3 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.007343/15.11, allocations: 1.411 MB / 6.102 GB, free: 149.3 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],volB.dynBal.U,volB.dynBal.m,volB.dynBal.mXi[1],volC.dynBal.U,volC.dynBal.m,volC.dynBal.mXi[1],dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (393): * Single equations (assignments): 390 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003795/15.11, allocations: 2.538 MB / 6.104 GB, free: 148.6 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00693/15.12, allocations: 3.905 MB / 6.108 GB, free: 148.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/15.12, allocations: 0 / 6.108 GB, free: 148.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.003628/15.12, allocations: 2.45 MB / 6.11 GB, free: 148.2 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007762/15.13, allocations: 0.8596 MB / 6.111 GB, free: 148.2 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01296/15.14, allocations: 5.767 MB / 6.117 GB, free: 147.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003116/15.14, allocations: 2.356 MB / 6.119 GB, free: 146.5 MB / 0.7136 GB Notification: Performance of SimCode: time 7.51e-07/15.14, allocations: 0 / 6.119 GB, free: 146.5 MB / 0.7136 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_ClosedDoors.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)