Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_AbsorptionIndirectSteam_EnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.175/2.175, allocations: 390.4 MB / 397.7 MB, free: 10.67 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 180.2 kB / 490.8 MB, free: 11.2 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.579/1.579, allocations: 221.4 MB / 0.7863 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 95.11 kB / 0.9264 GB, free: 20.91 MB / 0.6042 GB Notification: Performance of FrontEnd - loaded program: time 0.3765/0.3777, allocations: 149.1 MB / 1.072 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7658/1.143, allocations: 143 MB / 1.212 GB, free: 53.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.186/2.33, allocations: 429.5 MB / 1.631 GB, free: 70.91 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000353/2.33, allocations: 92.25 kB / 1.631 GB, free: 70.86 MB / 0.9636 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.919/5.249, allocations: 0.7607 GB / 2.392 GB, free: 271.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/5.249, allocations: 6.562 kB / 2.392 GB, free: 271.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005187/5.254, allocations: 0.8792 MB / 2.393 GB, free: 271.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004551/5.259, allocations: 1.537 MB / 2.394 GB, free: 271 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000856/5.26, allocations: 231.1 kB / 2.394 GB, free: 271 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004371/5.26, allocations: 55.31 kB / 2.395 GB, free: 271 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00283/5.263, allocations: 1.3 MB / 2.396 GB, free: 271 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00241/5.265, allocations: 1.17 MB / 2.397 GB, free: 270.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.773e-05/5.265, allocations: 2.406 kB / 2.397 GB, free: 270.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001471/5.265, allocations: 0 / 2.397 GB, free: 270.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.015e-05/5.266, allocations: 35.67 kB / 2.397 GB, free: 270.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0114/5.277, allocations: 5.699 MB / 2.403 GB, free: 269 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/5.279, allocations: 1.046 MB / 2.404 GB, free: 268.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007299/5.279, allocations: 0.5761 MB / 2.404 GB, free: 268.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006803/5.28, allocations: 1.074 MB / 2.405 GB, free: 267.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009349/5.281, allocations: 0.6888 MB / 2.406 GB, free: 267.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=67): time 4.328e-06/5.281, allocations: 0 / 2.406 GB, free: 267.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=67): time 0.003062/5.284, allocations: 1.371 MB / 2.407 GB, free: 267.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/5.284, allocations: 85.27 kB / 2.407 GB, free: 267.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002084/5.286, allocations: 1.089 MB / 2.408 GB, free: 267.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001746/5.286, allocations: 31.17 kB / 2.408 GB, free: 267.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004154/5.287, allocations: 428 kB / 2.409 GB, free: 267.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003085/5.287, allocations: 222 kB / 2.409 GB, free: 266.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.55e-05/5.287, allocations: 0 / 2.409 GB, free: 266.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.354e-05/5.287, allocations: 331.2 kB / 2.409 GB, free: 266.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007277/5.288, allocations: 0.5016 MB / 2.41 GB, free: 266.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008518/5.289, allocations: 0.7005 MB / 2.41 GB, free: 266.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/5.29, allocations: 0.5337 MB / 2.411 GB, free: 266.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/5.29, allocations: 5.438 kB / 2.411 GB, free: 266.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003644/5.294, allocations: 1.473 MB / 2.412 GB, free: 266.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/5.294, allocations: 3.969 kB / 2.412 GB, free: 266.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/5.294, allocations: 7.562 kB / 2.412 GB, free: 266.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009917/5.295, allocations: 0.6109 MB / 2.413 GB, free: 266.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/5.296, allocations: 250.4 kB / 2.413 GB, free: 266.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002107/5.298, allocations: 1.215 MB / 2.414 GB, free: 265.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001977/5.3, allocations: 217.1 kB / 2.415 GB, free: 265.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001673/5.301, allocations: 63.39 kB / 2.415 GB, free: 265.7 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.0003086/5.301, allocations: 131.8 kB / 2.415 GB, free: 265.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002312/5.301, allocations: 131.1 kB / 2.415 GB, free: 265.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004516/5.306, allocations: 1.824 MB / 2.417 GB, free: 265.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/5.306, allocations: 11.47 kB / 2.417 GB, free: 265.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/5.306, allocations: 3.406 kB / 2.417 GB, free: 265.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/5.306, allocations: 10.09 kB / 2.417 GB, free: 265.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00714/5.313, allocations: 3.381 MB / 2.42 GB, free: 265.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/5.313, allocations: 3.625 kB / 2.42 GB, free: 265.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001216/5.314, allocations: 231.2 kB / 2.42 GB, free: 265.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008115/5.315, allocations: 0.6117 MB / 2.421 GB, free: 265.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001276/5.315, allocations: 30.61 kB / 2.421 GB, free: 265.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001965/5.317, allocations: 1.212 MB / 2.422 GB, free: 264.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/5.317, allocations: 3.656 kB / 2.422 GB, free: 264.6 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004163/5.321, allocations: 1.819 MB / 2.424 GB, free: 264.1 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004298/5.326, allocations: 2.278 MB / 2.426 GB, free: 263.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009923/5.327, allocations: 427.6 kB / 2.427 GB, free: 263.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000246/5.327, allocations: 7.594 kB / 2.427 GB, free: 263.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001574/5.329, allocations: 187.3 kB / 2.427 GB, free: 263.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/5.329, allocations: 55.75 kB / 2.427 GB, free: 263.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001344/5.329, allocations: 56.55 kB / 2.427 GB, free: 263.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001166/5.33, allocations: 0.8313 MB / 2.428 GB, free: 263.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002551/5.333, allocations: 0.6002 MB / 2.428 GB, free: 263 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.001861/5.334, allocations: 0.9011 MB / 2.429 GB, free: 262.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002539/5.337, allocations: 1.265 MB / 2.43 GB, free: 262.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/5.337, allocations: 0 / 2.43 GB, free: 262.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001529/5.338, allocations: 0.7504 MB / 2.431 GB, free: 262.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002783/5.341, allocations: 489.5 kB / 2.432 GB, free: 262.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004765/5.346, allocations: 2.118 MB / 2.434 GB, free: 262.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001294/5.347, allocations: 1.429 MB / 2.435 GB, free: 261.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.282e-06/5.347, allocations: 0 / 2.435 GB, free: 261.5 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_AbsorptionIndirectSteam_EnergyPlus_fmu --startTime=23500 --stopTime=32400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_AbsorptionIndirectSteam_EnergyPlus.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus_res.mat does not exist to compare? outputFormat=mat