Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_3_1_cpp_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.036/1.036, allocations: 111.1 MB / 126.7 MB, free: 6.137 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003736/0.0003738, allocations: 4 kB / 158.4 MB, free: 15.1 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.056/0.05642, allocations: 25.16 MB / 183.6 MB, free: 5.895 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2187/0.2752, allocations: 37.8 MB / 221.4 MB, free: 5.273 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/0.2755, allocations: 63.25 kB / 221.4 MB, free: 5.266 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03476/0.3103, allocations: 9.392 MB / 230.8 MB, free: 300 kB / 170.7 MB Notification: Performance of FrontEnd: time 3.937e-06/0.3103, allocations: 0 / 230.8 MB, free: 300 kB / 170.7 MB Notification: Performance of Transformations before backend: time 3.31e-05/0.3104, allocations: 9.203 kB / 230.9 MB, free: 292 kB / 170.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001668/0.312, allocations: 0.7515 MB / 231.6 MB, free: 15.52 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.3121, allocations: 12.02 kB / 231.6 MB, free: 15.5 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001818/0.3123, allocations: 82.66 kB / 231.7 MB, free: 15.43 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001599/0.3125, allocations: 63.33 kB / 231.8 MB, free: 15.37 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007255/0.3132, allocations: 379.7 kB / 232.1 MB, free: 15.01 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/0.3134, allocations: 62.08 kB / 232.2 MB, free: 14.95 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.55e-05/0.3135, allocations: 35.75 kB / 232.2 MB, free: 14.93 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.3146, allocations: 478.5 kB / 232.7 MB, free: 14.53 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.3146, allocations: 0 / 232.7 MB, free: 14.53 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.865e-05/0.3147, allocations: 19.52 kB / 232.7 MB, free: 14.52 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.3147, allocations: 11.94 kB / 232.7 MB, free: 14.51 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009761/0.3157, allocations: 307.7 kB / 233 MB, free: 14.3 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003165/0.3189, allocations: 1.392 MB / 234.4 MB, free: 13.11 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001938/0.3208, allocations: 446.8 kB / 234.9 MB, free: 12.75 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.386e-05/0.3209, allocations: 8.266 kB / 234.9 MB, free: 12.74 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.321, allocations: 42.09 kB / 234.9 MB, free: 12.7 MB / 186.7 MB Notification: Performance of pre-optimization done (n=33): time 3.657e-06/0.321, allocations: 0 / 234.9 MB, free: 12.7 MB / 186.7 MB Notification: Performance of matching and sorting (n=33): time 0.001924/0.3229, allocations: 0.6197 MB / 235.5 MB, free: 12.14 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002286/0.3232, allocations: 451.2 kB / 236 MB, free: 11.6 MB / 186.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1600:7-1602:56:writable] Warning: Parameter ambient2.constantAmbientPressure has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1309:7-1310:76:writable] Warning: Parameter pipe.h_g has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:2262:9-2264:54:writable] Warning: Parameter pipe.dpNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:2259:9-2261:54:writable] Warning: Parameter pipe.V_flowNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:2256:9-2258:54:writable] Warning: Parameter pipe.dpLaminar has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:2253:9-2255:54:writable] Warning: Parameter pipe.V_flowLaminar has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1702:7-1704:58:writable] Warning: Parameter pump.constantVolumeFlow has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1600:7-1602:56:writable] Warning: Parameter ambient1.constantAmbientPressure has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009127/0.3241, allocations: 420.5 kB / 236.4 MB, free: 11.28 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 6.196e-05/0.3242, allocations: 32.77 kB / 236.4 MB, free: 11.24 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/0.3244, allocations: 269.3 kB / 236.7 MB, free: 11.04 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.3245, allocations: 117.9 kB / 236.8 MB, free: 10.94 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.994e-05/0.3246, allocations: 10.25 kB / 236.8 MB, free: 10.94 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.3247, allocations: 325.8 kB / 237.1 MB, free: 10.61 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004002/0.3251, allocations: 108.9 kB / 237.2 MB, free: 10.54 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005598/0.3257, allocations: 257.8 kB / 237.5 MB, free: 10.3 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005057/0.3262, allocations: 162 kB / 237.6 MB, free: 10.19 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.3263, allocations: 0 / 237.6 MB, free: 10.19 MB / 186.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001215/0.3275, allocations: 419.2 kB / 238 MB, free: 9.871 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.941e-05/0.3276, allocations: 29.7 kB / 238.1 MB, free: 9.836 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.3276, allocations: 0 / 238.1 MB, free: 9.836 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00024/0.3278, allocations: 52.31 kB / 238.1 MB, free: 9.789 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006407/0.3285, allocations: 79.36 kB / 238.2 MB, free: 9.715 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003576/0.3321, allocations: 2.779 MB / 241 MB, free: 6.852 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007407/0.3329, allocations: 50.48 kB / 241 MB, free: 6.809 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-05/0.3329, allocations: 11.95 kB / 241 MB, free: 6.797 MB / 186.7 MB Warning: Assuming fixed start value for the following 2 variables: heatCapacitor.T:VARIABLE(min = max(1.0, max(1.0, max(1.0, 1.0))) max = min(6000.0, min(6000.0, min(6000.0, 6000.0))) start = TAmb unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real pipe.T:VARIABLE(min = 1.0 max = 6000.0 start = pipe.T0 unit = "K" fixed = true nominal = 300.0 ) "Outlet temperature of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 34 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004883/0.3334, allocations: 193.3 kB / 241.2 MB, free: 6.633 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.3336, allocations: 51.44 kB / 241.3 MB, free: 6.582 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001404/0.3338, allocations: 55.31 kB / 241.3 MB, free: 6.547 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.3338, allocations: 4 kB / 241.3 MB, free: 6.543 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.3338, allocations: 0 / 241.3 MB, free: 6.543 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00108/0.3349, allocations: 0.6706 MB / 242 MB, free: 5.844 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002178/0.3371, allocations: 0.9696 MB / 243 MB, free: 5.012 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.3371, allocations: 0 / 243 MB, free: 5.012 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006645/0.3378, allocations: 71.34 kB / 243 MB, free: 4.945 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-05/0.3378, allocations: 7.984 kB / 243 MB, free: 4.938 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.509e-05/0.3379, allocations: 3.438 kB / 243.1 MB, free: 4.938 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.173e-06/0.3379, allocations: 8.031 kB / 243.1 MB, free: 4.93 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/0.3379, allocations: 7.891 kB / 243.1 MB, free: 4.922 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001448/0.3394, allocations: 0.5364 MB / 243.6 MB, free: 4.504 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002153/0.3396, allocations: 129.5 kB / 243.7 MB, free: 4.367 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.3397, allocations: 6.75 kB / 243.7 MB, free: 4.363 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004536/0.3402, allocations: 21.98 kB / 243.8 MB, free: 4.348 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.074e-05/0.3403, allocations: 31.42 kB / 243.8 MB, free: 4.32 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-05/0.3403, allocations: 4 kB / 243.8 MB, free: 4.316 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.00058/0.3409, allocations: 321.7 kB / 244.1 MB, free: 4.078 MB / 186.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3409, allocations: 0 / 244.1 MB, free: 4.078 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0007137/0.3417, allocations: 150.3 kB / 244.3 MB, free: 3.941 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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.001848/0.3435, allocations: 1.106 MB / 245.4 MB, free: 2.949 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.00147/0.345, allocations: 0.5763 MB / 245.9 MB, free: 2.426 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.345, allocations: 0 / 245.9 MB, free: 2.426 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004247/0.3455, allocations: 143.1 kB / 246.1 MB, free: 2.32 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002139/0.3476, allocations: 234.8 kB / 246.3 MB, free: 2.129 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003321/0.351, allocations: 1.555 MB / 247.9 MB, free: 0.5938 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004976/0.3515, allocations: 0.8277 MB / 248.7 MB, free: 15.74 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003662/0.3519, allocations: 165 kB / 248.8 MB, free: 15.68 MB / 202.7 MB Notification: Performance of SimCode: time 3.657e-06/0.3519, allocations: 0 / 248.8 MB, free: 15.68 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.877/3.229, allocations: 10.2 MB / 259.1 MB, free: 5.602 MB / 202.7 MB