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.OneMass.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.OneMass,fileNamePrefix="Modelica_3_1_cpp_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.052/1.052, allocations: 111.2 MB / 124.2 MB, free: 11.21 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.518e-05/2.543e-05, allocations: 4 kB / 154.4 MB, free: 13.1 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1691, allocations: 25.16 MB / 179.5 MB, free: 0.8359 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07747/0.2466, allocations: 38.28 MB / 217.8 MB, free: 10.84 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003085/0.247, allocations: 67.97 kB / 217.9 MB, free: 10.77 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05677/0.3038, allocations: 9.883 MB / 227.8 MB, free: 0.832 MB / 186.7 MB Notification: Performance of FrontEnd: time 3.015e-06/0.3039, allocations: 0 / 227.8 MB, free: 0.832 MB / 186.7 MB Notification: Performance of Transformations before backend: time 6.95e-05/0.304, allocations: 8 kB / 227.8 MB, free: 0.8242 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.003011/0.307, allocations: 0.7375 MB / 228.5 MB, free: 36 kB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.365e-05/0.3071, allocations: 12.03 kB / 228.5 MB, free: 24 kB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003576/0.3075, allocations: 75.31 kB / 228.6 MB, free: 15.94 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003159/0.3078, allocations: 67.25 kB / 228.6 MB, free: 15.88 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00157/0.3094, allocations: 381.8 kB / 229 MB, free: 15.46 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002438/0.3097, allocations: 58.48 kB / 229.1 MB, free: 15.4 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001831/0.3099, allocations: 36 kB / 229.1 MB, free: 15.36 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/0.3117, allocations: 465.4 kB / 229.6 MB, free: 14.86 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.666e-05/0.3118, allocations: 0 / 229.6 MB, free: 14.86 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.3119, allocations: 19.95 kB / 229.6 MB, free: 14.84 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.216e-05/0.312, allocations: 15.98 kB / 229.6 MB, free: 14.82 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001511/0.3135, allocations: 279.1 kB / 229.9 MB, free: 14.55 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006106/0.3197, allocations: 1.416 MB / 231.3 MB, free: 13.03 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.3212, allocations: 377.7 kB / 231.7 MB, free: 12.64 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000663/0.3219, allocations: 153.4 kB / 231.8 MB, free: 12.48 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.43e-05/0.322, allocations: 4 kB / 231.8 MB, free: 12.48 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.049e-05/0.3221, allocations: 42.42 kB / 231.9 MB, free: 12.43 MB / 202.7 MB Notification: Performance of pre-optimization done (n=36): time 4.618e-06/0.3222, allocations: 0 / 231.9 MB, free: 12.43 MB / 202.7 MB Notification: Performance of matching and sorting (n=36): time 0.002111/0.3243, allocations: 374.6 kB / 232.2 MB, free: 12.05 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003233/0.3247, allocations: 448.9 kB / 232.7 MB, free: 11.51 MB / 202.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1121:9-1123:45:writable] Warning: Parameter volumeFlow.duration_2 has no value, and is fixed during initialization (fixed=true), using available start value (start=0.2) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1116:9-1118:45:writable] Warning: Parameter volumeFlow.duration_1 has no value, and is fixed during initialization (fixed=true), using available start value (start=0.2) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1112:9-1113:66:writable] Warning: Parameter volumeFlow.interval has no value, and is fixed during initialization (fixed=true), using available start value (start=0.2) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/FluidHeatFlow.mo:1110:9-1111:34:writable] Warning: Parameter volumeFlow.startTime has no value, and is fixed during initialization (fixed=true), using available start value (start=0.2) 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 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.001527/0.3262, allocations: 433 kB / 233.1 MB, free: 11.08 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001831/0.3264, allocations: 33.7 kB / 233.1 MB, free: 11.04 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005619/0.327, allocations: 274.9 kB / 233.4 MB, free: 10.77 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002779/0.3273, allocations: 126.1 kB / 233.5 MB, free: 10.65 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.173e-05/0.3274, allocations: 8 kB / 233.5 MB, free: 10.64 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.3276, allocations: 318.8 kB / 233.8 MB, free: 10.32 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005856/0.3282, allocations: 108.3 kB / 233.9 MB, free: 10.21 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008467/0.3291, allocations: 251.3 kB / 234.2 MB, free: 9.914 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000699/0.3299, allocations: 146.9 kB / 234.3 MB, free: 9.766 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.3299, allocations: 0 / 234.3 MB, free: 9.766 MB / 202.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.002007/0.3319, allocations: 412.4 kB / 234.7 MB, free: 9.344 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.299e-05/0.3321, allocations: 37.69 kB / 234.8 MB, free: 9.301 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.3321, allocations: 4.031 kB / 234.8 MB, free: 9.297 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006175/0.3328, allocations: 65.56 kB / 234.8 MB, free: 9.227 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/0.3342, allocations: 83.94 kB / 234.9 MB, free: 9.145 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005256/0.3395, allocations: 2.745 MB / 237.7 MB, free: 6.137 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/0.3407, allocations: 75.55 kB / 237.7 MB, free: 6.062 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.902e-05/0.3409, allocations: 12 kB / 237.7 MB, free: 6.051 MB / 202.7 MB Warning: Assuming fixed start value for the following 2 variables: heatCapacitor.T:VARIABLE(min = max(1.0, max(1.0, 1.0)) max = min(6000.0, min(6000.0, 6000.0)) start = TMass unit = "K" nominal = 300.0 ) "Temperature of element" type: Real pipe.T:VARIABLE(min = 1.0 max = 6000.0 start = pipe.T0 unit = "K" 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 35 * 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 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004501/0.3414, allocations: 141.5 kB / 237.9 MB, free: 5.906 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002781/0.3417, allocations: 55.42 kB / 237.9 MB, free: 5.852 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002467/0.3419, allocations: 56.88 kB / 238 MB, free: 5.797 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.342, allocations: 4.656 kB / 238 MB, free: 5.793 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.342, allocations: 0 / 238 MB, free: 5.793 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001604/0.3436, allocations: 0.6688 MB / 238.7 MB, free: 5.02 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003712/0.3474, allocations: 1.02 MB / 239.7 MB, free: 3.926 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.3474, allocations: 3.938 kB / 239.7 MB, free: 3.922 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001466/0.3489, allocations: 95.88 kB / 239.8 MB, free: 3.828 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-05/0.349, allocations: 4 kB / 239.8 MB, free: 3.824 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.761e-05/0.3491, allocations: 4 kB / 239.8 MB, free: 3.82 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.089e-05/0.3491, allocations: 4 kB / 239.8 MB, free: 3.816 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.3491, allocations: 3.984 kB / 239.8 MB, free: 3.812 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002221/0.3513, allocations: 0.5699 MB / 240.4 MB, free: 3.227 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003809/0.3518, allocations: 132.4 kB / 240.5 MB, free: 3.078 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002092/0.352, allocations: 16 kB / 240.5 MB, free: 3.062 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/0.3531, allocations: 35.97 kB / 240.5 MB, free: 3.027 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/0.3533, allocations: 23.97 kB / 240.6 MB, free: 3.004 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-05/0.3534, allocations: 12.05 kB / 240.6 MB, free: 2.992 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.000972/0.3544, allocations: 321.2 kB / 240.9 MB, free: 2.68 MB / 202.7 MB Notification: Performance of sort global known variables: time 1.102e-06/0.3544, allocations: 0 / 240.9 MB, free: 2.68 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.001357/0.3558, allocations: 155.8 kB / 241 MB, free: 2.527 MB / 202.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 36 * 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.003088/0.3589, allocations: 1.133 MB / 242.2 MB, free: 1.363 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.002205/0.3612, allocations: 0.5707 MB / 242.8 MB, free: 0.7539 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 9.487e-06/0.3612, allocations: 0 / 242.8 MB, free: 0.7539 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007202/0.362, allocations: 140.5 kB / 242.9 MB, free: 0.6172 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00369/0.3657, allocations: 257.8 kB / 243.1 MB, free: 372 kB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005461/0.3712, allocations: 0.8447 MB / 244 MB, free: 15.48 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008053/0.3721, allocations: 0.8432 MB / 244.8 MB, free: 14.61 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007371/0.3729, allocations: 175.4 kB / 245 MB, free: 14.44 MB / 218.7 MB Notification: Performance of SimCode: time 1.483e-06/0.3729, allocations: 0 / 245 MB, free: 14.44 MB / 218.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.943/3.316, allocations: 11.05 MB / 256 MB, free: 3.41 MB / 218.7 MB