Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",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 4.09/4.09, allocations: 433 MB / 440.3 MB, free: 8.359 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.5202/4.61, allocations: 104.3 MB / 0.5319 GB, free: 16.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/4.847, allocations: 98.71 MB / 0.6283 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.219/10.07, allocations: 2.18 GB / 2.808 GB, free: 96.61 MB / 0.8106 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003505/10.07, allocations: 93.25 kB / 2.808 GB, free: 96.56 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 8.113/18.18, allocations: 1.738 GB / 4.546 GB, free: 192.9 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.122e-05/18.18, allocations: 8 kB / 4.546 GB, free: 192.9 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002546/18.18, allocations: 186.5 kB / 4.546 GB, free: 192.7 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006695/18.19, allocations: 1.142 MB / 4.547 GB, free: 191.6 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.73e-05/18.19, allocations: 16 kB / 4.547 GB, free: 191.6 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000255/18.19, allocations: 36 kB / 4.547 GB, free: 191.5 MB / 0.8106 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002035/18.19, allocations: 497.7 kB / 4.548 GB, free: 191 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002314/18.19, allocations: 0.6689 MB / 4.548 GB, free: 190.3 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.469e-05/18.19, allocations: 3.938 kB / 4.548 GB, free: 190.3 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001405/18.19, allocations: 4 kB / 4.548 GB, free: 190.3 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.014e-05/18.19, allocations: 12 kB / 4.548 GB, free: 190.3 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009582/18.2, allocations: 4.514 MB / 4.553 GB, free: 185.4 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/18.21, allocations: 458.6 kB / 4.553 GB, free: 185 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000781/18.21, allocations: 245.6 kB / 4.554 GB, free: 184.7 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005994/18.21, allocations: 200.2 kB / 4.554 GB, free: 184.5 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007953/18.21, allocations: 266.1 kB / 4.554 GB, free: 184.2 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=31): time 5.29e-06/18.21, allocations: 0 / 4.554 GB, free: 184.2 MB / 0.8106 GB Notification: Performance of matching and sorting (n=31): time 0.004714/18.21, allocations: 0.7652 MB / 4.555 GB, free: 183.5 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.603e-05/18.21, allocations: 93.08 kB / 4.555 GB, free: 183.4 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002817/18.22, allocations: 0.8794 MB / 4.556 GB, free: 182.5 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001952/18.22, allocations: 25.7 kB / 4.556 GB, free: 182.4 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005039/18.22, allocations: 336.2 kB / 4.556 GB, free: 182.1 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002002/18.22, allocations: 110.4 kB / 4.556 GB, free: 182 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.383e-05/18.22, allocations: 0 / 4.556 GB, free: 182 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000103/18.22, allocations: 330 kB / 4.556 GB, free: 181.7 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006955/18.22, allocations: 184.8 kB / 4.557 GB, free: 181.5 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009855/18.22, allocations: 0.5038 MB / 4.557 GB, free: 180.8 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008201/18.22, allocations: 273.5 kB / 4.557 GB, free: 180.6 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/18.22, allocations: 4 kB / 4.557 GB, free: 180.6 MB / 0.8106 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.004495/18.22, allocations: 0.9025 MB / 4.558 GB, free: 179.7 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005972/18.22, allocations: 2.1 MB / 4.56 GB, free: 177.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.111e-05/18.22, allocations: 4 kB / 4.56 GB, free: 177.4 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001211/18.23, allocations: 236.7 kB / 4.561 GB, free: 177.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006591/18.23, allocations: 67.84 kB / 4.561 GB, free: 177.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002678/18.23, allocations: 1.139 MB / 4.562 GB, free: 175.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002421/18.23, allocations: 87.53 kB / 4.562 GB, free: 175.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001709/18.23, allocations: 24.11 kB / 4.562 GB, free: 175.8 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/18.23, allocations: 11.84 kB / 4.562 GB, free: 175.8 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002874/18.23, allocations: 0.5902 MB / 4.562 GB, free: 175.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/18.23, allocations: 7.906 kB / 4.562 GB, free: 175.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001327/18.24, allocations: 201.4 kB / 4.563 GB, free: 175 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006497/18.24, allocations: 67.91 kB / 4.563 GB, free: 174.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007937/18.24, allocations: 2.751 MB / 4.565 GB, free: 172.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002291/18.25, allocations: 83.62 kB / 4.565 GB, free: 172 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/18.25, allocations: 20 kB / 4.565 GB, free: 172 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * 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 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0003556/18.25, allocations: 124.9 kB / 4.566 GB, free: 171.9 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003798/18.25, allocations: 94.78 kB / 4.566 GB, free: 171.8 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002941/18.25, allocations: 0.6628 MB / 4.566 GB, free: 171.1 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.668e-05/18.25, allocations: 7.906 kB / 4.566 GB, free: 171.1 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/18.25, allocations: 4 kB / 4.566 GB, free: 171.1 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/18.25, allocations: 4 kB / 4.566 GB, free: 171.1 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005812/18.26, allocations: 1.482 MB / 4.568 GB, free: 169.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/18.26, allocations: 224 / 4.568 GB, free: 169.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003289/18.26, allocations: 31.92 kB / 4.568 GB, free: 169.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008457/18.26, allocations: 188.7 kB / 4.568 GB, free: 169.3 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-05/18.26, allocations: 8 kB / 4.568 GB, free: 169.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00201/18.26, allocations: 1.024 MB / 4.569 GB, free: 168.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/18.26, allocations: 0 / 4.569 GB, free: 168.3 MB / 0.8106 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002643/18.26, allocations: 0.8508 MB / 4.57 GB, free: 167.3 MB / 0.8106 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003061/18.27, allocations: 1.285 MB / 4.571 GB, free: 166 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009082/18.27, allocations: 207.8 kB / 4.571 GB, free: 165.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000375/18.27, allocations: 4 kB / 4.571 GB, free: 165.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001701/18.27, allocations: 55.78 kB / 4.571 GB, free: 165.7 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/18.27, allocations: 27.97 kB / 4.571 GB, free: 165.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.326e-05/18.27, allocations: 15.98 kB / 4.571 GB, free: 165.7 MB / 0.8106 GB Notification: Performance of sort global known variables: time 0.002143/18.27, allocations: 0.6808 MB / 4.572 GB, free: 165 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.009128/18.28, allocations: 0.6751 MB / 4.573 GB, free: 164.3 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.002866/18.28, allocations: 1.098 MB / 4.574 GB, free: 163.3 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003635/18.29, allocations: 0.9159 MB / 4.575 GB, free: 162.4 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/18.29, allocations: 0 / 4.575 GB, free: 162.4 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001046/18.29, allocations: 206.8 kB / 4.575 GB, free: 162.2 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005163/18.29, allocations: 379.8 kB / 4.575 GB, free: 161.8 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005924/18.3, allocations: 1.405 MB / 4.577 GB, free: 160.3 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001887/18.3, allocations: 1.263 MB / 4.578 GB, free: 159.1 MB / 0.8106 GB Notification: Performance of SimCode: time 2.014e-06/18.3, allocations: 4 kB / 4.578 GB, free: 159.1 MB / 0.8106 GB