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.SeriesFlow.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.SeriesFlow,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow",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.679/3.679, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5223/4.202, allocations: 104.3 MB / 0.5319 GB, free: 12.72 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/4.442, allocations: 98.72 MB / 0.6283 GB, free: 9.695 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.233/9.675, allocations: 2.177 GB / 2.805 GB, free: 170.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/9.676, allocations: 92.22 kB / 2.805 GB, free: 170.5 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 4.151/13.83, allocations: 0.929 GB / 3.734 GB, free: 200.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/13.83, allocations: 8 kB / 3.734 GB, free: 200.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001437/13.83, allocations: 190.5 kB / 3.734 GB, free: 200.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004193/13.83, allocations: 1.106 MB / 3.735 GB, free: 199.4 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.062e-05/13.83, allocations: 19.91 kB / 3.735 GB, free: 199.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/13.83, allocations: 40 kB / 3.735 GB, free: 199.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00131/13.83, allocations: 497.7 kB / 3.736 GB, free: 198.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/13.83, allocations: 0.6766 MB / 3.737 GB, free: 198.1 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/13.84, allocations: 0 / 3.737 GB, free: 198.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.848e-05/13.84, allocations: 4 kB / 3.737 GB, free: 198.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/13.84, allocations: 12 kB / 3.737 GB, free: 198.1 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005954/13.84, allocations: 4.493 MB / 3.741 GB, free: 193.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009668/13.84, allocations: 473.1 kB / 3.741 GB, free: 192.8 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004906/13.84, allocations: 257.5 kB / 3.742 GB, free: 192.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004382/13.84, allocations: 186.2 kB / 3.742 GB, free: 192.3 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005002/13.84, allocations: 274.2 kB / 3.742 GB, free: 192 MB / 0.823 GB Notification: Performance of pre-optimization done (n=31): time 3.266e-06/13.84, allocations: 0 / 3.742 GB, free: 192 MB / 0.823 GB Notification: Performance of matching and sorting (n=31): time 0.001659/13.85, allocations: 0.4987 MB / 3.743 GB, free: 191.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/13.85, allocations: 85.09 kB / 3.743 GB, free: 191.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001701/13.85, allocations: 0.8714 MB / 3.744 GB, free: 190.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001291/13.85, allocations: 29.7 kB / 3.744 GB, free: 190.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000295/13.85, allocations: 336.2 kB / 3.744 GB, free: 190.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/13.85, allocations: 106.5 kB / 3.744 GB, free: 190 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/13.85, allocations: 0 / 3.744 GB, free: 190 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.457e-05/13.85, allocations: 326 kB / 3.744 GB, free: 189.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004233/13.85, allocations: 192.8 kB / 3.745 GB, free: 189.5 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006374/13.85, allocations: 0.4998 MB / 3.745 GB, free: 188.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005725/13.85, allocations: 275.9 kB / 3.745 GB, free: 188.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/13.85, allocations: 4 kB / 3.745 GB, free: 188.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001662/13.85, allocations: 0.6349 MB / 3.746 GB, free: 188 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004964/13.85, allocations: 2.092 MB / 3.748 GB, free: 185.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/13.85, allocations: 4 kB / 3.748 GB, free: 185.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.263e-05/13.85, allocations: 8 kB / 3.748 GB, free: 185.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003636/13.86, allocations: 291.4 kB / 3.748 GB, free: 185.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004393/13.86, allocations: 6.231 MB / 3.754 GB, free: 179 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00167/13.86, allocations: 83.56 kB / 3.754 GB, free: 178.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/13.86, allocations: 27.98 kB / 3.754 GB, free: 178.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/13.86, allocations: 4 kB / 3.754 GB, free: 178.8 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009764/13.86, allocations: 416.1 kB / 3.755 GB, free: 178.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/13.86, allocations: 7.938 kB / 3.755 GB, free: 178.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/13.86, allocations: 8 kB / 3.755 GB, free: 178.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/13.86, allocations: 156.4 kB / 3.755 GB, free: 178.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/13.86, allocations: 8 kB / 3.755 GB, free: 178.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/13.87, allocations: 79.62 kB / 3.755 GB, free: 178.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.005e-05/13.87, allocations: 20 kB / 3.755 GB, free: 178.2 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): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002393/13.87, allocations: 134.6 kB / 3.755 GB, free: 178 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/13.87, allocations: 94.88 kB / 3.755 GB, free: 177.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/13.87, allocations: 454.5 kB / 3.756 GB, free: 177.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/13.87, allocations: 4 kB / 3.756 GB, free: 177.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/13.87, allocations: 4 kB / 3.756 GB, free: 177.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/13.87, allocations: 7.984 kB / 3.756 GB, free: 177.5 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002848/13.87, allocations: 1.273 MB / 3.757 GB, free: 176.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/13.87, allocations: 4 kB / 3.757 GB, free: 176.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001439/13.87, allocations: 167.5 kB / 3.757 GB, free: 176 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.264e-05/13.87, allocations: 7.906 kB / 3.757 GB, free: 176 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.305e-05/13.87, allocations: 8 kB / 3.757 GB, free: 176 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002832/13.87, allocations: 6.083 MB / 3.763 GB, free: 169.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.427e-06/13.87, allocations: 4.031 kB / 3.763 GB, free: 169.6 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001155/13.88, allocations: 0.6396 MB / 3.764 GB, free: 168.9 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001141/13.88, allocations: 1.066 MB / 3.765 GB, free: 167.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005241/13.88, allocations: 207.9 kB / 3.765 GB, free: 167.5 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001999/13.88, allocations: 0 / 3.765 GB, free: 167.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000972/13.88, allocations: 51.8 kB / 3.765 GB, free: 167.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/13.88, allocations: 35.8 kB / 3.765 GB, free: 167.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.642e-05/13.88, allocations: 16 kB / 3.765 GB, free: 167.4 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.001264/13.88, allocations: 0.6845 MB / 3.766 GB, free: 166.8 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.004488/13.88, allocations: 0.6244 MB / 3.766 GB, free: 166.1 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): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001818/13.89, allocations: 1.041 MB / 3.767 GB, free: 165.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.005573/13.89, allocations: 0.9547 MB / 3.768 GB, free: 164.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/13.89, allocations: 0 / 3.768 GB, free: 164.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001574/13.89, allocations: 284.2 kB / 3.769 GB, free: 164 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003451/13.9, allocations: 375.5 kB / 3.769 GB, free: 163.6 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003776/13.9, allocations: 1.394 MB / 3.77 GB, free: 162.1 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001658/13.9, allocations: 1.279 MB / 3.772 GB, free: 160.8 MB / 0.823 GB Notification: Performance of SimCode: time 1.934e-06/13.9, allocations: 0 / 3.772 GB, free: 160.8 MB / 0.823 GB