Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.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.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower",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.022/2.022, allocations: 248.6 MB / 255.9 MB, free: 7.16 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.001601/0.0016, allocations: 191.9 kB / 315.1 MB, free: 4.285 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.846/1.846, allocations: 205.1 MB / 0.5658 GB, free: 392 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.001351/0.001351, allocations: 87.34 kB / 0.67 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4607/0.4621, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.6678, allocations: 106.3 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6889/1.357, allocations: 133.4 MB / 1.014 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004256/1.357, allocations: 89.44 kB / 1.014 GB, free: 6.266 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.01835/1.376, allocations: 3.598 MB / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/1.376, allocations: 8.844 kB / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.026e-05/1.376, allocations: 3.906 kB / 1.017 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/1.376, allocations: 177.7 kB / 1.018 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/1.376, allocations: 4 kB / 1.018 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/1.376, allocations: 3.938 kB / 1.018 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001208/1.376, allocations: 35.34 kB / 1.018 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.027e-05/1.376, allocations: 41.69 kB / 1.018 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/1.376, allocations: 4 kB / 1.018 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/1.376, allocations: 0 / 1.018 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/1.376, allocations: 3.938 kB / 1.018 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002359/1.377, allocations: 165.2 kB / 1.018 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/1.377, allocations: 49.56 kB / 1.018 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.703e-05/1.377, allocations: 24.78 kB / 1.018 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.446e-05/1.377, allocations: 7.938 kB / 1.018 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/1.377, allocations: 34.56 kB / 1.018 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/1.377, allocations: 3.938 kB / 1.018 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002523/1.377, allocations: 69.2 kB / 1.018 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/1.377, allocations: 55.41 kB / 1.018 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/1.377, allocations: 127.6 kB / 1.018 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/1.377, allocations: 25.7 kB / 1.018 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.943e-05/1.377, allocations: 86.89 kB / 1.018 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/1.377, allocations: 11.88 kB / 1.018 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-06/1.378, allocations: 0 / 1.018 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001409/1.378, allocations: 318.3 kB / 1.019 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/1.378, allocations: 38.92 kB / 1.019 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.349e-05/1.378, allocations: 39.95 kB / 1.019 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/1.378, allocations: 45.41 kB / 1.019 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.378, allocations: 0 / 1.019 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003294/1.378, allocations: 131.9 kB / 1.019 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/1.378, allocations: 8 kB / 1.019 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/1.378, allocations: 7.984 kB / 1.019 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/1.379, allocations: 0 / 1.019 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.479e-05/1.379, allocations: 7.906 kB / 1.019 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/1.379, allocations: 0 / 1.019 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.283e-05/1.379, allocations: 0 / 1.019 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.264e-05/1.379, allocations: 7.984 kB / 1.019 GB, free: 1.508 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.388e-05/1.379, allocations: 101 kB / 1.019 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.814e-05/1.379, allocations: 7.906 kB / 1.019 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002414/1.379, allocations: 92.39 kB / 1.019 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/1.379, allocations: 11.94 kB / 1.019 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/1.379, allocations: 0 / 1.019 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/1.379, allocations: 0 / 1.019 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/1.379, allocations: 153.3 kB / 1.019 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/1.379, allocations: 0 / 1.019 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.418e-05/1.379, allocations: 4 kB / 1.019 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/1.379, allocations: 0 / 1.019 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/1.379, allocations: 0 / 1.019 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/1.379, allocations: 0 / 1.019 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/1.379, allocations: 0 / 1.019 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001851/1.38, allocations: 107.9 kB / 1.019 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003275/1.38, allocations: 476.6 kB / 1.02 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.285e-05/1.38, allocations: 88.89 kB / 1.02 GB, free: 416 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/1.38, allocations: 4 kB / 1.02 GB, free: 412 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.552e-05/1.38, allocations: 8.062 kB / 1.02 GB, free: 404 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.897e-05/1.38, allocations: 0 / 1.02 GB, free: 404 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/1.38, allocations: 0 / 1.02 GB, free: 404 kB / 0.6355 GB Notification: Performance of sort global known variables: time 9.814e-05/1.38, allocations: 109.7 kB / 1.02 GB, free: 304 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001309/1.382, allocations: 78.75 kB / 1.02 GB, free: 232 kB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000605/1.382, allocations: 184.3 kB / 1.02 GB, free: 44 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002526/1.382, allocations: 62.52 kB / 1.02 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/1.382, allocations: 0 / 1.02 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.285e-05/1.382, allocations: 23.19 kB / 1.02 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/1.383, allocations: 31.52 kB / 1.02 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003425/1.383, allocations: 95.5 kB / 1.02 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004587/1.384, allocations: 0.703 MB / 1.021 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of SimCode: time 9.12e-07/1.384, allocations: 0 / 1.021 GB, free: 15.1 MB / 0.6511 GB