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.SeriesParallelDp.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.SeriesParallelDp,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",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.678/3.678, allocations: 433 MB / 440.3 MB, free: 4.797 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5603/4.238, allocations: 104.3 MB / 0.5319 GB, free: 12.99 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/4.45, allocations: 98.73 MB / 0.6283 GB, free: 9.77 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.306/9.755, allocations: 2.18 GB / 2.808 GB, free: 167.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004238/9.756, allocations: 96.28 kB / 2.808 GB, free: 167.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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 4.788/14.54, allocations: 1.045 GB / 3.853 GB, free: 80.12 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.877e-05/14.54, allocations: 8 kB / 3.853 GB, free: 80.12 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00294/14.55, allocations: 206.3 kB / 3.853 GB, free: 79.91 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01102/14.56, allocations: 1.476 MB / 3.855 GB, free: 78.38 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.557e-05/14.56, allocations: 24 kB / 3.855 GB, free: 78.36 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003481/14.56, allocations: 36 kB / 3.855 GB, free: 78.32 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002884/14.56, allocations: 0.7248 MB / 3.855 GB, free: 77.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002808/14.56, allocations: 0.8557 MB / 3.856 GB, free: 76.67 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.305e-05/14.56, allocations: 11.92 kB / 3.856 GB, free: 76.66 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001458/14.56, allocations: 3.906 kB / 3.856 GB, free: 76.65 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.929e-05/14.56, allocations: 19.98 kB / 3.856 GB, free: 76.63 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01088/14.58, allocations: 4.609 MB / 3.861 GB, free: 71.71 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/14.58, allocations: 0.5267 MB / 3.861 GB, free: 71.18 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008236/14.58, allocations: 433.2 kB / 3.862 GB, free: 70.75 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004062/14.58, allocations: 198.4 kB / 3.862 GB, free: 70.52 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005827/14.58, allocations: 305.1 kB / 3.862 GB, free: 70.21 MB / 0.823 GB Notification: Performance of pre-optimization done (n=35): time 3.036e-06/14.58, allocations: 0 / 3.862 GB, free: 70.21 MB / 0.823 GB Notification: Performance of matching and sorting (n=35): time 0.00357/14.58, allocations: 0.879 MB / 3.863 GB, free: 69.32 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/14.58, allocations: 85.05 kB / 3.863 GB, free: 69.21 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001947/14.58, allocations: 0.922 MB / 3.864 GB, free: 68.28 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001535/14.59, allocations: 29.7 kB / 3.864 GB, free: 68.24 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003164/14.59, allocations: 348.6 kB / 3.864 GB, free: 67.89 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000124/14.59, allocations: 122.2 kB / 3.864 GB, free: 67.77 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/14.59, allocations: 0 / 3.864 GB, free: 67.77 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.697e-05/14.59, allocations: 334 kB / 3.865 GB, free: 67.44 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004816/14.59, allocations: 212.9 kB / 3.865 GB, free: 67.23 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007135/14.59, allocations: 0.5463 MB / 3.865 GB, free: 66.54 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006245/14.59, allocations: 309.2 kB / 3.866 GB, free: 66.24 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/14.59, allocations: 4 kB / 3.866 GB, free: 66.23 MB / 0.823 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.003329/14.59, allocations: 1.031 MB / 3.867 GB, free: 65.19 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004672/14.59, allocations: 2.098 MB / 3.869 GB, free: 62.94 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/14.59, allocations: 8.125 kB / 3.869 GB, free: 62.93 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001648/14.59, allocations: 308.5 kB / 3.869 GB, free: 62.62 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009902/14.59, allocations: 79.88 kB / 3.869 GB, free: 62.55 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005487/14.6, allocations: 1.308 MB / 3.87 GB, free: 61.21 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003381/14.6, allocations: 103.5 kB / 3.871 GB, free: 61.11 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002566/14.6, allocations: 27.98 kB / 3.871 GB, free: 61.09 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/14.6, allocations: 10.72 kB / 3.871 GB, free: 61.08 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003959/14.61, allocations: 0.6872 MB / 3.871 GB, free: 60.39 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.811e-05/14.61, allocations: 4 kB / 3.871 GB, free: 60.38 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001305/14.61, allocations: 237.3 kB / 3.871 GB, free: 60.15 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006398/14.61, allocations: 75.89 kB / 3.872 GB, free: 60.07 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006622/14.62, allocations: 2.942 MB / 3.874 GB, free: 57.02 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002185/14.62, allocations: 103.7 kB / 3.875 GB, free: 56.92 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.922e-05/14.62, allocations: 27.98 kB / 3.875 GB, free: 56.89 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 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.000242/14.62, allocations: 133.1 kB / 3.875 GB, free: 56.76 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001878/14.62, allocations: 98.78 kB / 3.875 GB, free: 56.66 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002176/14.62, allocations: 0.7804 MB / 3.876 GB, free: 55.87 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/14.62, allocations: 4 kB / 3.876 GB, free: 55.86 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/14.62, allocations: 96 / 3.876 GB, free: 55.86 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/14.62, allocations: 19.91 kB / 3.876 GB, free: 55.84 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004592/14.63, allocations: 1.699 MB / 3.877 GB, free: 54.07 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-06/14.63, allocations: 0 / 3.877 GB, free: 54.07 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004301/14.63, allocations: 36.19 kB / 3.877 GB, free: 54.04 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007658/14.63, allocations: 260.3 kB / 3.877 GB, free: 53.79 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.985e-05/14.63, allocations: 4 kB / 3.877 GB, free: 53.78 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00194/14.63, allocations: 1.146 MB / 3.879 GB, free: 52.61 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/14.63, allocations: 4 kB / 3.879 GB, free: 52.61 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001997/14.63, allocations: 0.9794 MB / 3.88 GB, free: 51.55 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002705/14.63, allocations: 1.414 MB / 3.881 GB, free: 50.05 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001117/14.64, allocations: 227.7 kB / 3.881 GB, free: 49.81 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004044/14.64, allocations: 4 kB / 3.881 GB, free: 49.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002812/14.64, allocations: 79.75 kB / 3.881 GB, free: 49.73 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002191/14.64, allocations: 27.95 kB / 3.881 GB, free: 49.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.721e-05/14.64, allocations: 16 kB / 3.881 GB, free: 49.68 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.002398/14.64, allocations: 0.7141 MB / 3.882 GB, free: 48.96 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.009552/14.65, allocations: 0.7999 MB / 3.883 GB, free: 48.16 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 {11 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.002046/14.65, allocations: 1.285 MB / 3.884 GB, free: 46.85 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.004198/14.66, allocations: 1.15 MB / 3.885 GB, free: 45.68 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/14.66, allocations: 0 / 3.885 GB, free: 45.68 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009669/14.66, allocations: 298.2 kB / 3.885 GB, free: 45.39 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005864/14.66, allocations: 0.5696 MB / 3.886 GB, free: 44.82 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00388/14.67, allocations: 1.487 MB / 3.887 GB, free: 43.27 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001344/14.67, allocations: 1.3 MB / 3.889 GB, free: 41.95 MB / 0.823 GB Notification: Performance of SimCode: time 1.813e-06/14.67, allocations: 0 / 3.889 GB, free: 41.95 MB / 0.823 GB