Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.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.FixedResistances.Validation.PressureDropsSeries,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries",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.079/4.079, allocations: 433 MB / 440.3 MB, free: 4.801 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5432/4.623, allocations: 104.3 MB / 0.5319 GB, free: 13.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/4.858, allocations: 98.72 MB / 0.6283 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.211/10.07, allocations: 2.176 GB / 2.804 GB, free: 172.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/10.07, allocations: 88.02 kB / 2.804 GB, free: 172.6 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 4.439/14.51, allocations: 0.9266 GB / 3.731 GB, free: 207.4 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/14.51, allocations: 8 kB / 3.731 GB, free: 207.4 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001348/14.51, allocations: 186.5 kB / 3.731 GB, free: 207.2 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003923/14.51, allocations: 1.096 MB / 3.732 GB, free: 206.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.19e-05/14.51, allocations: 16 kB / 3.732 GB, free: 206.1 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/14.51, allocations: 36 kB / 3.732 GB, free: 206.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001271/14.52, allocations: 0.5055 MB / 3.732 GB, free: 205.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/14.52, allocations: 0.5081 MB / 3.733 GB, free: 205.1 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/14.52, allocations: 0 / 3.733 GB, free: 205.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.788e-05/14.52, allocations: 3.906 kB / 3.733 GB, free: 205.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/14.52, allocations: 12 kB / 3.733 GB, free: 205 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005322/14.52, allocations: 3.159 MB / 3.736 GB, free: 201.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000888/14.52, allocations: 455 kB / 3.736 GB, free: 201.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004631/14.52, allocations: 244.7 kB / 3.737 GB, free: 200.9 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003895/14.52, allocations: 198.2 kB / 3.737 GB, free: 200.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/14.52, allocations: 34.8 kB / 3.737 GB, free: 200.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=28): time 2.425e-06/14.52, allocations: 0 / 3.737 GB, free: 200.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=28): time 0.003009/14.53, allocations: 0.7544 MB / 3.738 GB, free: 199.9 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/14.53, allocations: 51.41 kB / 3.738 GB, free: 199.8 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/14.53, allocations: 0.7939 MB / 3.738 GB, free: 199 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001148/14.53, allocations: 25.7 kB / 3.738 GB, free: 199 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/14.53, allocations: 288.9 kB / 3.739 GB, free: 198.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/14.53, allocations: 98.59 kB / 3.739 GB, free: 198.6 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.557e-05/14.53, allocations: 3.938 kB / 3.739 GB, free: 198.6 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.842e-05/14.53, allocations: 317.9 kB / 3.739 GB, free: 198.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003215/14.53, allocations: 143.9 kB / 3.739 GB, free: 198.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004764/14.53, allocations: 346 kB / 3.74 GB, free: 197.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004006/14.53, allocations: 199.6 kB / 3.74 GB, free: 197.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/14.53, allocations: 0 / 3.74 GB, free: 197.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.002605/14.53, allocations: 0.7484 MB / 3.74 GB, free: 196.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001142/14.53, allocations: 359.9 kB / 3.741 GB, free: 196.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/14.53, allocations: 4.109 kB / 3.741 GB, free: 196.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007127/14.53, allocations: 229.4 kB / 3.741 GB, free: 196.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/14.53, allocations: 23.98 kB / 3.741 GB, free: 196.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001655/14.54, allocations: 1.13 MB / 3.742 GB, free: 195 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/14.54, allocations: 67.84 kB / 3.742 GB, free: 194.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.648e-05/14.54, allocations: 19.98 kB / 3.742 GB, free: 194.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/14.54, allocations: 6.969 kB / 3.742 GB, free: 194.9 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001587/14.54, allocations: 448 kB / 3.743 GB, free: 194.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/14.54, allocations: 0 / 3.743 GB, free: 194.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009597/14.54, allocations: 200.9 kB / 3.743 GB, free: 194.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/14.54, allocations: 19.98 kB / 3.743 GB, free: 194.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005182/14.55, allocations: 2.773 MB / 3.746 GB, free: 191.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/14.55, allocations: 71.75 kB / 3.746 GB, free: 191.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.744e-05/14.55, allocations: 8 kB / 3.746 GB, free: 191.3 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0001728/14.55, allocations: 108.9 kB / 3.746 GB, free: 191.2 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/14.55, allocations: 86.97 kB / 3.746 GB, free: 191.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001865/14.55, allocations: 0.6674 MB / 3.747 GB, free: 190.4 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/14.55, allocations: 0 / 3.747 GB, free: 190.4 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/14.55, allocations: 0 / 3.747 GB, free: 190.4 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/14.55, allocations: 0 / 3.747 GB, free: 190.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003538/14.55, allocations: 1.39 MB / 3.748 GB, free: 189 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/14.55, allocations: 0 / 3.748 GB, free: 189 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002192/14.55, allocations: 27.89 kB / 3.748 GB, free: 188.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005562/14.55, allocations: 192.3 kB / 3.748 GB, free: 188.8 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.064e-05/14.55, allocations: 4 kB / 3.748 GB, free: 188.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001318/14.56, allocations: 1.021 MB / 3.749 GB, free: 187.7 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/14.56, allocations: 4 kB / 3.749 GB, free: 187.7 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001661/14.56, allocations: 0.8288 MB / 3.75 GB, free: 186.8 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001806/14.56, allocations: 1.26 MB / 3.751 GB, free: 185.5 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005555/14.56, allocations: 196 kB / 3.751 GB, free: 185.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001683/14.56, allocations: 4 kB / 3.751 GB, free: 185.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009698/14.56, allocations: 55.78 kB / 3.751 GB, free: 185.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.378e-05/14.56, allocations: 23.83 kB / 3.751 GB, free: 185.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.369e-05/14.56, allocations: 15.98 kB / 3.751 GB, free: 185.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.001168/14.56, allocations: 0.6318 MB / 3.752 GB, free: 184.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.004553/14.57, allocations: 0.6203 MB / 3.753 GB, free: 183.9 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.00174/14.57, allocations: 1.029 MB / 3.754 GB, free: 183 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001987/14.57, allocations: 0.6812 MB / 3.754 GB, free: 182.3 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/14.57, allocations: 0 / 3.754 GB, free: 182.3 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005863/14.57, allocations: 198.7 kB / 3.755 GB, free: 182.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00339/14.57, allocations: 367.2 kB / 3.755 GB, free: 181.7 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003463/14.58, allocations: 1.351 MB / 3.756 GB, free: 180.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009678/14.58, allocations: 1.256 MB / 3.757 GB, free: 179 MB / 0.823 GB Notification: Performance of SimCode: time 1.483e-06/14.58, allocations: 0 / 3.757 GB, free: 179 MB / 0.823 GB