Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus.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.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Validation_AbsorptionIndirectSteam_EnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Validation_AbsorptionIndirectSteam_EnergyPlus",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.607/1.607, allocations: 289.8 MB / 297.1 MB, free: 6.695 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.001318/0.001318, allocations: 169.3 kB / 366.3 MB, free: 2.023 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.682/1.682, allocations: 205.1 MB / 0.6256 GB, free: 7.48 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.0008986/0.000899, allocations: 80.2 kB / 0.7395 GB, free: 39.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2841/0.285, allocations: 122.4 MB / 0.8591 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7359/1.021, allocations: 116.3 MB / 0.9726 GB, free: 76.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.04/2.061, allocations: 416.7 MB / 1.38 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/2.061, allocations: 88.36 kB / 1.38 GB, free: 139.7 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 2.745/4.806, allocations: 0.7502 GB / 2.13 GB, free: 201.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/4.806, allocations: 14.56 kB / 2.13 GB, free: 201.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005403/4.811, allocations: 0.8778 MB / 2.131 GB, free: 200.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004122/4.815, allocations: 1.514 MB / 2.132 GB, free: 199.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007787/4.816, allocations: 230.7 kB / 2.132 GB, free: 199.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002376/4.816, allocations: 54.28 kB / 2.133 GB, free: 199.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002803/4.819, allocations: 1.304 MB / 2.134 GB, free: 199.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002287/4.821, allocations: 1.138 MB / 2.135 GB, free: 198.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/4.822, allocations: 0 / 2.135 GB, free: 198.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/4.822, allocations: 3.469 kB / 2.135 GB, free: 198.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.667e-05/4.822, allocations: 21.72 kB / 2.135 GB, free: 198.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01135/4.833, allocations: 5.645 MB / 2.14 GB, free: 194.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/4.835, allocations: 1.019 MB / 2.141 GB, free: 193.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007206/4.835, allocations: 0.5575 MB / 2.142 GB, free: 193.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007499/4.836, allocations: 1.079 MB / 2.143 GB, free: 192.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009633/4.837, allocations: 0.6717 MB / 2.144 GB, free: 191.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=64): time 4.138e-06/4.837, allocations: 0 / 2.144 GB, free: 191.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=64): time 0.003302/4.84, allocations: 1.361 MB / 2.145 GB, free: 191 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/4.84, allocations: 87.02 kB / 2.145 GB, free: 190.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002338/4.843, allocations: 1.091 MB / 2.146 GB, free: 190.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001548/4.843, allocations: 32.33 kB / 2.146 GB, free: 190.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000416/4.843, allocations: 418.9 kB / 2.147 GB, free: 190 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002811/4.844, allocations: 210.7 kB / 2.147 GB, free: 189.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-05/4.844, allocations: 0 / 2.147 GB, free: 189.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.432e-05/4.844, allocations: 330.3 kB / 2.147 GB, free: 189.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006986/4.845, allocations: 0.5007 MB / 2.148 GB, free: 189.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008899/4.845, allocations: 0.7132 MB / 2.148 GB, free: 188.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001502/4.847, allocations: 0.5326 MB / 2.149 GB, free: 188.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.251e-06/4.847, allocations: 0 / 2.149 GB, free: 188.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.003261/4.85, allocations: 1.445 MB / 2.15 GB, free: 187.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/4.85, allocations: 7.297 kB / 2.15 GB, free: 187.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/4.85, allocations: 6.094 kB / 2.15 GB, free: 187.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009435/4.851, allocations: 0.6167 MB / 2.151 GB, free: 187.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/4.853, allocations: 252.1 kB / 2.151 GB, free: 187.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002245/4.855, allocations: 1.209 MB / 2.152 GB, free: 186.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002188/4.857, allocations: 220 kB / 2.152 GB, free: 186.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002122/4.857, allocations: 62.78 kB / 2.153 GB, free: 186.4 MB / 0.948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: absChi.Q2_flow:VARIABLE(unit = "W" ) "Heat flow rate into medium 2" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.datRea.nextTimeEvent,absChi.on,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003955/4.858, allocations: 124.4 kB / 2.153 GB, free: 186.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006636/4.858, allocations: 132.9 kB / 2.153 GB, free: 186.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005147/4.864, allocations: 1.784 MB / 2.155 GB, free: 185.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-05/4.864, allocations: 12.47 kB / 2.155 GB, free: 185.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/4.864, allocations: 3.938 kB / 2.155 GB, free: 185.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.534e-05/4.864, allocations: 7.922 kB / 2.155 GB, free: 185.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007558/4.871, allocations: 3.259 MB / 2.158 GB, free: 183.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.435e-05/4.871, allocations: 3.031 kB / 2.158 GB, free: 183.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/4.873, allocations: 235.4 kB / 2.158 GB, free: 183.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008471/4.873, allocations: 0.6056 MB / 2.159 GB, free: 182.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001218/4.874, allocations: 30.3 kB / 2.159 GB, free: 182.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002178/4.876, allocations: 1.21 MB / 2.16 GB, free: 182 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.877e-06/4.876, allocations: 2.031 kB / 2.16 GB, free: 182 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003874/4.88, allocations: 1.694 MB / 2.161 GB, free: 181 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00367/4.883, allocations: 2.149 MB / 2.164 GB, free: 179.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001295/4.885, allocations: 419.8 kB / 2.164 GB, free: 179.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006177/4.885, allocations: 9.969 kB / 2.164 GB, free: 179.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002177/4.887, allocations: 191.2 kB / 2.164 GB, free: 179.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/4.888, allocations: 47.2 kB / 2.164 GB, free: 179.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001852/4.888, allocations: 57.73 kB / 2.164 GB, free: 179 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001964/4.89, allocations: 0.8289 MB / 2.165 GB, free: 178.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003642/4.893, allocations: 0.5915 MB / 2.166 GB, free: 178.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,absChi.on,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 2 (datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.002443/4.896, allocations: 0.9023 MB / 2.166 GB, free: 178 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002935/4.899, allocations: 1.257 MB / 2.168 GB, free: 177.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/4.899, allocations: 5 kB / 2.168 GB, free: 177.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001848/4.901, allocations: 0.7451 MB / 2.168 GB, free: 177.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003555/4.904, allocations: 0.4903 MB / 2.169 GB, free: 177 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007914/4.912, allocations: 2.097 MB / 2.171 GB, free: 175.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002462/4.915, allocations: 1.414 MB / 2.172 GB, free: 174.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.243e-06/4.915, allocations: 4 kB / 2.172 GB, free: 174.3 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Chillers_Validation_AbsorptionIndirectSteam_EnergyPlus_fmu --startTime=23500 --stopTime=32400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Chillers_Validation_AbsorptionIndirectSteam_EnergyPlus.fmu > Buildings_8_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus.pipe 2>&1)