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.WaterHeater_u.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.WaterHeater_u,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterHeater_u",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.829/3.829, allocations: 433 MB / 440.3 MB, free: 4.781 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5406/4.37, allocations: 104.3 MB / 0.5319 GB, free: 12.92 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/4.621, allocations: 98.73 MB / 0.6283 GB, free: 9.762 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.01/5.631, allocations: 431.1 MB / 1.049 GB, free: 6.207 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004203/5.632, allocations: 96.75 kB / 1.049 GB, free: 6.156 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 5.805/11.44, allocations: 1.096 GB / 2.146 GB, free: 100.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 9.282e-05/11.44, allocations: 7.219 kB / 2.146 GB, free: 100.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003228/11.44, allocations: 387.8 kB / 2.146 GB, free: 100.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01087/11.45, allocations: 2.497 MB / 2.148 GB, free: 100.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/11.45, allocations: 38.16 kB / 2.148 GB, free: 100.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005262/11.45, allocations: 82.94 kB / 2.148 GB, free: 100.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003647/11.46, allocations: 0.8665 MB / 2.149 GB, free: 100.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004182/11.46, allocations: 1.183 MB / 2.15 GB, free: 99.94 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.48e-05/11.46, allocations: 5.969 kB / 2.15 GB, free: 99.93 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001957/11.46, allocations: 3.875 kB / 2.15 GB, free: 99.93 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.233e-05/11.46, allocations: 34.56 kB / 2.15 GB, free: 99.93 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01616/11.48, allocations: 7.646 MB / 2.158 GB, free: 95.43 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001869/11.48, allocations: 0.6516 MB / 2.159 GB, free: 95.41 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008082/11.48, allocations: 349.2 kB / 2.159 GB, free: 95.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005996/11.48, allocations: 2.144 MB / 2.161 GB, free: 94.14 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008468/11.49, allocations: 371.2 kB / 2.161 GB, free: 94.08 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=71): time 4.709e-06/11.49, allocations: 0 / 2.161 GB, free: 94.08 MB / 0.8542 GB Notification: Performance of matching and sorting (n=71): time 0.00373/11.49, allocations: 0.8492 MB / 2.162 GB, free: 93.94 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.095e-05/11.49, allocations: 169.1 kB / 2.162 GB, free: 93.75 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003441/11.49, allocations: 1.206 MB / 2.164 GB, free: 93.58 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000294/11.49, allocations: 27.61 kB / 2.164 GB, free: 93.55 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000665/11.49, allocations: 0.5858 MB / 2.164 GB, free: 93.23 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000409/11.49, allocations: 242.1 kB / 2.164 GB, free: 93.07 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.441e-05/11.49, allocations: 3.625 kB / 2.164 GB, free: 93.07 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001049/11.49, allocations: 344.2 kB / 2.165 GB, free: 92.77 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008081/11.5, allocations: 302.5 kB / 2.165 GB, free: 92.77 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/11.5, allocations: 0.6684 MB / 2.166 GB, free: 92.32 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002264/11.5, allocations: 488.5 kB / 2.166 GB, free: 92.31 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/11.5, allocations: 6.906 kB / 2.166 GB, free: 92.31 MB / 0.8542 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.004264/11.5, allocations: 1.156 MB / 2.167 GB, free: 92.17 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008769/11.5, allocations: 3.707 MB / 2.171 GB, free: 88.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.781e-05/11.5, allocations: 10.66 kB / 2.171 GB, free: 88.29 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.696e-05/11.5, allocations: 15.59 kB / 2.171 GB, free: 88.29 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002215/11.51, allocations: 265.3 kB / 2.171 GB, free: 88.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.35e-05/11.51, allocations: 21.12 kB / 2.171 GB, free: 88.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002702/11.51, allocations: 166.1 kB / 2.171 GB, free: 88.23 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002351/11.51, allocations: 58.86 kB / 2.171 GB, free: 88.23 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/11.51, allocations: 9.062 kB / 2.171 GB, free: 88.23 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003505/11.51, allocations: 0.9156 MB / 2.172 GB, free: 88.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.204e-05/11.51, allocations: 13.38 kB / 2.172 GB, free: 88.21 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.476e-05/11.51, allocations: 16.78 kB / 2.172 GB, free: 88.21 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001929/11.52, allocations: 253.5 kB / 2.173 GB, free: 88.21 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.112e-05/11.52, allocations: 22.62 kB / 2.173 GB, free: 88.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002532/11.52, allocations: 145.7 kB / 2.173 GB, free: 88.18 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001962/11.52, allocations: 52.56 kB / 2.173 GB, free: 88.18 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (125): * Single equations (assignments): 121 * Array equations: 2 * Algorithm blocks: 1 * 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.0004101/11.52, allocations: 140.9 kB / 2.173 GB, free: 88.06 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004592/11.52, allocations: 170.5 kB / 2.173 GB, free: 87.97 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00398/11.52, allocations: 1.077 MB / 2.174 GB, free: 87.89 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.09e-05/11.52, allocations: 14.19 kB / 2.174 GB, free: 87.89 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/11.52, allocations: 6.094 kB / 2.174 GB, free: 87.89 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002353/11.53, allocations: 0.7312 MB / 2.175 GB, free: 87.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0066/11.53, allocations: 2.17 MB / 2.177 GB, free: 87.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/11.53, allocations: 0 / 2.177 GB, free: 87.47 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001605/11.53, allocations: 171 kB / 2.177 GB, free: 87.47 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002467/11.53, allocations: 31.94 kB / 2.177 GB, free: 87.46 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-05/11.53, allocations: 13.86 kB / 2.177 GB, free: 87.46 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001098/11.54, allocations: 1.26 MB / 2.178 GB, free: 86.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/11.54, allocations: 5.016 kB / 2.178 GB, free: 86.27 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004008/11.54, allocations: 1.435 MB / 2.18 GB, free: 85.98 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005251/11.54, allocations: 2.308 MB / 2.182 GB, free: 85.32 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001325/11.55, allocations: 347.3 kB / 2.182 GB, free: 85.13 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004477/11.55, allocations: 0 / 2.182 GB, free: 85.13 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002043/11.55, allocations: 102.3 kB / 2.182 GB, free: 85.12 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001908/11.55, allocations: 52.52 kB / 2.183 GB, free: 85.12 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001285/11.55, allocations: 33.08 kB / 2.183 GB, free: 85.12 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.002035/11.55, allocations: 0.8972 MB / 2.183 GB, free: 85.01 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.008274/11.56, allocations: 1.403 MB / 2.185 GB, free: 84.81 MB / 0.8542 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,hea.vol.dynBal.U) * 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 (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.003202/11.56, allocations: 1.138 MB / 2.186 GB, free: 84.52 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005783/11.57, allocations: 1.432 MB / 2.187 GB, free: 84.36 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-05/11.57, allocations: 6.781 kB / 2.187 GB, free: 84.36 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002361/11.57, allocations: 482.3 kB / 2.188 GB, free: 84.27 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009819/11.58, allocations: 0.7154 MB / 2.188 GB, free: 84.25 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008713/11.59, allocations: 2.417 MB / 2.191 GB, free: 83.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002129/11.59, allocations: 1.614 MB / 2.192 GB, free: 82.87 MB / 0.8542 GB Notification: Performance of SimCode: time 1.893e-06/11.59, allocations: 3.656 kB / 2.192 GB, free: 82.87 MB / 0.8542 GB