Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="IDEAS_dev_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.003163/0.003163, allocations: 177.3 kB / 7.454 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.77/0.77, allocations: 133.5 MB / 141.4 MB, free: 15.65 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.495/1.495, allocations: 221.4 MB / 395 MB, free: 10.24 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.001127/0.001127, allocations: 89.06 kB / 477.8 MB, free: 10.92 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4772/0.4783, allocations: 88.44 MB / 0.5529 GB, free: 88.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.6645, allocations: 82.29 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.54/11.21, allocations: 4.401 GB / 5.034 GB, free: 250.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003527/11.21, allocations: 88.11 kB / 5.034 GB, free: 250.7 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.258/14.47, allocations: 0.9784 GB / 6.012 GB, free: 60.04 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/14.47, allocations: 8 kB / 6.012 GB, free: 60.03 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005123/14.47, allocations: 0.7114 MB / 6.013 GB, free: 59.31 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00547/14.48, allocations: 2.031 MB / 6.015 GB, free: 57.26 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/14.48, allocations: 91.91 kB / 6.015 GB, free: 57.17 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008446/14.48, allocations: 159.9 kB / 6.015 GB, free: 57.01 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00788/14.49, allocations: 4.149 MB / 6.019 GB, free: 52.86 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005627/14.49, allocations: 2.781 MB / 6.022 GB, free: 50.04 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.198e-05/14.49, allocations: 11.91 kB / 6.022 GB, free: 50.03 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002739/14.49, allocations: 0 / 6.022 GB, free: 50.03 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001045/14.49, allocations: 125.4 kB / 6.022 GB, free: 49.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01742/14.51, allocations: 10.73 MB / 6.033 GB, free: 38.68 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005467/14.51, allocations: 4.186 MB / 6.037 GB, free: 34.53 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003035/14.52, allocations: 2.419 MB / 6.039 GB, free: 32.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009201/14.52, allocations: 0.8634 MB / 6.04 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.432e-05/14.52, allocations: 77.83 kB / 6.04 GB, free: 31 MB / 0.698 GB Notification: Performance of pre-optimization done (n=399): time 4.909e-06/14.52, allocations: 0 / 6.04 GB, free: 31 MB / 0.698 GB Notification: Performance of matching and sorting (n=399): time 0.01016/14.53, allocations: 4.436 MB / 6.044 GB, free: 26.53 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/14.53, allocations: 94.55 kB / 6.045 GB, free: 26.42 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001649/14.53, allocations: 1.037 MB / 6.046 GB, free: 25.38 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002939/14.53, allocations: 29.7 kB / 6.046 GB, free: 25.34 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002678/14.53, allocations: 0.5828 MB / 6.046 GB, free: 24.75 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001047/14.53, allocations: 1.277 MB / 6.047 GB, free: 23.45 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/14.53, allocations: 0 / 6.047 GB, free: 23.45 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000156/14.53, allocations: 445.1 kB / 6.048 GB, free: 23.01 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002081/14.53, allocations: 1.537 MB / 6.049 GB, free: 21.47 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002145/14.54, allocations: 1.816 MB / 6.051 GB, free: 19.61 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004639/14.54, allocations: 2.248 MB / 6.053 GB, free: 17.35 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.21e-05/14.54, allocations: 0 / 6.053 GB, free: 17.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007945/14.55, allocations: 4.379 MB / 6.058 GB, free: 12.95 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/14.55, allocations: 4 kB / 6.058 GB, free: 12.94 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/14.55, allocations: 4.406 kB / 6.058 GB, free: 12.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.95e-05/14.55, allocations: 22.95 kB / 6.058 GB, free: 12.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002987/14.55, allocations: 0.6865 MB / 6.058 GB, free: 12.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-05/14.55, allocations: 19.91 kB / 6.058 GB, free: 12.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003084/14.56, allocations: 297.3 kB / 6.059 GB, free: 11.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003523/14.56, allocations: 116 kB / 6.059 GB, free: 11.8 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.0006179/14.56, allocations: 152.2 kB / 6.059 GB, free: 11.65 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007128/14.56, allocations: 233.2 kB / 6.059 GB, free: 11.42 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008911/14.57, allocations: 4.809 MB / 6.064 GB, free: 6.566 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.883e-05/14.57, allocations: 40 kB / 6.064 GB, free: 6.527 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.538e-05/14.57, allocations: 3.938 kB / 6.064 GB, free: 6.523 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007098/14.57, allocations: 4.178 MB / 6.068 GB, free: 2.289 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02074/14.59, allocations: 8.181 MB / 6.076 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-05/14.59, allocations: 8 kB / 6.076 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003904/14.6, allocations: 0.6554 MB / 6.077 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005962/14.6, allocations: 146.5 kB / 6.077 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006294/14.6, allocations: 27.89 kB / 6.077 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005168/14.6, allocations: 4.344 MB / 6.081 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/14.6, allocations: 3.938 kB / 6.081 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.3948/15, allocations: 7.263 MB / 6.088 GB, free: 149 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0174/15.02, allocations: 10.47 MB / 6.098 GB, free: 148.3 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002509/15.02, allocations: 0.7678 MB / 6.099 GB, free: 148.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006522/15.02, allocations: 5.406 kB / 6.099 GB, free: 148.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002525/15.02, allocations: 145.9 kB / 6.099 GB, free: 148.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003837/15.02, allocations: 196 kB / 6.099 GB, free: 148.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002586/15.02, allocations: 114.7 kB / 6.099 GB, free: 148.2 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.001277/15.02, allocations: 0.8008 MB / 6.1 GB, free: 148.1 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.006109/15.03, allocations: 1.418 MB / 6.102 GB, free: 148 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.003829/15.03, allocations: 2.537 MB / 6.104 GB, free: 147.3 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.006419/15.04, allocations: 3.902 MB / 6.108 GB, free: 147.3 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/15.04, allocations: 0 / 6.108 GB, free: 147.3 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.003272/15.04, allocations: 2.447 MB / 6.11 GB, free: 147 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00485/15.05, allocations: 0.8588 MB / 6.111 GB, free: 147 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/15.06, allocations: 5.772 MB / 6.117 GB, free: 146.1 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002861/15.06, allocations: 2.354 MB / 6.119 GB, free: 145.3 MB / 0.7136 GB Notification: Performance of SimCode: time 1.513e-06/15.06, allocations: 0 / 6.119 GB, free: 145.3 MB / 0.7136 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ClosedDoors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ClosedDoors.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)