Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.237/1.237, allocations: 249.4 MB / 256.7 MB, free: 6.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009479/0.0009478, allocations: 192.4 kB / 316 MB, free: 3.512 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.112/1.112, allocations: 205.1 MB / 0.5667 GB, free: 15.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008162/0.0008162, allocations: 89.05 kB / 0.671 GB, free: 4.719 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3355/0.3364, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.495, allocations: 106.3 MB / 0.8847 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.048/1.543, allocations: 446.4 MB / 1.321 GB, free: 300.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/1.544, allocations: 91.94 kB / 1.321 GB, free: 300.1 MB / 0.8698 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 2.921/4.465, allocations: 1.069 GB / 2.39 GB, free: 132.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/4.465, allocations: 14.34 kB / 2.39 GB, free: 132.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005947/4.471, allocations: 1.133 MB / 2.391 GB, free: 132.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006177/4.477, allocations: 2.65 MB / 2.394 GB, free: 132 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004601/4.478, allocations: 172.1 kB / 2.394 GB, free: 132 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003509/4.478, allocations: 78.75 kB / 2.394 GB, free: 132 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00237/4.48, allocations: 1.455 MB / 2.395 GB, free: 132 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002096/4.482, allocations: 1.476 MB / 2.397 GB, free: 131.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.586e-05/4.483, allocations: 3.469 kB / 2.397 GB, free: 131.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/4.483, allocations: 1.406 kB / 2.397 GB, free: 131.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.195e-05/4.483, allocations: 35.28 kB / 2.397 GB, free: 131.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01351/4.496, allocations: 8.117 MB / 2.405 GB, free: 128.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001758/4.498, allocations: 1.23 MB / 2.406 GB, free: 128.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006211/4.499, allocations: 0.5236 MB / 2.406 GB, free: 128.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004574/4.503, allocations: 3.503 MB / 2.41 GB, free: 126.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/4.503, allocations: 39.47 kB / 2.41 GB, free: 126.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=62): time 2.275e-06/4.503, allocations: 0 / 2.41 GB, free: 126.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=62): time 0.002768/4.506, allocations: 1.406 MB / 2.411 GB, free: 126.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.996e-05/4.506, allocations: 57.03 kB / 2.411 GB, free: 126.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001872/4.508, allocations: 1.454 MB / 2.413 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001289/4.508, allocations: 31.67 kB / 2.413 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003148/4.508, allocations: 0.6188 MB / 2.413 GB, free: 125.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000177/4.509, allocations: 209.6 kB / 2.414 GB, free: 125.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.009e-05/4.509, allocations: 0 / 2.414 GB, free: 125.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.122e-05/4.509, allocations: 345.1 kB / 2.414 GB, free: 125.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006351/4.509, allocations: 0.4994 MB / 2.414 GB, free: 125.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007742/4.51, allocations: 0.8845 MB / 2.415 GB, free: 124.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001681/4.512, allocations: 0.6489 MB / 2.416 GB, free: 124.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/4.512, allocations: 3.625 kB / 2.416 GB, free: 124.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003323/4.515, allocations: 1.711 MB / 2.418 GB, free: 124.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006985/4.516, allocations: 3.747 MB / 2.421 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/4.516, allocations: 11.38 kB / 2.421 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00122/4.517, allocations: 0.657 MB / 2.422 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/4.519, allocations: 305.7 kB / 2.422 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002026/4.521, allocations: 1.346 MB / 2.423 GB, free: 120.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002273/4.523, allocations: 271.9 kB / 2.424 GB, free: 120.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001685/4.523, allocations: 80.98 kB / 2.424 GB, free: 120.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/4.523, allocations: 3.562 kB / 2.424 GB, free: 120.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004222/4.527, allocations: 1.598 MB / 2.425 GB, free: 120.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/4.527, allocations: 7.781 kB / 2.425 GB, free: 120.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001086/4.528, allocations: 0.6604 MB / 2.426 GB, free: 120.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/4.53, allocations: 296.3 kB / 2.426 GB, free: 120.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001975/4.532, allocations: 1.34 MB / 2.428 GB, free: 119.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00207/4.534, allocations: 241.9 kB / 2.428 GB, free: 119.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/4.534, allocations: 83.89 kB / 2.428 GB, free: 119.7 MB / 0.8698 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.0003882/4.534, allocations: 134.6 kB / 2.428 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000353/4.535, allocations: 179.8 kB / 2.428 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003614/4.538, allocations: 1.694 MB / 2.43 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/4.538, allocations: 13.59 kB / 2.43 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/4.538, allocations: 7.156 kB / 2.43 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.759e-06/4.538, allocations: 3.375 kB / 2.43 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006596/4.545, allocations: 3.358 MB / 2.433 GB, free: 119 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/4.545, allocations: 0 / 2.433 GB, free: 119 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/4.546, allocations: 204.5 kB / 2.433 GB, free: 119 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009008/4.547, allocations: 0.6432 MB / 2.434 GB, free: 119 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.033e-05/4.547, allocations: 26 kB / 2.434 GB, free: 119 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00195/4.549, allocations: 1.309 MB / 2.435 GB, free: 118.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/4.549, allocations: 3.688 kB / 2.435 GB, free: 118.5 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00312/4.552, allocations: 1.71 MB / 2.437 GB, free: 118 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003339/4.556, allocations: 2.183 MB / 2.439 GB, free: 117 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008361/4.556, allocations: 455.5 kB / 2.44 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002798/4.557, allocations: 3.812 kB / 2.44 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001644/4.558, allocations: 182.1 kB / 2.44 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/4.558, allocations: 50.92 kB / 2.44 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/4.559, allocations: 60.34 kB / 2.44 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001444/4.56, allocations: 1.108 MB / 2.441 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005651/4.566, allocations: 1.369 MB / 2.442 GB, free: 115.6 MB / 0.8698 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.00226/4.568, allocations: 1.186 MB / 2.443 GB, free: 115.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004201/4.572, allocations: 2.086 MB / 2.445 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/4.572, allocations: 0 / 2.445 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001553/4.574, allocations: 0.6718 MB / 2.446 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003283/4.577, allocations: 0.6768 MB / 2.447 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00599/4.583, allocations: 2.647 MB / 2.449 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001478/4.585, allocations: 1.681 MB / 2.451 GB, free: 112.5 MB / 0.8698 GB Notification: Performance of SimCode: time 7.41e-07/4.585, allocations: 1.375 kB / 2.451 GB, free: 112.5 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1)