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.SeriesDp.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.SeriesDp,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp",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.839/3.839, allocations: 433 MB / 440.3 MB, free: 4.777 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5204/4.36, allocations: 104.3 MB / 0.5319 GB, free: 12.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/4.602, allocations: 98.73 MB / 0.6283 GB, free: 9.77 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.278/9.88, allocations: 2.179 GB / 2.808 GB, free: 168.8 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002968/9.88, allocations: 97.88 kB / 2.808 GB, free: 168.7 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 4.115/14, allocations: 0.9406 GB / 3.748 GB, free: 187.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/14, allocations: 8 kB / 3.748 GB, free: 187.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001257/14, allocations: 186.5 kB / 3.749 GB, free: 186.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003968/14, allocations: 1.138 MB / 3.75 GB, free: 185.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.528e-05/14, allocations: 19.98 kB / 3.75 GB, free: 185.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/14, allocations: 36 kB / 3.75 GB, free: 185.7 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001281/14, allocations: 497.7 kB / 3.75 GB, free: 185.2 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/14, allocations: 0.6766 MB / 3.751 GB, free: 184.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/14, allocations: 3.938 kB / 3.751 GB, free: 184.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-05/14, allocations: 4 kB / 3.751 GB, free: 184.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/14, allocations: 12 kB / 3.751 GB, free: 184.4 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005803/14.01, allocations: 4.509 MB / 3.755 GB, free: 179.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000963/14.01, allocations: 465 kB / 3.756 GB, free: 179.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004802/14.01, allocations: 245.2 kB / 3.756 GB, free: 178.9 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003843/14.01, allocations: 197.2 kB / 3.756 GB, free: 178.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000486/14.01, allocations: 262.2 kB / 3.757 GB, free: 178.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=31): time 4.989e-06/14.01, allocations: 0 / 3.757 GB, free: 178.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=31): time 0.002821/14.01, allocations: 0.7601 MB / 3.757 GB, free: 177.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/14.01, allocations: 85.09 kB / 3.757 GB, free: 177.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00166/14.02, allocations: 0.8795 MB / 3.758 GB, free: 176.6 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001001/14.02, allocations: 25.7 kB / 3.758 GB, free: 176.6 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002922/14.02, allocations: 344.2 kB / 3.759 GB, free: 176.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/14.02, allocations: 102.5 kB / 3.759 GB, free: 176.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/14.02, allocations: 0 / 3.759 GB, free: 176.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.622e-05/14.02, allocations: 330 kB / 3.759 GB, free: 175.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004204/14.02, allocations: 188.8 kB / 3.759 GB, free: 175.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006571/14.02, allocations: 0.5115 MB / 3.76 GB, free: 175 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000542/14.02, allocations: 264.6 kB / 3.76 GB, free: 174.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/14.02, allocations: 4 kB / 3.76 GB, free: 174.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002719/14.02, allocations: 0.8932 MB / 3.761 GB, free: 173.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000473/14.02, allocations: 2.104 MB / 3.763 GB, free: 171.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/14.02, allocations: 7.984 kB / 3.763 GB, free: 171.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007933/14.02, allocations: 257.5 kB / 3.763 GB, free: 171.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004549/14.02, allocations: 67.91 kB / 3.763 GB, free: 171.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002897/14.03, allocations: 1.235 MB / 3.764 GB, free: 170 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/14.03, allocations: 83.47 kB / 3.764 GB, free: 169.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.374e-05/14.03, allocations: 28.12 kB / 3.764 GB, free: 169.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/14.03, allocations: 4.109 kB / 3.764 GB, free: 169.8 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001713/14.03, allocations: 0.5816 MB / 3.765 GB, free: 169.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/14.03, allocations: 4 kB / 3.765 GB, free: 169.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009901/14.03, allocations: 217.2 kB / 3.765 GB, free: 169 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004113/14.03, allocations: 71.89 kB / 3.765 GB, free: 169 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004771/14.04, allocations: 2.738 MB / 3.768 GB, free: 166.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/14.04, allocations: 75.75 kB / 3.768 GB, free: 166.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.412e-05/14.04, allocations: 20 kB / 3.768 GB, free: 166 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 (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 {9 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002603/14.04, allocations: 132.7 kB / 3.768 GB, free: 165.9 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/14.04, allocations: 91.06 kB / 3.768 GB, free: 165.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001794/14.04, allocations: 0.653 MB / 3.769 GB, free: 165.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/14.04, allocations: 7.984 kB / 3.769 GB, free: 165.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/14.04, allocations: 96 / 3.769 GB, free: 165.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/14.04, allocations: 11.92 kB / 3.769 GB, free: 165.1 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003374/14.04, allocations: 1.467 MB / 3.77 GB, free: 163.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/14.04, allocations: 3.938 kB / 3.77 GB, free: 163.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002192/14.04, allocations: 32.19 kB / 3.77 GB, free: 163.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005906/14.04, allocations: 220 kB / 3.771 GB, free: 163.4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.252e-05/14.04, allocations: 7.906 kB / 3.771 GB, free: 163.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001664/14.05, allocations: 1.095 MB / 3.772 GB, free: 162.2 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/14.05, allocations: 3.938 kB / 3.772 GB, free: 162.2 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001723/14.05, allocations: 0.8503 MB / 3.773 GB, free: 161.3 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002006/14.05, allocations: 1.28 MB / 3.774 GB, free: 160 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006406/14.05, allocations: 207.9 kB / 3.774 GB, free: 159.7 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001995/14.05, allocations: 7.984 kB / 3.774 GB, free: 159.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/14.05, allocations: 47.86 kB / 3.774 GB, free: 159.7 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/14.05, allocations: 31.86 kB / 3.774 GB, free: 159.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-05/14.05, allocations: 16 kB / 3.774 GB, free: 159.6 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.001278/14.05, allocations: 0.6886 MB / 3.775 GB, free: 158.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.004794/14.06, allocations: 0.6713 MB / 3.775 GB, free: 158.3 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 (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 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.00187/14.06, allocations: 1.101 MB / 3.776 GB, free: 157.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003836/14.06, allocations: 1.04 MB / 3.777 GB, free: 156.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/14.06, allocations: 0 / 3.777 GB, free: 156.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009693/14.06, allocations: 255.6 kB / 3.778 GB, free: 156 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003462/14.07, allocations: 382.6 kB / 3.778 GB, free: 155.6 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003815/14.07, allocations: 1.4 MB / 3.779 GB, free: 154.1 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/14.07, allocations: 1.259 MB / 3.781 GB, free: 152.9 MB / 0.823 GB Notification: Performance of SimCode: time 1.403e-06/14.07, allocations: 0 / 3.781 GB, free: 152.9 MB / 0.823 GB