Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_Condensation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_Condensation",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 8.1.4-maint.8.1.x/package.mo): time 1.659/1.659, allocations: 289.8 MB / 297 MB, free: 6.609 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001306/0.001306, allocations: 180.2 kB / 366.3 MB, free: 1.941 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 205.1 MB / 0.6256 GB, free: 5.824 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000916/0.0009157, allocations: 95.09 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3025/0.3034, allocations: 122.4 MB / 0.8591 GB, free: 13.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7168/1.02, allocations: 116.3 MB / 0.9727 GB, free: 68.2 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1766/1.197, allocations: 138.7 MB / 1.108 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/1.197, allocations: 87.88 kB / 1.108 GB, free: 9.645 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.003221/1.2, allocations: 1.073 MB / 1.109 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/1.201, allocations: 12 kB / 1.109 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.322e-05/1.201, allocations: 3.906 kB / 1.109 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/1.201, allocations: 170.9 kB / 1.109 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/1.201, allocations: 0 / 1.109 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/1.201, allocations: 4 kB / 1.109 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.605e-05/1.201, allocations: 16.84 kB / 1.109 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.893e-05/1.201, allocations: 41.69 kB / 1.109 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/1.201, allocations: 0 / 1.109 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/1.201, allocations: 0 / 1.109 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/1.201, allocations: 4 kB / 1.109 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005008/1.202, allocations: 269.3 kB / 1.11 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.31e-05/1.202, allocations: 30.58 kB / 1.11 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.782e-05/1.202, allocations: 16.86 kB / 1.11 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/1.202, allocations: 0 / 1.11 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/1.202, allocations: 39.03 kB / 1.11 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/1.202, allocations: 0 / 1.11 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001786/1.202, allocations: 49.72 kB / 1.11 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/1.202, allocations: 51.41 kB / 1.11 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.748e-05/1.202, allocations: 103.5 kB / 1.11 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/1.202, allocations: 25.7 kB / 1.11 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.254e-05/1.202, allocations: 89.91 kB / 1.11 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/1.202, allocations: 11.81 kB / 1.11 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-06/1.202, allocations: 0 / 1.11 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001363/1.202, allocations: 314.8 kB / 1.11 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.496e-05/1.202, allocations: 8 kB / 1.11 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.007e-05/1.202, allocations: 8 kB / 1.11 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.627e-05/1.202, allocations: 16.11 kB / 1.11 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.202, allocations: 0 / 1.11 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.819e-05/1.202, allocations: 49.61 kB / 1.111 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/1.203, allocations: 8 kB / 1.111 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/1.203, allocations: 0 / 1.111 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/1.203, allocations: 0 / 1.111 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/1.203, allocations: 35.84 kB / 1.111 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/1.203, allocations: 0 / 1.111 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.823e-05/1.203, allocations: 19.92 kB / 1.111 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/1.203, allocations: 4 kB / 1.111 GB, free: 7.016 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.391e-05/1.203, allocations: 109.4 kB / 1.111 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/1.203, allocations: 0 / 1.111 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.476e-05/1.203, allocations: 12 kB / 1.111 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/1.203, allocations: 4.547 kB / 1.111 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.203, allocations: 0 / 1.111 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/1.203, allocations: 0 / 1.111 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/1.203, allocations: 146.1 kB / 1.111 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/1.203, allocations: 0 / 1.111 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/1.203, allocations: 23.98 kB / 1.111 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/1.203, allocations: 4.562 kB / 1.111 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/1.203, allocations: 0 / 1.111 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/1.203, allocations: 0 / 1.111 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.203, allocations: 0 / 1.111 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001416/1.204, allocations: 155.4 kB / 1.111 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003038/1.204, allocations: 0.5141 MB / 1.112 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.664e-05/1.204, allocations: 81.86 kB / 1.112 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/1.204, allocations: 7.984 kB / 1.112 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/1.204, allocations: 23.98 kB / 1.112 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/1.204, allocations: 0 / 1.112 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/1.204, allocations: 4 kB / 1.112 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.155e-05/1.204, allocations: 87.27 kB / 1.112 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008154/1.205, allocations: 8 kB / 1.112 GB, free: 5.746 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001443/1.205, allocations: 95.25 kB / 1.112 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.884e-05/1.205, allocations: 27.94 kB / 1.112 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/1.205, allocations: 1.125 kB / 1.112 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.19e-05/1.205, allocations: 12 kB / 1.112 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/1.206, allocations: 15.89 kB / 1.112 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000281/1.206, allocations: 71.77 kB / 1.112 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003328/1.206, allocations: 0.6954 MB / 1.113 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of SimCode: time 3.11e-07/1.206, allocations: 0 / 1.113 GB, free: 4.777 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_Condensation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_Condensation.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.Condensation.pipe 2>&1)