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.267/1.267, allocations: 111.1 MB / 126.7 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003672/0.0003672, allocations: 4 kB / 158.3 MB, free: 15.14 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06092/0.06133, allocations: 25.18 MB / 183.5 MB, free: 5.922 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004682/0.06607, allocations: 2.692 MB / 186.2 MB, free: 3.223 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.002176/0.06831, allocations: 0.8309 MB / 187 MB, free: 2.387 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003112/0.06867, allocations: 4 kB / 187 MB, free: 2.383 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002869/0.06897, allocations: 75.44 kB / 187.1 MB, free: 2.309 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006657/0.06965, allocations: 235.4 kB / 187.3 MB, free: 2.078 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003625/0.07003, allocations: 87.84 kB / 187.4 MB, free: 1.992 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009309/0.07097, allocations: 491.7 kB / 187.9 MB, free: 1.512 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003869/0.07138, allocations: 163.6 kB / 188.1 MB, free: 1.344 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003473/0.07174, allocations: 211.3 kB / 188.3 MB, free: 1.137 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005015/0.07225, allocations: 251 kB / 188.5 MB, free: 0.8906 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.07238, allocations: 36 kB / 188.6 MB, free: 0.8555 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.07253, allocations: 32 kB / 188.6 MB, free: 0.8242 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001351/0.07268, allocations: 95.66 kB / 188.7 MB, free: 0.7305 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001962/0.07289, allocations: 133.4 kB / 188.8 MB, free: 0.5938 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007297/0.07363, allocations: 486.6 kB / 189.3 MB, free: 120 kB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.07365, allocations: 0 / 189.3 MB, free: 120 kB / 154.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.07366, allocations: 4 kB / 189.3 MB, free: 116 kB / 154.7 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.07368, allocations: 0 / 189.3 MB, free: 116 kB / 154.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.002074/0.07577, allocations: 0.7536 MB / 190 MB, free: 15.3 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.07583, allocations: 8.031 kB / 190 MB, free: 15.3 MB / 170.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001913/0.07604, allocations: 83.52 kB / 190.1 MB, free: 15.21 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001886/0.07624, allocations: 59.34 kB / 190.2 MB, free: 15.15 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007957/0.07705, allocations: 370 kB / 190.6 MB, free: 14.75 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001606/0.07723, allocations: 62.64 kB / 190.6 MB, free: 14.68 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.881e-05/0.07733, allocations: 36 kB / 190.6 MB, free: 14.64 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.07855, allocations: 486.1 kB / 191.1 MB, free: 14.11 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.0786, allocations: 0 / 191.1 MB, free: 14.11 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-05/0.07867, allocations: 12 kB / 191.1 MB, free: 14.1 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/0.0787, allocations: 12 kB / 191.1 MB, free: 14.09 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.07975, allocations: 307.7 kB / 191.4 MB, free: 13.79 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.003735/0.0835, allocations: 1.54 MB / 193 MB, free: 12.11 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002053/0.08558, allocations: 444.5 kB / 193.4 MB, free: 11.65 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.951e-05/0.08568, allocations: 8 kB / 193.4 MB, free: 11.64 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.332e-05/0.08573, allocations: 38.56 kB / 193.5 MB, free: 11.59 MB / 170.7 MB Notification: Performance of pre-optimization done (n=32): time 2.986e-06/0.08574, allocations: 3.938 kB / 193.5 MB, free: 11.59 MB / 170.7 MB Notification: Performance of matching and sorting (n=32): time 0.002039/0.08779, allocations: 0.6063 MB / 194.1 MB, free: 10.93 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002438/0.08807, allocations: 445 kB / 194.5 MB, free: 10.39 MB / 170.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.001035/0.08912, allocations: 475.6 kB / 195 MB, free: 9.93 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 9.982e-05/0.08924, allocations: 33.7 kB / 195 MB, free: 9.891 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002405/0.08949, allocations: 263 kB / 195.3 MB, free: 9.633 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001515/0.08965, allocations: 122.3 kB / 195.4 MB, free: 9.512 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/0.08969, allocations: 4 kB / 195.4 MB, free: 9.508 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.08986, allocations: 326.8 kB / 195.7 MB, free: 9.18 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004365/0.0903, allocations: 112.2 kB / 195.8 MB, free: 9.07 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006096/0.09093, allocations: 250.9 kB / 196.1 MB, free: 8.773 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005237/0.09147, allocations: 162.9 kB / 196.2 MB, free: 8.609 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.09149, allocations: 0 / 196.2 MB, free: 8.609 MB / 170.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001334/0.09283, allocations: 406.3 kB / 196.6 MB, free: 8.195 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.435e-05/0.09292, allocations: 29.7 kB / 196.6 MB, free: 8.16 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.09294, allocations: 0 / 196.6 MB, free: 8.16 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002444/0.0932, allocations: 53.69 kB / 196.7 MB, free: 8.102 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005876/0.0938, allocations: 63.91 kB / 196.8 MB, free: 8.039 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003524/0.09734, allocations: 2.772 MB / 199.5 MB, free: 4.992 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000831/0.09822, allocations: 55.56 kB / 199.6 MB, free: 4.938 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.122e-05/0.09831, allocations: 16.2 kB / 199.6 MB, free: 4.922 MB / 170.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 (36): * Single equations (assignments): 33 * 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.0004681/0.09879, allocations: 190.1 kB / 199.8 MB, free: 4.727 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.09895, allocations: 47.44 kB / 199.8 MB, free: 4.68 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001394/0.0991, allocations: 52.66 kB / 199.9 MB, free: 4.625 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.09912, allocations: 4 kB / 199.9 MB, free: 4.621 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.09914, allocations: 7.953 kB / 199.9 MB, free: 4.613 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00116/0.1003, allocations: 0.6581 MB / 200.6 MB, free: 3.852 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002262/0.1026, allocations: 0.965 MB / 201.5 MB, free: 2.809 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.1026, allocations: 0 / 201.5 MB, free: 2.809 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/0.1037, allocations: 67.89 kB / 201.6 MB, free: 2.742 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.921e-05/0.1037, allocations: 7.953 kB / 201.6 MB, free: 2.734 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.302e-05/0.1038, allocations: 4 kB / 201.6 MB, free: 2.73 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.1038, allocations: 4 kB / 201.6 MB, free: 2.727 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/0.1038, allocations: 4.094 kB / 201.6 MB, free: 2.723 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002372/0.1062, allocations: 0.5311 MB / 202.1 MB, free: 2.172 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002904/0.1066, allocations: 128.5 kB / 202.3 MB, free: 2.027 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001864/0.1068, allocations: 15.95 kB / 202.3 MB, free: 2.012 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008834/0.1077, allocations: 27.83 kB / 202.3 MB, free: 1.984 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.857e-05/0.1078, allocations: 15.97 kB / 202.3 MB, free: 1.969 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-05/0.1078, allocations: 12 kB / 202.3 MB, free: 1.957 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0009208/0.1088, allocations: 319.2 kB / 202.6 MB, free: 1.645 MB / 170.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.1088, allocations: 4 kB / 202.6 MB, free: 1.641 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.001239/0.1101, allocations: 143.8 kB / 202.8 MB, free: 1.5 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 (32): * Single equations (assignments): 32 * 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.003066/0.1131, allocations: 1.076 MB / 203.9 MB, free: 404 kB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.1438/0.2571, allocations: 0.5624 MB / 204.4 MB, free: 24.22 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.2571, allocations: 1.469 kB / 204.4 MB, free: 24.22 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004937/0.2576, allocations: 129.6 kB / 204.6 MB, free: 24.22 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00234/0.26, allocations: 232.5 kB / 204.8 MB, free: 24.22 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003453/0.2635, allocations: 1.375 MB / 206.2 MB, free: 23.46 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004293/0.264, allocations: 0.8308 MB / 207 MB, free: 22.75 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005369/0.2645, allocations: 164.5 kB / 207.1 MB, free: 22.74 MB / 170.7 MB Notification: Performance of SimCode: time 2.164e-06/0.2645, allocations: 1.125 kB / 207.1 MB, free: 22.74 MB / 170.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.923/3.187, allocations: 10.17 MB / 217.3 MB, free: 18.68 MB / 170.7 MB