Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus.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.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_AbsorptionIndirectSteam_EnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.053/2.053, allocations: 387.2 MB / 394.5 MB, free: 13.71 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.00107/0.001071, allocations: 177.3 kB / 487 MB, free: 5.414 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.471/1.471, allocations: 221.3 MB / 0.7819 GB, free: 1.387 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.001004/0.001004, allocations: 106.1 kB / 0.9213 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6373/0.6383, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.9257, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.004/1.93, allocations: 428.7 MB / 1.624 GB, free: 11.16 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/1.93, allocations: 81.27 kB / 1.624 GB, free: 11.12 MB / 1.057 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 2.859/4.789, allocations: 0.7607 GB / 2.385 GB, free: 189.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/4.789, allocations: 8.5 kB / 2.385 GB, free: 189.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005075/4.795, allocations: 0.8855 MB / 2.386 GB, free: 189.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004144/4.799, allocations: 1.532 MB / 2.387 GB, free: 187.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007823/4.8, allocations: 229.4 kB / 2.387 GB, free: 187.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003492/4.8, allocations: 55.91 kB / 2.387 GB, free: 187.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002533/4.802, allocations: 1.309 MB / 2.389 GB, free: 186 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002292/4.805, allocations: 1.163 MB / 2.39 GB, free: 184.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/4.805, allocations: 3.5 kB / 2.39 GB, free: 184.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001392/4.805, allocations: 0 / 2.39 GB, free: 184.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.693e-05/4.805, allocations: 33.98 kB / 2.39 GB, free: 184.7 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01024/4.815, allocations: 5.703 MB / 2.395 GB, free: 178.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001492/4.817, allocations: 1.047 MB / 2.396 GB, free: 177.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007133/4.818, allocations: 0.5728 MB / 2.397 GB, free: 177.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007322/4.818, allocations: 1.08 MB / 2.398 GB, free: 176 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009458/4.819, allocations: 0.6824 MB / 2.399 GB, free: 175.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=67): time 5.279e-06/4.819, allocations: 0 / 2.399 GB, free: 175.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=67): time 0.00315/4.822, allocations: 1.366 MB / 2.4 GB, free: 173.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/4.822, allocations: 93 kB / 2.4 GB, free: 173.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002134/4.825, allocations: 1.084 MB / 2.401 GB, free: 172.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001555/4.825, allocations: 37.64 kB / 2.401 GB, free: 172.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004224/4.825, allocations: 417.3 kB / 2.402 GB, free: 172.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002975/4.826, allocations: 228.7 kB / 2.402 GB, free: 172 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.565e-05/4.826, allocations: 0 / 2.402 GB, free: 172 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001063/4.826, allocations: 334 kB / 2.402 GB, free: 171.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006822/4.826, allocations: 0.504 MB / 2.403 GB, free: 171.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008183/4.827, allocations: 0.691 MB / 2.403 GB, free: 170.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001292/4.829, allocations: 0.5445 MB / 2.404 GB, free: 169.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/4.829, allocations: 3.906 kB / 2.404 GB, free: 169.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002886/4.831, allocations: 1.47 MB / 2.405 GB, free: 168.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/4.832, allocations: 4 kB / 2.405 GB, free: 168.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/4.832, allocations: 4 kB / 2.405 GB, free: 168.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000806/4.832, allocations: 0.6133 MB / 2.406 GB, free: 167.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/4.834, allocations: 253.7 kB / 2.406 GB, free: 167.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001864/4.835, allocations: 1.212 MB / 2.407 GB, free: 166.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00181/4.837, allocations: 215.7 kB / 2.408 GB, free: 166.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001581/4.837, allocations: 59.95 kB / 2.408 GB, free: 166.1 MB / 1.151 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 (75): * Single equations (assignments): 74 * 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.000288/4.838, allocations: 137.3 kB / 2.408 GB, free: 166 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003337/4.838, allocations: 134.3 kB / 2.408 GB, free: 165.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004168/4.842, allocations: 1.83 MB / 2.41 GB, free: 164.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.781e-05/4.842, allocations: 15.91 kB / 2.41 GB, free: 164.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/4.842, allocations: 0 / 2.41 GB, free: 164.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/4.842, allocations: 3.984 kB / 2.41 GB, free: 164 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006428/4.849, allocations: 3.388 MB / 2.413 GB, free: 160.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/4.849, allocations: 4 kB / 2.413 GB, free: 160.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/4.85, allocations: 233.4 kB / 2.413 GB, free: 160.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008199/4.851, allocations: 0.6098 MB / 2.414 GB, free: 159.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001146/4.851, allocations: 23.97 kB / 2.414 GB, free: 159.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001844/4.853, allocations: 1.211 MB / 2.415 GB, free: 158.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/4.853, allocations: 4 kB / 2.415 GB, free: 158.6 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003725/4.856, allocations: 1.826 MB / 2.417 GB, free: 156.7 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00396/4.86, allocations: 2.267 MB / 2.419 GB, free: 154.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008811/4.861, allocations: 438.3 kB / 2.419 GB, free: 153.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003775/4.862, allocations: 7.984 kB / 2.419 GB, free: 153.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00175/4.864, allocations: 184.5 kB / 2.42 GB, free: 153.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/4.864, allocations: 56.17 kB / 2.42 GB, free: 153.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001269/4.864, allocations: 55.95 kB / 2.42 GB, free: 153.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001419/4.865, allocations: 0.8271 MB / 2.421 GB, free: 152.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002815/4.868, allocations: 0.6005 MB / 2.421 GB, free: 152.2 MB / 1.151 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 (75): * Single equations (assignments): 67 * 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.00259/4.871, allocations: 0.8927 MB / 2.422 GB, free: 151.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002632/4.873, allocations: 1.263 MB / 2.423 GB, free: 150.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/4.873, allocations: 0 / 2.423 GB, free: 150.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0015/4.875, allocations: 0.7531 MB / 2.424 GB, free: 149.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002788/4.878, allocations: 489.7 kB / 2.424 GB, free: 149.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005375/4.883, allocations: 2.119 MB / 2.427 GB, free: 146.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001589/4.885, allocations: 1.426 MB / 2.428 GB, free: 145.5 MB / 1.151 GB Notification: Performance of SimCode: time 7.61e-07/4.885, allocations: 0 / 2.428 GB, free: 145.5 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Validation_AbsorptionIndirectSteam_EnergyPlus_fmu --startTime=23500 --stopTime=32400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Validation_AbsorptionIndirectSteam_EnergyPlus.fmu > Buildings_9_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus_res.mat does not exist to compare? outputFormat=mat