Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T",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 loadModel(Buildings): time 3.727/3.727, allocations: 433 MB / 440.3 MB, free: 24.97 MB / 354.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2388/3.966, allocations: 104.3 MB / 0.5319 GB, free: 4.695 MB / 434.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5434/4.509, allocations: 98.69 MB / 0.6283 GB, free: 0.6289 MB / 0.5027 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.995/5.504, allocations: 437.2 MB / 1.055 GB, free: 111.3 MB / 0.7683 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003363/5.505, allocations: 92.06 kB / 1.055 GB, free: 111.3 MB / 0.7683 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 5.598/11.1, allocations: 1.127 GB / 2.183 GB, free: 123.3 MB / 0.8308 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/11.1, allocations: 11.31 kB / 2.183 GB, free: 123.3 MB / 0.8308 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004185/11.11, allocations: 481.3 kB / 2.183 GB, free: 123.2 MB / 0.8308 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01085/11.12, allocations: 2.327 MB / 2.185 GB, free: 122.8 MB / 0.8308 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/11.12, allocations: 36.09 kB / 2.185 GB, free: 122.8 MB / 0.8308 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005102/11.12, allocations: 73.69 kB / 2.185 GB, free: 122.8 MB / 0.8308 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003307/11.12, allocations: 0.7886 MB / 2.186 GB, free: 122.8 MB / 0.8308 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003662/11.13, allocations: 1.087 MB / 2.187 GB, free: 122.5 MB / 0.8308 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.449e-05/11.13, allocations: 10.02 kB / 2.187 GB, free: 122.5 MB / 0.8308 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001846/11.13, allocations: 3.781 kB / 2.187 GB, free: 122.5 MB / 0.8308 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.274e-05/11.13, allocations: 34.88 kB / 2.187 GB, free: 122.5 MB / 0.8308 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01547/11.14, allocations: 6.899 MB / 2.194 GB, free: 118.4 MB / 0.8308 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001617/11.14, allocations: 0.6165 MB / 2.195 GB, free: 118.4 MB / 0.8308 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007396/11.14, allocations: 316.4 kB / 2.195 GB, free: 118.3 MB / 0.8308 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007081/11.15, allocations: 2.811 MB / 2.198 GB, free: 116.5 MB / 0.8308 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007726/11.15, allocations: 338.1 kB / 2.198 GB, free: 116.5 MB / 0.8308 GB Notification: Performance of pre-optimization done (n=63): time 3.928e-06/11.15, allocations: 0 / 2.198 GB, free: 116.5 MB / 0.8308 GB Notification: Performance of matching and sorting (n=63): time 0.004125/11.16, allocations: 0.8575 MB / 2.199 GB, free: 116.3 MB / 0.8308 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.011e-05/11.16, allocations: 166.5 kB / 2.199 GB, free: 116.1 MB / 0.8308 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003181/11.16, allocations: 1.243 MB / 2.2 GB, free: 116 MB / 0.8308 GB Notification: Performance of collectPreVariables (initialization): time 0.000273/11.16, allocations: 32.27 kB / 2.2 GB, free: 115.9 MB / 0.8308 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007163/11.16, allocations: 0.5803 MB / 2.201 GB, free: 115.7 MB / 0.8308 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003761/11.16, allocations: 220.8 kB / 2.201 GB, free: 115.6 MB / 0.8308 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.74e-05/11.16, allocations: 0 / 2.201 GB, free: 115.6 MB / 0.8308 GB Notification: Performance of setup shared object (initialization): time 0.0001061/11.16, allocations: 348.2 kB / 2.201 GB, free: 115.2 MB / 0.8308 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009793/11.16, allocations: 274 kB / 2.202 GB, free: 115.2 MB / 0.8308 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/11.16, allocations: 0.7013 MB / 2.202 GB, free: 114.7 MB / 0.8308 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002928/11.17, allocations: 0.5428 MB / 2.203 GB, free: 114.7 MB / 0.8308 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.818e-05/11.17, allocations: 3.719 kB / 2.203 GB, free: 114.7 MB / 0.8308 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.005439/11.17, allocations: 1.192 MB / 2.204 GB, free: 114.6 MB / 0.8308 GB Notification: Performance of prepare postOptimizeDAE: time 0.001118/11.17, allocations: 4.52 MB / 2.208 GB, free: 109.8 MB / 0.8308 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.457e-05/11.17, allocations: 14.91 kB / 2.208 GB, free: 109.8 MB / 0.8308 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.379e-05/11.17, allocations: 15.72 kB / 2.208 GB, free: 109.8 MB / 0.8308 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0022/11.18, allocations: 257.7 kB / 2.209 GB, free: 109.8 MB / 0.8308 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.407e-05/11.18, allocations: 26.64 kB / 2.209 GB, free: 109.8 MB / 0.8308 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003551/11.18, allocations: 155.2 kB / 2.209 GB, free: 109.8 MB / 0.8308 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003605/11.18, allocations: 65.75 kB / 2.209 GB, free: 109.8 MB / 0.8308 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/11.18, allocations: 7.438 kB / 2.209 GB, free: 109.8 MB / 0.8308 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00498/11.18, allocations: 0.9594 MB / 2.21 GB, free: 109.8 MB / 0.8308 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.223e-05/11.18, allocations: 15.56 kB / 2.21 GB, free: 109.8 MB / 0.8308 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.115e-05/11.18, allocations: 14.94 kB / 2.21 GB, free: 109.8 MB / 0.8308 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002234/11.19, allocations: 253.9 kB / 2.21 GB, free: 109.8 MB / 0.8308 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.927e-05/11.19, allocations: 22.16 kB / 2.21 GB, free: 109.8 MB / 0.8308 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00397/11.19, allocations: 134.1 kB / 2.21 GB, free: 109.7 MB / 0.8308 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005126/11.19, allocations: 55.73 kB / 2.21 GB, free: 109.7 MB / 0.8308 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 121 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 1 * 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 0.0006274/11.19, allocations: 143.6 kB / 2.21 GB, free: 109.6 MB / 0.8308 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008752/11.19, allocations: 165.4 kB / 2.211 GB, free: 109.5 MB / 0.8308 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008355/11.2, allocations: 1.126 MB / 2.212 GB, free: 109.4 MB / 0.8308 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.305e-05/11.2, allocations: 10.19 kB / 2.212 GB, free: 109.4 MB / 0.8308 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.99e-05/11.2, allocations: 0 / 2.212 GB, free: 109.4 MB / 0.8308 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004685/11.21, allocations: 0.9038 MB / 2.213 GB, free: 109.2 MB / 0.8308 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01061/11.22, allocations: 2.102 MB / 2.215 GB, free: 108.8 MB / 0.8308 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-05/11.22, allocations: 0 / 2.215 GB, free: 108.8 MB / 0.8308 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00227/11.22, allocations: 137.3 kB / 2.215 GB, free: 108.8 MB / 0.8308 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003799/11.22, allocations: 33.09 kB / 2.215 GB, free: 108.8 MB / 0.8308 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002051/11.22, allocations: 13.25 kB / 2.215 GB, free: 108.8 MB / 0.8308 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/11.22, allocations: 1.268 MB / 2.216 GB, free: 107.6 MB / 0.8308 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/11.22, allocations: 0.8438 kB / 2.216 GB, free: 107.6 MB / 0.8308 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007053/11.23, allocations: 1.401 MB / 2.217 GB, free: 107.4 MB / 0.8308 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008765/11.24, allocations: 2.239 MB / 2.22 GB, free: 106.7 MB / 0.8308 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001694/11.24, allocations: 333.2 kB / 2.22 GB, free: 106.5 MB / 0.8308 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007238/11.24, allocations: 7.75 kB / 2.22 GB, free: 106.5 MB / 0.8308 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002938/11.24, allocations: 71.83 kB / 2.22 GB, free: 106.5 MB / 0.8308 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002596/11.24, allocations: 47.47 kB / 2.22 GB, free: 106.5 MB / 0.8308 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000172/11.24, allocations: 38.47 kB / 2.22 GB, free: 106.5 MB / 0.8308 GB Notification: Performance of sort global known variables: time 0.003417/11.25, allocations: 0.9212 MB / 2.221 GB, free: 106.4 MB / 0.8308 GB Notification: Performance of remove unused functions: time 0.01304/11.26, allocations: 1.288 MB / 2.222 GB, free: 106.2 MB / 0.8308 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,coo.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00433/11.26, allocations: 1.144 MB / 2.223 GB, free: 105.9 MB / 0.8308 GB Notification: Performance of simCode: created initialization part: time 0.00516/11.27, allocations: 1.419 MB / 2.225 GB, free: 105.7 MB / 0.8308 GB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/11.27, allocations: 3.594 kB / 2.225 GB, free: 105.7 MB / 0.8308 GB Notification: Performance of simCode: created simulation system equations: time 0.001514/11.27, allocations: 449 kB / 2.225 GB, free: 105.6 MB / 0.8308 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008292/11.28, allocations: 0.5948 MB / 2.226 GB, free: 105.6 MB / 0.8308 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01224/11.29, allocations: 2.357 MB / 2.228 GB, free: 105 MB / 0.8308 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002995/11.3, allocations: 1.581 MB / 2.23 GB, free: 104.3 MB / 0.8308 GB Notification: Performance of SimCode: time 1.864e-06/11.3, allocations: 2.734 kB / 2.23 GB, free: 104.3 MB / 0.8308 GB