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.097/1.097, allocations: 111.1 MB / 126.7 MB, free: 6.137 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003643/0.0003645, allocations: 8 kB / 158.3 MB, free: 15.11 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05652/0.05693, allocations: 25.16 MB / 183.5 MB, free: 5.906 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004859/0.06185, allocations: 2.826 MB / 186.3 MB, free: 3.07 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.002217/0.06412, allocations: 0.8737 MB / 187.2 MB, free: 2.191 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002615/0.06443, allocations: 7.938 kB / 187.2 MB, free: 2.184 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002748/0.06471, allocations: 71.5 kB / 187.3 MB, free: 2.113 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006733/0.0654, allocations: 239.4 kB / 187.5 MB, free: 1.879 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003772/0.06579, allocations: 99.81 kB / 187.6 MB, free: 1.781 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009139/0.06672, allocations: 0.5036 MB / 188.1 MB, free: 1.277 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003601/0.06711, allocations: 159.6 kB / 188.3 MB, free: 1.117 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003661/0.06749, allocations: 235.2 kB / 188.5 MB, free: 0.8867 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004517/0.06796, allocations: 263 kB / 188.8 MB, free: 0.6289 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001113/0.06808, allocations: 43.94 kB / 188.8 MB, free: 0.5859 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001501/0.06825, allocations: 36 kB / 188.8 MB, free: 0.5508 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.06839, allocations: 99.62 kB / 188.9 MB, free: 464 kB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001711/0.06858, allocations: 137.5 kB / 189.1 MB, free: 320 kB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007549/0.06934, allocations: 0.5102 MB / 189.6 MB, free: 15.8 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.06936, allocations: 0 / 189.6 MB, free: 15.8 MB / 170.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.06938, allocations: 3.938 kB / 189.6 MB, free: 15.8 MB / 170.7 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.0694, allocations: 0 / 189.6 MB, free: 15.8 MB / 170.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.002098/0.0715, allocations: 0.8078 MB / 190.4 MB, free: 14.93 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.07156, allocations: 8.031 kB / 190.4 MB, free: 14.93 MB / 170.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000178/0.07175, allocations: 83.38 kB / 190.5 MB, free: 14.84 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.07193, allocations: 63.34 kB / 190.5 MB, free: 14.77 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009888/0.07293, allocations: 417.9 kB / 191 MB, free: 14.32 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003394/0.07329, allocations: 90.66 kB / 191 MB, free: 14.23 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.641e-05/0.0734, allocations: 36 kB / 191.1 MB, free: 14.2 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/0.07491, allocations: 0.5215 MB / 191.6 MB, free: 13.62 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.07495, allocations: 0 / 191.6 MB, free: 13.62 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-05/0.07503, allocations: 27.88 kB / 191.6 MB, free: 13.59 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.07506, allocations: 8 kB / 191.6 MB, free: 13.58 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/0.07675, allocations: 395.8 kB / 192 MB, free: 13.2 MB / 170.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003453/0.08024, allocations: 1.511 MB / 193.5 MB, free: 11.55 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/0.08155, allocations: 399.4 kB / 193.9 MB, free: 11.14 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.481e-05/0.08162, allocations: 4 kB / 193.9 MB, free: 11.13 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/0.08167, allocations: 43.14 kB / 194 MB, free: 11.08 MB / 170.7 MB Notification: Performance of pre-optimization done (n=35): time 3.387e-06/0.08169, allocations: 0 / 194 MB, free: 11.08 MB / 170.7 MB Notification: Performance of matching and sorting (n=35): time 0.00308/0.08478, allocations: 0.7942 MB / 194.8 MB, free: 10.24 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002546/0.08506, allocations: 445 kB / 195.2 MB, free: 9.699 MB / 170.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.001032/0.08611, allocations: 479.7 kB / 195.7 MB, free: 9.227 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 7.604e-05/0.0862, allocations: 37.7 kB / 195.7 MB, free: 9.184 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002394/0.08645, allocations: 270.8 kB / 196 MB, free: 8.918 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/0.08663, allocations: 122.2 kB / 196.1 MB, free: 8.797 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.08667, allocations: 8 kB / 196.1 MB, free: 8.789 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.08683, allocations: 322.8 kB / 196.4 MB, free: 8.465 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007527/0.08759, allocations: 164.2 kB / 196.6 MB, free: 8.305 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009437/0.08855, allocations: 314.8 kB / 196.9 MB, free: 7.945 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008082/0.08938, allocations: 202.7 kB / 197.1 MB, free: 7.742 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/0.0894, allocations: 7.891 kB / 197.1 MB, free: 7.734 MB / 170.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001885/0.0913, allocations: 497.3 kB / 197.6 MB, free: 7.23 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.766e-05/0.09137, allocations: 33.69 kB / 197.6 MB, free: 7.191 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.455e-06/0.09139, allocations: 4 kB / 197.6 MB, free: 7.188 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002336/0.09163, allocations: 45.64 kB / 197.7 MB, free: 7.137 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000814/0.09246, allocations: 99.88 kB / 197.7 MB, free: 7.039 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003546/0.09602, allocations: 2.768 MB / 200.5 MB, free: 3.988 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009759/0.09705, allocations: 71.88 kB / 200.6 MB, free: 3.918 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.742e-05/0.09712, allocations: 12 kB / 200.6 MB, free: 3.906 MB / 170.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 (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 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004902/0.09762, allocations: 196.6 kB / 200.8 MB, free: 3.707 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.09776, allocations: 55.38 kB / 200.8 MB, free: 3.652 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001448/0.09792, allocations: 48.77 kB / 200.9 MB, free: 3.605 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.09794, allocations: 7.938 kB / 200.9 MB, free: 3.598 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.09795, allocations: 4 kB / 200.9 MB, free: 3.594 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001825/0.09979, allocations: 0.7744 MB / 201.7 MB, free: 2.715 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002976/0.1028, allocations: 1.121 MB / 202.8 MB, free: 1.512 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.1028, allocations: 0 / 202.8 MB, free: 1.512 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008776/0.1037, allocations: 99.86 kB / 202.9 MB, free: 1.414 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-05/0.1037, allocations: 8 kB / 202.9 MB, free: 1.406 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.784e-05/0.1038, allocations: 4 kB / 202.9 MB, free: 1.402 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.057e-05/0.1038, allocations: 4 kB / 202.9 MB, free: 1.398 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.1038, allocations: 3.938 kB / 202.9 MB, free: 1.395 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002612/0.1065, allocations: 0.7175 MB / 203.6 MB, free: 0.6602 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002414/0.1067, allocations: 136.6 kB / 203.8 MB, free: 0.5078 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/0.1069, allocations: 12 kB / 203.8 MB, free: 0.4961 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007754/0.1077, allocations: 39.91 kB / 203.8 MB, free: 468 kB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.1078, allocations: 27.95 kB / 203.8 MB, free: 440 kB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.531e-05/0.1078, allocations: 8 kB / 203.9 MB, free: 432 kB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0005954/0.1084, allocations: 335.1 kB / 204.2 MB, free: 96 kB / 170.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.1085, allocations: 0 / 204.2 MB, free: 96 kB / 170.7 MB Notification: Performance of remove unused functions: time 0.1434/0.2519, allocations: 146.7 kB / 204.3 MB, free: 24.16 MB / 170.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 (35): * Single equations (assignments): 35 * 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.003024/0.255, allocations: 1.255 MB / 205.6 MB, free: 23.51 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.002176/0.2572, allocations: 0.6818 MB / 206.3 MB, free: 23.22 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.2572, allocations: 4.562 kB / 206.3 MB, free: 23.22 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008094/0.258, allocations: 195.6 kB / 206.5 MB, free: 23.22 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002238/0.2603, allocations: 233.4 kB / 206.7 MB, free: 23.22 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003381/0.2637, allocations: 1.485 MB / 208.2 MB, free: 22.42 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.2641, allocations: 0.843 MB / 209 MB, free: 21.71 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004206/0.2645, allocations: 178 kB / 209.2 MB, free: 21.67 MB / 170.7 MB Notification: Performance of SimCode: time 1.142e-06/0.2645, allocations: 0 / 209.2 MB, free: 21.67 MB / 170.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.696/2.96, allocations: 10.9 MB / 220.1 MB, free: 16.04 MB / 170.7 MB