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.SeriesFlowOptimised.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.SeriesFlowOptimised,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",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.852/3.852, allocations: 433 MB / 440.3 MB, free: 4.824 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5346/4.387, allocations: 104.3 MB / 0.5319 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/4.612, allocations: 98.72 MB / 0.6283 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.033/9.645, allocations: 2.177 GB / 2.805 GB, free: 171.8 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/9.646, allocations: 92.5 kB / 2.805 GB, free: 171.8 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 7.967/17.61, allocations: 1.726 GB / 4.532 GB, free: 29.69 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.106e-05/17.61, allocations: 11.94 kB / 4.532 GB, free: 29.68 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002429/17.62, allocations: 186.5 kB / 4.532 GB, free: 29.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006637/17.62, allocations: 1.116 MB / 4.533 GB, free: 28.32 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.497e-05/17.62, allocations: 16 kB / 4.533 GB, free: 28.31 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001994/17.62, allocations: 36 kB / 4.533 GB, free: 28.27 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001922/17.62, allocations: 497.7 kB / 4.533 GB, free: 27.79 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002039/17.63, allocations: 0.6767 MB / 4.534 GB, free: 27.04 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.707e-05/17.63, allocations: 4 kB / 4.534 GB, free: 27.03 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.91e-05/17.63, allocations: 4 kB / 4.534 GB, free: 27.03 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.604e-05/17.63, allocations: 16 kB / 4.534 GB, free: 27.01 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008925/17.64, allocations: 4.508 MB / 4.538 GB, free: 22.15 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/17.64, allocations: 470.5 kB / 4.539 GB, free: 21.68 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007236/17.64, allocations: 245.6 kB / 4.539 GB, free: 21.44 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005972/17.64, allocations: 194.2 kB / 4.539 GB, free: 21.21 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007759/17.64, allocations: 261.2 kB / 4.54 GB, free: 20.93 MB / 0.823 GB Notification: Performance of pre-optimization done (n=31): time 5.44e-06/17.64, allocations: 0 / 4.54 GB, free: 20.93 MB / 0.823 GB Notification: Performance of matching and sorting (n=31): time 0.002529/17.64, allocations: 0.4994 MB / 4.54 GB, free: 20.43 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/17.64, allocations: 85.09 kB / 4.54 GB, free: 20.33 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002619/17.64, allocations: 0.8675 MB / 4.541 GB, free: 19.45 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001934/17.64, allocations: 29.7 kB / 4.541 GB, free: 19.41 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000458/17.65, allocations: 344.1 kB / 4.541 GB, free: 19.07 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002026/17.65, allocations: 114.5 kB / 4.541 GB, free: 18.96 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/17.65, allocations: 0 / 4.541 GB, free: 18.96 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001414/17.65, allocations: 326 kB / 4.542 GB, free: 18.63 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006334/17.65, allocations: 184.8 kB / 4.542 GB, free: 18.45 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009925/17.65, allocations: 0.5077 MB / 4.542 GB, free: 17.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008454/17.65, allocations: 279.8 kB / 4.543 GB, free: 17.52 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/17.65, allocations: 0 / 4.543 GB, free: 17.52 MB / 0.823 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002394/17.65, allocations: 0.6302 MB / 4.543 GB, free: 16.89 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006822/17.65, allocations: 2.093 MB / 4.545 GB, free: 14.64 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/17.65, allocations: 7.938 kB / 4.545 GB, free: 14.63 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.405e-05/17.65, allocations: 12 kB / 4.545 GB, free: 14.62 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/17.65, allocations: 119.8 kB / 4.546 GB, free: 14.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.059e-05/17.65, allocations: 11.94 kB / 4.546 GB, free: 14.49 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002872/17.66, allocations: 87.47 kB / 4.546 GB, free: 14.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000223/17.66, allocations: 24 kB / 4.546 GB, free: 14.38 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/17.66, allocations: 4 kB / 4.546 GB, free: 14.38 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001425/17.66, allocations: 420.5 kB / 4.546 GB, free: 13.96 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/17.66, allocations: 4 kB / 4.546 GB, free: 13.96 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/17.66, allocations: 8 kB / 4.546 GB, free: 13.95 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/17.66, allocations: 115.8 kB / 4.546 GB, free: 13.84 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.61e-05/17.66, allocations: 8.188 kB / 4.546 GB, free: 13.83 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002114/17.66, allocations: 83.53 kB / 4.546 GB, free: 13.75 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/17.66, allocations: 20 kB / 4.546 GB, free: 13.73 MB / 0.823 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 (53): * Single equations (assignments): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003146/17.66, allocations: 123.4 kB / 4.546 GB, free: 13.61 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003003/17.66, allocations: 95.11 kB / 4.546 GB, free: 13.51 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001729/17.66, allocations: 472.2 kB / 4.547 GB, free: 13.04 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/17.66, allocations: 8 kB / 4.547 GB, free: 13.03 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/17.66, allocations: 4 kB / 4.547 GB, free: 13.03 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/17.66, allocations: 0 / 4.547 GB, free: 13.03 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00432/17.67, allocations: 1.268 MB / 4.548 GB, free: 11.69 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/17.67, allocations: 4 kB / 4.548 GB, free: 11.69 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008905/17.67, allocations: 79.81 kB / 4.548 GB, free: 11.61 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.656e-05/17.67, allocations: 4.219 kB / 4.548 GB, free: 11.61 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.022e-05/17.67, allocations: 8 kB / 4.548 GB, free: 11.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.157e-06/17.67, allocations: 3.938 kB / 4.548 GB, free: 11.59 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/17.67, allocations: 4 kB / 4.548 GB, free: 11.59 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001595/17.67, allocations: 0.6472 MB / 4.549 GB, free: 10.86 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001775/17.67, allocations: 1.058 MB / 4.55 GB, free: 9.723 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008287/17.67, allocations: 207.9 kB / 4.55 GB, free: 9.5 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003307/17.67, allocations: 8 kB / 4.55 GB, free: 9.492 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00177/17.68, allocations: 51.8 kB / 4.55 GB, free: 9.441 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002035/17.68, allocations: 35.8 kB / 4.55 GB, free: 9.406 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.378e-05/17.68, allocations: 12 kB / 4.55 GB, free: 9.395 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.001893/17.68, allocations: 0.6806 MB / 4.551 GB, free: 8.703 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.007479/17.69, allocations: 0.6283 MB / 4.552 GB, free: 8.074 MB / 0.823 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 (31): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002386/17.69, allocations: 1.027 MB / 4.553 GB, free: 7.031 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002442/17.69, allocations: 0.7256 MB / 4.553 GB, free: 6.293 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/17.69, allocations: 4 kB / 4.553 GB, free: 6.289 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006786/17.69, allocations: 195.8 kB / 4.553 GB, free: 6.098 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005106/17.7, allocations: 379.8 kB / 4.554 GB, free: 5.727 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00545/17.7, allocations: 1.389 MB / 4.555 GB, free: 4.293 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00174/17.7, allocations: 1.279 MB / 4.556 GB, free: 2.988 MB / 0.823 GB Notification: Performance of SimCode: time 2.064e-06/17.7, allocations: 0 / 4.556 GB, free: 2.988 MB / 0.823 GB