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.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",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.285/4.285, allocations: 433 MB / 440.3 MB, free: 4.812 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5931/4.878, allocations: 104.3 MB / 0.5319 GB, free: 12.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/5.12, allocations: 98.72 MB / 0.6283 GB, free: 9.801 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.602/10.72, allocations: 2.177 GB / 2.805 GB, free: 171.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003962/10.72, allocations: 99.39 kB / 2.805 GB, free: 171.4 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 9.605/20.33, allocations: 1.914 GB / 4.72 GB, free: 109.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/20.33, allocations: 8 kB / 4.72 GB, free: 109.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001792/20.33, allocations: 210.2 kB / 4.72 GB, free: 108.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006958/20.34, allocations: 1.448 MB / 4.721 GB, free: 107.4 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.045e-05/20.34, allocations: 23.94 kB / 4.721 GB, free: 107.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001983/20.34, allocations: 40 kB / 4.721 GB, free: 107.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001948/20.34, allocations: 0.7327 MB / 4.722 GB, free: 106.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/20.34, allocations: 0.8634 MB / 4.723 GB, free: 105.7 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.949e-05/20.34, allocations: 4 kB / 4.723 GB, free: 105.7 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.969e-05/20.34, allocations: 0 / 4.723 GB, free: 105.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/20.34, allocations: 16 kB / 4.723 GB, free: 105.7 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007159/20.35, allocations: 4.626 MB / 4.727 GB, free: 100.7 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/20.35, allocations: 0.546 MB / 4.728 GB, free: 100.2 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008003/20.35, allocations: 441.2 kB / 4.728 GB, free: 99.77 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004195/20.35, allocations: 198.3 kB / 4.729 GB, free: 99.54 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000594/20.35, allocations: 316.9 kB / 4.729 GB, free: 99.21 MB / 0.823 GB Notification: Performance of pre-optimization done (n=35): time 3.476e-06/20.35, allocations: 0 / 4.729 GB, free: 99.21 MB / 0.823 GB Notification: Performance of matching and sorting (n=35): time 0.003566/20.35, allocations: 0.9383 MB / 4.73 GB, free: 98.27 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/20.35, allocations: 85.09 kB / 4.73 GB, free: 98.17 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00193/20.36, allocations: 0.9178 MB / 4.731 GB, free: 97.24 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001727/20.36, allocations: 29.7 kB / 4.731 GB, free: 97.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003452/20.36, allocations: 360.5 kB / 4.731 GB, free: 96.85 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/20.36, allocations: 126.2 kB / 4.731 GB, free: 96.72 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.884e-05/20.36, allocations: 0 / 4.731 GB, free: 96.72 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001159/20.36, allocations: 326 kB / 4.732 GB, free: 96.4 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005592/20.36, allocations: 228.9 kB / 4.732 GB, free: 96.18 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/20.36, allocations: 0.5536 MB / 4.732 GB, free: 95.48 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006898/20.36, allocations: 328.5 kB / 4.733 GB, free: 95.16 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/20.36, allocations: 0 / 4.733 GB, free: 95.16 MB / 0.823 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.003546/20.36, allocations: 1.074 MB / 4.734 GB, free: 94.08 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000473/20.36, allocations: 2.105 MB / 4.736 GB, free: 91.82 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/20.36, allocations: 7.938 kB / 4.736 GB, free: 91.81 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001241/20.37, allocations: 332.5 kB / 4.736 GB, free: 91.48 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005029/20.37, allocations: 67.91 kB / 4.736 GB, free: 91.42 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002325/20.37, allocations: 1.341 MB / 4.737 GB, free: 90.05 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002188/20.37, allocations: 119.5 kB / 4.738 GB, free: 89.93 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/20.37, allocations: 27.98 kB / 4.738 GB, free: 89.91 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/20.37, allocations: 4 kB / 4.738 GB, free: 89.9 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002258/20.37, allocations: 0.7573 MB / 4.738 GB, free: 89.15 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/20.37, allocations: 4 kB / 4.738 GB, free: 89.14 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001478/20.37, allocations: 315.3 kB / 4.739 GB, free: 88.84 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004529/20.38, allocations: 59.91 kB / 4.739 GB, free: 88.78 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01014/20.39, allocations: 3.426 MB / 4.742 GB, free: 85.24 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003209/20.39, allocations: 103.6 kB / 4.742 GB, free: 85.14 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002211/20.39, allocations: 24 kB / 4.742 GB, free: 85.12 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 (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 {2 22} Notification: Performance of prepare postOptimizeDAE: time 0.0003966/20.39, allocations: 136.9 kB / 4.742 GB, free: 84.98 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004864/20.39, allocations: 102.8 kB / 4.742 GB, free: 84.88 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003675/20.39, allocations: 0.847 MB / 4.743 GB, free: 84.03 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.906e-05/20.39, allocations: 4 kB / 4.743 GB, free: 84.02 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/20.39, allocations: 8 kB / 4.743 GB, free: 84.02 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/20.39, allocations: 0 / 4.743 GB, free: 84.02 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006653/20.4, allocations: 1.784 MB / 4.745 GB, free: 82.18 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/20.4, allocations: 8.141 kB / 4.745 GB, free: 82.18 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003382/20.4, allocations: 31.89 kB / 4.745 GB, free: 82.14 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002514/20.4, allocations: 284.6 kB / 4.745 GB, free: 81.86 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.713e-05/20.4, allocations: 7.984 kB / 4.745 GB, free: 81.86 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001766/20.41, allocations: 1.2 MB / 4.746 GB, free: 80.63 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/20.41, allocations: 4.094 kB / 4.746 GB, free: 80.63 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002303/20.41, allocations: 1.042 MB / 4.747 GB, free: 79.52 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00247/20.41, allocations: 1.479 MB / 4.749 GB, free: 77.97 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007012/20.41, allocations: 219.7 kB / 4.749 GB, free: 77.74 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002188/20.41, allocations: 8 kB / 4.749 GB, free: 77.73 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001436/20.41, allocations: 87.69 kB / 4.749 GB, free: 77.64 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/20.41, allocations: 27.95 kB / 4.749 GB, free: 77.62 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.973e-05/20.41, allocations: 8 kB / 4.749 GB, free: 77.61 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.00142/20.41, allocations: 0.7178 MB / 4.75 GB, free: 76.88 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.005185/20.42, allocations: 0.7922 MB / 4.751 GB, free: 76.09 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 (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 {2 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.002558/20.42, allocations: 1.208 MB / 4.752 GB, free: 75 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003032/20.42, allocations: 1.074 MB / 4.753 GB, free: 73.9 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/20.43, allocations: 0 / 4.753 GB, free: 73.9 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008105/20.43, allocations: 273.8 kB / 4.753 GB, free: 73.64 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005943/20.43, allocations: 0.5742 MB / 4.754 GB, free: 73.06 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004186/20.44, allocations: 1.483 MB / 4.755 GB, free: 71.53 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001185/20.44, allocations: 1.3 MB / 4.757 GB, free: 70.2 MB / 0.823 GB Notification: Performance of SimCode: time 1.573e-06/20.44, allocations: 0 / 4.757 GB, free: 70.2 MB / 0.823 GB