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.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",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.928/3.928, allocations: 433 MB / 440.3 MB, free: 10.8 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2492/4.177, allocations: 104.4 MB / 0.5319 GB, free: 2.352 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5188/4.696, allocations: 98.69 MB / 0.6283 GB, free: 128 kB / 0.4949 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.394/10.09, allocations: 2.18 GB / 2.808 GB, free: 203.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004571/10.09, allocations: 91.33 kB / 2.808 GB, free: 203.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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 9.708/19.8, allocations: 1.924 GB / 4.732 GB, free: 173.4 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/19.8, allocations: 8 kB / 4.732 GB, free: 173.4 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001852/19.8, allocations: 210.3 kB / 4.732 GB, free: 173.2 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007168/19.81, allocations: 1.482 MB / 4.734 GB, free: 171.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.619e-05/19.81, allocations: 16 kB / 4.734 GB, free: 171.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001988/19.81, allocations: 40 kB / 4.734 GB, free: 171.7 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001918/19.81, allocations: 0.7326 MB / 4.735 GB, free: 170.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001762/19.81, allocations: 0.8556 MB / 4.736 GB, free: 170 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.606e-05/19.81, allocations: 4 kB / 4.736 GB, free: 170 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.582e-05/19.81, allocations: 7.891 kB / 4.736 GB, free: 170 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/19.81, allocations: 16 kB / 4.736 GB, free: 170 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006552/19.82, allocations: 4.613 MB / 4.74 GB, free: 165.1 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/19.82, allocations: 0.5154 MB / 4.741 GB, free: 164.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007395/19.82, allocations: 433.8 kB / 4.741 GB, free: 164.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004038/19.82, allocations: 194.5 kB / 4.741 GB, free: 163.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005721/19.82, allocations: 301.1 kB / 4.741 GB, free: 163.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=35): time 3.256e-06/19.82, allocations: 0 / 4.741 GB, free: 163.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=35): time 0.003283/19.82, allocations: 0.8813 MB / 4.742 GB, free: 162.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/19.82, allocations: 81.11 kB / 4.742 GB, free: 162.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001813/19.83, allocations: 0.9181 MB / 4.743 GB, free: 161.7 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001477/19.83, allocations: 29.7 kB / 4.743 GB, free: 161.7 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004636/19.83, allocations: 357.4 kB / 4.744 GB, free: 161.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/19.83, allocations: 118.2 kB / 4.744 GB, free: 161.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/19.83, allocations: 0 / 4.744 GB, free: 161.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.718e-05/19.83, allocations: 330 kB / 4.744 GB, free: 160.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004852/19.83, allocations: 220.9 kB / 4.744 GB, free: 160.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007177/19.83, allocations: 0.5459 MB / 4.745 GB, free: 160 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006171/19.83, allocations: 303.8 kB / 4.745 GB, free: 159.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/19.83, allocations: 0 / 4.745 GB, free: 159.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.003058/19.83, allocations: 1.011 MB / 4.746 GB, free: 158.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004584/19.83, allocations: 2.11 MB / 4.748 GB, free: 156.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/19.83, allocations: 4 kB / 4.748 GB, free: 156.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009587/19.83, allocations: 276.5 kB / 4.748 GB, free: 156.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006157/19.83, allocations: 71.89 kB / 4.748 GB, free: 156 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00223/19.84, allocations: 1.227 MB / 4.75 GB, free: 154.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002298/19.84, allocations: 111.5 kB / 4.75 GB, free: 154.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/19.84, allocations: 27.98 kB / 4.75 GB, free: 154.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/19.84, allocations: 6.188 kB / 4.75 GB, free: 154.6 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002002/19.84, allocations: 0.6834 MB / 4.75 GB, free: 154 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/19.84, allocations: 4 kB / 4.75 GB, free: 154 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/19.84, allocations: 249.1 kB / 4.751 GB, free: 153.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005842/19.84, allocations: 75.83 kB / 4.751 GB, free: 153.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005377/19.85, allocations: 2.893 MB / 4.754 GB, free: 150.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/19.85, allocations: 99.64 kB / 4.754 GB, free: 150.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-05/19.85, allocations: 28 kB / 4.754 GB, free: 150.5 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0002301/19.85, allocations: 120.2 kB / 4.754 GB, free: 150.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/19.85, allocations: 110.7 kB / 4.754 GB, free: 150.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002191/19.85, allocations: 0.7765 MB / 4.755 GB, free: 149.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/19.85, allocations: 4.094 kB / 4.755 GB, free: 149.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/19.85, allocations: 3.984 kB / 4.755 GB, free: 149.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/19.85, allocations: 3.984 kB / 4.755 GB, free: 149.5 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004087/19.86, allocations: 1.698 MB / 4.756 GB, free: 147.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/19.86, allocations: 7.906 kB / 4.756 GB, free: 147.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004194/19.86, allocations: 35.91 kB / 4.756 GB, free: 147.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007495/19.86, allocations: 228 kB / 4.757 GB, free: 147.5 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.939e-05/19.86, allocations: 4 kB / 4.757 GB, free: 147.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001413/19.86, allocations: 1.076 MB / 4.758 GB, free: 146.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.195e-06/19.86, allocations: 7.922 kB / 4.758 GB, free: 146.4 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002009/19.86, allocations: 0.9628 MB / 4.759 GB, free: 145.3 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002103/19.86, allocations: 1.417 MB / 4.76 GB, free: 143.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005981/19.86, allocations: 219.8 kB / 4.76 GB, free: 143.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002143/19.86, allocations: 7.984 kB / 4.76 GB, free: 143.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001429/19.87, allocations: 75.75 kB / 4.76 GB, free: 143.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/19.87, allocations: 31.88 kB / 4.76 GB, free: 143.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.494e-05/19.87, allocations: 15.98 kB / 4.76 GB, free: 143.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.001311/19.87, allocations: 0.7219 MB / 4.761 GB, free: 142.8 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.005041/19.87, allocations: 0.7922 MB / 4.762 GB, free: 142 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.002127/19.87, allocations: 1.29 MB / 4.763 GB, free: 140.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002591/19.88, allocations: 1.016 MB / 4.764 GB, free: 139.8 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/19.88, allocations: 0 / 4.764 GB, free: 139.8 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006629/19.88, allocations: 244 kB / 4.764 GB, free: 139.5 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006011/19.88, allocations: 0.5631 MB / 4.765 GB, free: 138.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004164/19.89, allocations: 1.487 MB / 4.766 GB, free: 137.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002015/19.89, allocations: 1.3 MB / 4.768 GB, free: 136.1 MB / 0.823 GB Notification: Performance of SimCode: time 1.863e-06/19.89, allocations: 0 / 4.768 GB, free: 136.1 MB / 0.823 GB