Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.Examples.PressureDrop,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_FixedResistances_Examples_PressureDrop",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.867/3.867, allocations: 433 MB / 440.3 MB, free: 4.773 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5354/4.403, allocations: 104.3 MB / 0.5319 GB, free: 12.92 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/4.663, allocations: 98.72 MB / 0.6283 GB, free: 9.742 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.511/10.17, allocations: 2.176 GB / 2.804 GB, free: 172.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006884/10.17, allocations: 87.89 kB / 2.804 GB, free: 172 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 1.157/11.33, allocations: 213.3 MB / 3.012 GB, free: 250.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/11.33, allocations: 10.34 kB / 3.012 GB, free: 250.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004788/11.33, allocations: 62.66 kB / 3.012 GB, free: 250.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000689/11.33, allocations: 304.6 kB / 3.013 GB, free: 249.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/11.33, allocations: 7.531 kB / 3.013 GB, free: 249.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.83e-05/11.33, allocations: 11.53 kB / 3.013 GB, free: 249.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003519/11.33, allocations: 97.2 kB / 3.013 GB, free: 249.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003236/11.33, allocations: 126.1 kB / 3.013 GB, free: 249.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/11.33, allocations: 0 / 3.013 GB, free: 249.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/11.33, allocations: 3.188 kB / 3.013 GB, free: 249.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/11.33, allocations: 3.094 kB / 3.013 GB, free: 249.9 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001437/11.34, allocations: 0.5905 MB / 3.013 GB, free: 249.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/11.34, allocations: 79.05 kB / 3.013 GB, free: 249.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/11.34, allocations: 61.89 kB / 3.013 GB, free: 249.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003637/11.34, allocations: 190 kB / 3.014 GB, free: 249.3 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/11.34, allocations: 33.44 kB / 3.014 GB, free: 249.3 MB / 0.823 GB Notification: Performance of pre-optimization done (n=10): time 2.946e-06/11.34, allocations: 3.562 kB / 3.014 GB, free: 249.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=10): time 0.0008188/11.34, allocations: 145 kB / 3.014 GB, free: 249.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/11.34, allocations: 51.41 kB / 3.014 GB, free: 249.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004126/11.34, allocations: 190.3 kB / 3.014 GB, free: 249.1 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 4.095e-05/11.34, allocations: 25.7 kB / 3.014 GB, free: 249.1 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/11.34, allocations: 126.7 kB / 3.014 GB, free: 249 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 6.262e-05/11.34, allocations: 36.77 kB / 3.014 GB, free: 248.9 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.261e-05/11.34, allocations: 0 / 3.014 GB, free: 248.9 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001036/11.34, allocations: 332.4 kB / 3.015 GB, free: 248.6 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/11.34, allocations: 29.2 kB / 3.015 GB, free: 248.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/11.34, allocations: 82.17 kB / 3.015 GB, free: 248.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/11.34, allocations: 41.73 kB / 3.015 GB, free: 248.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/11.34, allocations: 0 / 3.015 GB, free: 248.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004442/11.34, allocations: 123 kB / 3.015 GB, free: 248.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001193/11.34, allocations: 356.9 kB / 3.015 GB, free: 248.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/11.34, allocations: 3.906 kB / 3.015 GB, free: 248.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.572e-05/11.34, allocations: 3.906 kB / 3.015 GB, free: 248.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003728/11.34, allocations: 36.84 kB / 3.015 GB, free: 248.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/11.34, allocations: 3.312 kB / 3.015 GB, free: 248.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005283/11.34, allocations: 17.77 kB / 3.015 GB, free: 248.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.733e-05/11.34, allocations: 7.125 kB / 3.015 GB, free: 248.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/11.34, allocations: 3.844 kB / 3.015 GB, free: 248.2 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003164/11.34, allocations: 70.89 kB / 3.015 GB, free: 248.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/11.34, allocations: 0 / 3.015 GB, free: 248.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-06/11.34, allocations: 3.875 kB / 3.015 GB, free: 248.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002944/11.34, allocations: 31.88 kB / 3.015 GB, free: 248.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/11.34, allocations: 10.91 kB / 3.015 GB, free: 248.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005249/11.34, allocations: 20.22 kB / 3.015 GB, free: 248.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.475e-05/11.34, allocations: 7.469 kB / 3.015 GB, free: 248.2 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 (10): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001315/11.34, allocations: 107.5 kB / 3.015 GB, free: 248.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/11.34, allocations: 24.16 kB / 3.015 GB, free: 248 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005015/11.34, allocations: 125 kB / 3.016 GB, free: 248 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/11.34, allocations: 0 / 3.016 GB, free: 248 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/11.34, allocations: 0 / 3.016 GB, free: 248 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/11.34, allocations: 3.938 kB / 3.016 GB, free: 248 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001464/11.34, allocations: 0.5177 MB / 3.016 GB, free: 247.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/11.34, allocations: 6.719 kB / 3.016 GB, free: 247.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003222/11.34, allocations: 29.34 kB / 3.016 GB, free: 247.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-05/11.34, allocations: 7.844 kB / 3.016 GB, free: 247.7 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/11.35, allocations: 6.625 kB / 3.016 GB, free: 247.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.734e-06/11.35, allocations: 2.188 kB / 3.016 GB, free: 247.7 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/11.35, allocations: 3.812 kB / 3.016 GB, free: 247.7 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005162/11.35, allocations: 341.4 kB / 3.016 GB, free: 247.4 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007405/11.35, allocations: 0.7516 MB / 3.017 GB, free: 246.7 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001971/11.35, allocations: 110.5 kB / 3.017 GB, free: 246.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.035e-05/11.35, allocations: 3.094 kB / 3.017 GB, free: 246.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005891/11.35, allocations: 17.72 kB / 3.017 GB, free: 246.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.142e-05/11.35, allocations: 16.81 kB / 3.017 GB, free: 246.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/11.35, allocations: 6.938 kB / 3.017 GB, free: 246.6 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0002614/11.35, allocations: 153.6 kB / 3.018 GB, free: 246.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.005073/11.35, allocations: 342.7 kB / 3.018 GB, free: 246.5 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 (10): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002391/11.36, allocations: 1.032 MB / 3.019 GB, free: 246.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0006507/11.36, allocations: 130 kB / 3.019 GB, free: 246.3 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.799e-06/11.36, allocations: 3.844 kB / 3.019 GB, free: 246.3 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001865/11.36, allocations: 47.83 kB / 3.019 GB, free: 246.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/11.36, allocations: 93.83 kB / 3.019 GB, free: 246.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/11.36, allocations: 290.7 kB / 3.019 GB, free: 246.1 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005261/11.36, allocations: 0.7913 MB / 3.02 GB, free: 245.4 MB / 0.823 GB Notification: Performance of SimCode: time 1.613e-06/11.36, allocations: 0 / 3.02 GB, free: 245.4 MB / 0.823 GB