Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.035/2.035, allocations: 248.6 MB / 255.9 MB, free: 7.137 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.001716/0.001715, allocations: 195.7 kB / 315.1 MB, free: 4.273 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.858/1.858, allocations: 205.1 MB / 0.5658 GB, free: 372 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001346/0.001346, allocations: 94.14 kB / 0.67 GB, free: 5.586 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4555/0.4569, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.6719, allocations: 106.2 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.503/2.175, allocations: 446.1 MB / 1.319 GB, free: 256.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000332/2.175, allocations: 90.27 kB / 1.319 GB, free: 256.5 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 4.916/7.091, allocations: 1.069 GB / 2.389 GB, free: 129 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/7.091, allocations: 10.09 kB / 2.389 GB, free: 129 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01178/7.103, allocations: 1.137 MB / 2.39 GB, free: 128.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01188/7.115, allocations: 2.643 MB / 2.392 GB, free: 128.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009109/7.116, allocations: 180.1 kB / 2.392 GB, free: 128.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006412/7.117, allocations: 78 kB / 2.392 GB, free: 128.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00522/7.122, allocations: 1.453 MB / 2.394 GB, free: 128.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004786/7.127, allocations: 1.471 MB / 2.395 GB, free: 128.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.344e-05/7.127, allocations: 4.594 kB / 2.395 GB, free: 128.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002582/7.127, allocations: 3.031 kB / 2.395 GB, free: 128.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.308e-05/7.127, allocations: 34.55 kB / 2.395 GB, free: 128.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02431/7.151, allocations: 8.099 MB / 2.403 GB, free: 124.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003597/7.155, allocations: 1.239 MB / 2.404 GB, free: 124.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001453/7.157, allocations: 0.5234 MB / 2.405 GB, free: 124.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009158/7.166, allocations: 3.511 MB / 2.408 GB, free: 123 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/7.166, allocations: 42.36 kB / 2.408 GB, free: 122.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=62): time 3.897e-06/7.166, allocations: 2.25 kB / 2.408 GB, free: 122.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=62): time 0.005676/7.172, allocations: 1.407 MB / 2.41 GB, free: 122.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/7.172, allocations: 59.62 kB / 2.41 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00366/7.175, allocations: 1.45 MB / 2.411 GB, free: 122.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003609/7.176, allocations: 31.45 kB / 2.411 GB, free: 122.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005976/7.176, allocations: 0.6251 MB / 2.412 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004166/7.177, allocations: 208 kB / 2.412 GB, free: 122 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/7.177, allocations: 0 / 2.412 GB, free: 122 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.933e-05/7.177, allocations: 337.3 kB / 2.412 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001362/7.178, allocations: 0.5047 MB / 2.413 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001721/7.18, allocations: 0.8825 MB / 2.414 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003674/7.184, allocations: 0.6504 MB / 2.414 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.551e-05/7.184, allocations: 3.688 kB / 2.414 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.007188/7.191, allocations: 1.709 MB / 2.416 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009538/7.192, allocations: 3.737 MB / 2.42 GB, free: 117.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.342e-05/7.192, allocations: 12.12 kB / 2.42 GB, free: 117.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00233/7.195, allocations: 0.6645 MB / 2.42 GB, free: 117.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003001/7.198, allocations: 306 kB / 2.421 GB, free: 117.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00417/7.202, allocations: 1.338 MB / 2.422 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004267/7.206, allocations: 274.5 kB / 2.422 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004638/7.207, allocations: 78.53 kB / 2.422 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/7.207, allocations: 3.969 kB / 2.422 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008274/7.215, allocations: 1.59 MB / 2.424 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.992e-05/7.215, allocations: 12.72 kB / 2.424 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002155/7.217, allocations: 0.6737 MB / 2.425 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002866/7.22, allocations: 294.5 kB / 2.425 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004086/7.224, allocations: 1.335 MB / 2.426 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003941/7.228, allocations: 237.1 kB / 2.426 GB, free: 116 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004595/7.229, allocations: 86.97 kB / 2.426 GB, free: 116 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.0005315/7.229, allocations: 134.2 kB / 2.427 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006889/7.23, allocations: 178.1 kB / 2.427 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007513/7.238, allocations: 1.697 MB / 2.428 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.511e-05/7.238, allocations: 11.44 kB / 2.428 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/7.238, allocations: 7.719 kB / 2.428 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/7.238, allocations: 3.844 kB / 2.428 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0124/7.25, allocations: 3.356 MB / 2.432 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.578e-05/7.25, allocations: 5.031 kB / 2.432 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00225/7.253, allocations: 204.2 kB / 2.432 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001888/7.254, allocations: 0.6377 MB / 2.433 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002698/7.255, allocations: 22.73 kB / 2.433 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004136/7.259, allocations: 1.316 MB / 2.434 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.318e-06/7.259, allocations: 2.719 kB / 2.434 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006603/7.266, allocations: 1.705 MB / 2.436 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007293/7.273, allocations: 2.19 MB / 2.438 GB, free: 112 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00171/7.275, allocations: 456.2 kB / 2.438 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007635/7.276, allocations: 1.562 kB / 2.438 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003828/7.279, allocations: 188 kB / 2.438 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002371/7.28, allocations: 47.33 kB / 2.438 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002729/7.28, allocations: 54.92 kB / 2.438 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.003142/7.283, allocations: 1.111 MB / 2.439 GB, free: 111.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.009199/7.292, allocations: 1.361 MB / 2.441 GB, free: 110.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.003801/7.296, allocations: 1.198 MB / 2.442 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.009311/7.306, allocations: 2.088 MB / 2.444 GB, free: 109.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/7.306, allocations: 0 / 2.444 GB, free: 109.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00339/7.309, allocations: 0.6764 MB / 2.445 GB, free: 109.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006656/7.316, allocations: 0.6711 MB / 2.445 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/7.327, allocations: 2.645 MB / 2.448 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003038/7.33, allocations: 1.68 MB / 2.45 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of SimCode: time 2.865e-06/7.331, allocations: 0 / 2.45 GB, free: 107.5 MB / 0.8698 GB