Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.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.Examples.AbsorptionIndirectSteamVaryingLoad,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad",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.593/1.593, allocations: 289.8 MB / 297.1 MB, free: 6.676 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.001585/0.001586, allocations: 177.2 kB / 366.3 MB, free: 1.973 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.621/1.621, allocations: 205.1 MB / 0.6256 GB, free: 7.469 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.00109/0.00109, allocations: 80.83 kB / 0.7395 GB, free: 39.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2993/0.3004, allocations: 122.4 MB / 0.8591 GB, free: 13.53 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7892/1.09, allocations: 116.3 MB / 0.9726 GB, free: 76.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9842/2.074, allocations: 453.8 MB / 1.416 GB, free: 101.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/2.074, allocations: 90.88 kB / 1.416 GB, free: 101.2 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: 313 * Number of variables: 313 Notification: Performance of Generate backend data structure: time 3.97/6.045, allocations: 1.1 GB / 2.516 GB, free: 133.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/6.045, allocations: 10.44 kB / 2.516 GB, free: 133.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007594/6.052, allocations: 1.139 MB / 2.517 GB, free: 133.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01142/6.064, allocations: 2.645 MB / 2.52 GB, free: 133.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005672/6.065, allocations: 176.6 kB / 2.52 GB, free: 133.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004035/6.065, allocations: 80.34 kB / 2.52 GB, free: 133.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00289/6.068, allocations: 1.46 MB / 2.521 GB, free: 133.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002485/6.07, allocations: 1.475 MB / 2.523 GB, free: 133 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.998e-05/6.07, allocations: 5.594 kB / 2.523 GB, free: 133 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000138/6.071, allocations: 0 / 2.523 GB, free: 133 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.068e-05/6.071, allocations: 31.16 kB / 2.523 GB, free: 133 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01613/6.087, allocations: 8.122 MB / 2.531 GB, free: 128.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003108/6.09, allocations: 1.229 MB / 2.532 GB, free: 128.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001176/6.091, allocations: 0.5296 MB / 2.532 GB, free: 127.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008862/6.1, allocations: 3.521 MB / 2.536 GB, free: 125.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/6.1, allocations: 41.98 kB / 2.536 GB, free: 125.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=62): time 4.298e-06/6.1, allocations: 0 / 2.536 GB, free: 125.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=62): time 0.005726/6.106, allocations: 1.409 MB / 2.537 GB, free: 124.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/6.106, allocations: 59.56 kB / 2.537 GB, free: 124.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003784/6.11, allocations: 1.451 MB / 2.539 GB, free: 124.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000281/6.11, allocations: 29.77 kB / 2.539 GB, free: 124.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005281/6.111, allocations: 0.6172 MB / 2.539 GB, free: 123.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003717/6.111, allocations: 204.8 kB / 2.54 GB, free: 123.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/6.111, allocations: 6.125 kB / 2.54 GB, free: 123.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001191/6.111, allocations: 346.3 kB / 2.54 GB, free: 123.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001167/6.112, allocations: 0.4986 MB / 2.54 GB, free: 123.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001422/6.114, allocations: 0.886 MB / 2.541 GB, free: 122.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003202/6.117, allocations: 0.6551 MB / 2.542 GB, free: 122.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-05/6.117, allocations: 3.938 kB / 2.542 GB, free: 122.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.006551/6.124, allocations: 1.699 MB / 2.544 GB, free: 121.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001437/6.125, allocations: 3.74 MB / 2.547 GB, free: 117.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.736e-05/6.125, allocations: 14.16 kB / 2.547 GB, free: 117.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002302/6.128, allocations: 0.6575 MB / 2.548 GB, free: 117.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002671/6.13, allocations: 306.9 kB / 2.548 GB, free: 117.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003989/6.134, allocations: 1.341 MB / 2.549 GB, free: 116.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004654/6.139, allocations: 274.1 kB / 2.55 GB, free: 116.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006643/6.14, allocations: 80.7 kB / 2.55 GB, free: 116.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/6.14, allocations: 7.031 kB / 2.55 GB, free: 116.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008053/6.148, allocations: 1.595 MB / 2.551 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.685e-05/6.148, allocations: 8.312 kB / 2.551 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002115/6.15, allocations: 0.6618 MB / 2.552 GB, free: 116 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002375/6.152, allocations: 300.1 kB / 2.552 GB, free: 116 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003937/6.156, allocations: 1.342 MB / 2.554 GB, free: 115.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004321/6.161, allocations: 235.4 kB / 2.554 GB, free: 115.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005145/6.161, allocations: 80.56 kB / 2.554 GB, free: 115.1 MB / 0.948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real chi.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: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 95 * Array equations: 1 * 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 {2 11} Notification: Performance of prepare postOptimizeDAE: time 0.0009663/6.162, allocations: 143 kB / 2.554 GB, free: 115 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001326/6.164, allocations: 181.2 kB / 2.554 GB, free: 114.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008112/6.172, allocations: 1.701 MB / 2.556 GB, free: 114.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.217e-05/6.172, allocations: 11.88 kB / 2.556 GB, free: 114.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.491e-05/6.172, allocations: 0 / 2.556 GB, free: 114.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-05/6.172, allocations: 5.719 kB / 2.556 GB, free: 114.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01401/6.186, allocations: 3.374 MB / 2.559 GB, free: 112.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/6.186, allocations: 0 / 2.559 GB, free: 112.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001781/6.188, allocations: 203.4 kB / 2.559 GB, free: 112.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001656/6.189, allocations: 0.6344 MB / 2.56 GB, free: 112.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001961/6.19, allocations: 23.41 kB / 2.56 GB, free: 112.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003589/6.193, allocations: 1.315 MB / 2.561 GB, free: 111.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.048e-05/6.193, allocations: 2.156 kB / 2.561 GB, free: 111.9 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006479/6.2, allocations: 1.708 MB / 2.563 GB, free: 111.1 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006766/6.207, allocations: 2.194 MB / 2.565 GB, free: 109.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002005/6.209, allocations: 456.8 kB / 2.566 GB, free: 109.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001002/6.21, allocations: 9.5 kB / 2.566 GB, free: 109.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003471/6.213, allocations: 179.1 kB / 2.566 GB, free: 109.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/6.213, allocations: 44.42 kB / 2.566 GB, free: 109.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002586/6.214, allocations: 64.2 kB / 2.566 GB, free: 109.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.003885/6.218, allocations: 1.106 MB / 2.567 GB, free: 109 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01171/6.229, allocations: 1.409 MB / 2.568 GB, free: 108.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {2 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.004244/6.234, allocations: 1.194 MB / 2.569 GB, free: 108 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007835/6.241, allocations: 2.096 MB / 2.572 GB, free: 107.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.246e-05/6.242, allocations: 0 / 2.572 GB, free: 107.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002653/6.244, allocations: 0.667 MB / 2.572 GB, free: 107.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006229/6.25, allocations: 0.6698 MB / 2.573 GB, free: 107.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0132/6.264, allocations: 2.65 MB / 2.575 GB, free: 106.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00381/6.268, allocations: 1.68 MB / 2.577 GB, free: 105.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.563e-06/6.268, allocations: 0 / 2.577 GB, free: 105.3 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad.fmu > Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1)