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.003/1.003, allocations: 111.1 MB / 126.7 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004067/0.0004067, allocations: 4 kB / 158.4 MB, free: 15.09 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08188/0.08234, allocations: 25.16 MB / 183.6 MB, free: 5.891 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2178/0.3002, allocations: 38.37 MB / 222 MB, free: 5.109 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/0.3005, allocations: 66.12 kB / 222 MB, free: 5.102 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03874/0.3393, allocations: 9.886 MB / 231.9 MB, free: 15.3 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3393, allocations: 0 / 231.9 MB, free: 15.3 MB / 186.7 MB Notification: Performance of Transformations before backend: time 4.083e-05/0.3394, allocations: 8 kB / 231.9 MB, free: 15.3 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.002181/0.3416, allocations: 0.8194 MB / 232.7 MB, free: 14.46 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.3416, allocations: 15.91 kB / 232.8 MB, free: 14.45 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002285/0.3419, allocations: 88.06 kB / 232.8 MB, free: 14.38 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001681/0.342, allocations: 59.34 kB / 232.9 MB, free: 14.32 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008084/0.3429, allocations: 391.7 kB / 233.3 MB, free: 13.95 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/0.343, allocations: 64.94 kB / 233.3 MB, free: 13.88 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.161e-05/0.3431, allocations: 34.19 kB / 233.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/0.3445, allocations: 0.5074 MB / 233.9 MB, free: 13.42 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.3445, allocations: 0 / 233.9 MB, free: 13.42 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.293e-05/0.3446, allocations: 18.45 kB / 233.9 MB, free: 13.41 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.3446, allocations: 12 kB / 233.9 MB, free: 13.4 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/0.3461, allocations: 381.2 kB / 234.3 MB, free: 13.13 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003356/0.3495, allocations: 1.415 MB / 235.7 MB, free: 11.92 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/0.3509, allocations: 461.2 kB / 236.1 MB, free: 11.55 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.875e-05/0.351, allocations: 4 kB / 236.2 MB, free: 11.55 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.114e-05/0.3511, allocations: 42.38 kB / 236.2 MB, free: 11.5 MB / 186.7 MB Notification: Performance of pre-optimization done (n=36): time 4.569e-06/0.3511, allocations: 0 / 236.2 MB, free: 11.5 MB / 186.7 MB Notification: Performance of matching and sorting (n=36): time 0.002741/0.3538, allocations: 0.7792 MB / 237 MB, free: 10.82 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002154/0.3541, allocations: 445 kB / 237.4 MB, free: 10.28 MB / 186.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.0009192/0.355, allocations: 427 kB / 237.8 MB, free: 9.953 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 7.654e-05/0.3551, allocations: 33.27 kB / 237.9 MB, free: 9.918 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002047/0.3553, allocations: 280 kB / 238.1 MB, free: 9.707 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000148/0.3555, allocations: 121.1 kB / 238.2 MB, free: 9.605 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.187e-05/0.3555, allocations: 11.69 kB / 238.3 MB, free: 9.598 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.3557, allocations: 327.4 kB / 238.6 MB, free: 9.277 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000651/0.3563, allocations: 154.4 kB / 238.7 MB, free: 9.164 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007979/0.3571, allocations: 292.9 kB / 239 MB, free: 8.887 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007126/0.3579, allocations: 212.4 kB / 239.2 MB, free: 8.734 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.3579, allocations: 0 / 239.2 MB, free: 8.734 MB / 186.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001648/0.3595, allocations: 497.3 kB / 239.7 MB, free: 8.348 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.681e-05/0.3596, allocations: 37.64 kB / 239.7 MB, free: 8.305 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.3596, allocations: 0 / 239.7 MB, free: 8.305 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002292/0.3599, allocations: 50.06 kB / 239.8 MB, free: 8.258 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000792/0.3607, allocations: 95 kB / 239.9 MB, free: 8.168 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003367/0.3641, allocations: 2.767 MB / 242.7 MB, free: 5.324 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008347/0.365, allocations: 66.09 kB / 242.7 MB, free: 5.266 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.923e-05/0.365, allocations: 11.38 kB / 242.7 MB, free: 5.258 MB / 186.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" 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 (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.0005128/0.3656, allocations: 198.8 kB / 242.9 MB, free: 5.094 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.3657, allocations: 55.34 kB / 243 MB, free: 5.039 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001436/0.3659, allocations: 55.19 kB / 243 MB, free: 5.008 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.3659, allocations: 4 kB / 243 MB, free: 5.004 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.3659, allocations: 3.938 kB / 243 MB, free: 5 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001655/0.3676, allocations: 0.7646 MB / 243.8 MB, free: 4.219 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003252/0.3709, allocations: 1.114 MB / 244.9 MB, free: 3.277 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.3709, allocations: 4 kB / 244.9 MB, free: 3.273 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009119/0.3719, allocations: 94.75 kB / 245 MB, free: 3.184 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.106e-05/0.3719, allocations: 0 / 245 MB, free: 3.184 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.482e-05/0.372, allocations: 11.36 kB / 245 MB, free: 3.176 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.74e-06/0.372, allocations: 0 / 245 MB, free: 3.176 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.372, allocations: 0 / 245 MB, free: 3.176 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002577/0.3746, allocations: 0.7158 MB / 245.7 MB, free: 2.613 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002926/0.3749, allocations: 131 kB / 245.9 MB, free: 2.473 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001625/0.3751, allocations: 11.8 kB / 245.9 MB, free: 2.465 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006387/0.3758, allocations: 39.23 kB / 245.9 MB, free: 2.434 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.3759, allocations: 31.73 kB / 246 MB, free: 2.406 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-05/0.376, allocations: 11.31 kB / 246 MB, free: 2.398 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0006249/0.3766, allocations: 322.2 kB / 246.3 MB, free: 2.16 MB / 186.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.3766, allocations: 0 / 246.3 MB, free: 2.16 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0008341/0.3775, allocations: 153.5 kB / 246.4 MB, free: 2.023 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 (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.002843/0.3803, allocations: 1.278 MB / 247.7 MB, free: 0.8906 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.002088/0.3825, allocations: 0.6679 MB / 248.4 MB, free: 296 kB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.3825, allocations: 4.062 kB / 248.4 MB, free: 292 kB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007638/0.3833, allocations: 199.4 kB / 248.6 MB, free: 140 kB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002384/0.3857, allocations: 249.8 kB / 248.8 MB, free: 15.93 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004323/0.3901, allocations: 1.687 MB / 250.5 MB, free: 14.27 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005051/0.3906, allocations: 0.8471 MB / 251.4 MB, free: 13.39 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004458/0.3911, allocations: 173.2 kB / 251.5 MB, free: 13.34 MB / 202.7 MB Notification: Performance of SimCode: time 1.162e-06/0.3911, allocations: 0 / 251.5 MB, free: 13.34 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.025/3.416, allocations: 10.89 MB / 262.4 MB, free: 2.488 MB / 202.7 MB