Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.538/2.538, allocations: 235 MB / 248.1 MB, free: 14.55 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.175e-05/4.181e-05, allocations: 4 kB / 309.8 MB, free: 1.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4165/0.4166, allocations: 54.85 MB / 364.6 MB, free: 5.418 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.168/0.5847, allocations: 88.53 MB / 453.2 MB, free: 7.875 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003985/0.5852, allocations: 91.94 kB / 453.3 MB, free: 7.785 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05141/0.6366, allocations: 10.77 MB / 464 MB, free: 12.88 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6367, allocations: 0 / 464 MB, free: 12.88 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.965e-05/0.6367, allocations: 4 kB / 464 MB, free: 12.87 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001506/0.6382, allocations: 0.6269 MB / 464.7 MB, free: 12.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.474e-05/0.6383, allocations: 19.95 kB / 464.7 MB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001747/0.6385, allocations: 78.53 kB / 464.8 MB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/0.6386, allocations: 43.44 kB / 464.8 MB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005571/0.6392, allocations: 274.4 kB / 465.1 MB, free: 11.74 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.403e-05/0.6393, allocations: 32.78 kB / 465.1 MB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.83e-05/0.6394, allocations: 36 kB / 465.1 MB, free: 11.67 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.6407, allocations: 0.541 MB / 465.7 MB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.6408, allocations: 0.5625 kB / 465.7 MB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.474e-05/0.6409, allocations: 23.94 kB / 465.7 MB, free: 11.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-05/0.6409, allocations: 24.72 kB / 465.7 MB, free: 11.06 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.642, allocations: 362.9 kB / 466.1 MB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003543/0.6456, allocations: 1.397 MB / 467.5 MB, free: 9.246 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007217/0.6463, allocations: 244.6 kB / 467.7 MB, free: 8.98 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003429/0.6467, allocations: 109.7 kB / 467.8 MB, free: 8.867 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.115e-05/0.6468, allocations: 19.98 kB / 467.9 MB, free: 8.848 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.541e-05/0.6468, allocations: 38.56 kB / 467.9 MB, free: 8.801 MB / 394.7 MB Notification: Performance of pre-optimization done (n=17): time 3.607e-06/0.6469, allocations: 0 / 467.9 MB, free: 8.801 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001065/0.6479, allocations: 274.2 kB / 468.2 MB, free: 8.527 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.728e-05/0.6481, allocations: 110.8 kB / 468.3 MB, free: 8.395 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009646/0.649, allocations: 451.1 kB / 468.7 MB, free: 7.945 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.776e-05/0.6491, allocations: 33.7 kB / 468.7 MB, free: 7.906 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002737/0.6494, allocations: 246.7 kB / 469 MB, free: 7.664 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.309e-05/0.6495, allocations: 51.2 kB / 469 MB, free: 7.613 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.719e-05/0.6496, allocations: 4 kB / 469 MB, free: 7.609 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.6497, allocations: 318.8 kB / 469.3 MB, free: 7.289 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003428/0.6501, allocations: 96.11 kB / 469.4 MB, free: 7.191 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003853/0.6505, allocations: 142.4 kB / 469.6 MB, free: 7.035 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003754/0.6509, allocations: 114.1 kB / 469.7 MB, free: 6.926 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.6509, allocations: 3.938 kB / 469.7 MB, free: 6.922 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009546/0.6518, allocations: 297.2 kB / 470 MB, free: 6.625 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.6519, allocations: 4.156 kB / 470 MB, free: 6.621 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001081/0.652, allocations: 35.97 kB / 470 MB, free: 6.586 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.652, allocations: 0 / 470 MB, free: 6.586 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004118/0.6525, allocations: 35.97 kB / 470.1 MB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.6525, allocations: 4 kB / 470.1 MB, free: 6.547 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005417/0.6531, allocations: 67.41 kB / 470.1 MB, free: 6.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.212e-05/0.6531, allocations: 15.94 kB / 470.1 MB, free: 6.465 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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 prepare postOptimizeDAE: time 0.0001369/0.6533, allocations: 108.9 kB / 470.2 MB, free: 6.352 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001755/0.6535, allocations: 43.48 kB / 470.3 MB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/0.6547, allocations: 360.8 kB / 470.6 MB, free: 5.953 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.6547, allocations: 4 kB / 470.6 MB, free: 5.949 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.976e-06/0.6547, allocations: 7.984 kB / 470.7 MB, free: 5.941 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.6548, allocations: 0 / 470.7 MB, free: 5.941 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009284/0.6557, allocations: 369.3 kB / 471 MB, free: 5.531 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-05/0.6558, allocations: 27.97 kB / 471 MB, free: 5.504 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003326/0.6562, allocations: 35.91 kB / 471.1 MB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.084e-06/0.6562, allocations: 0 / 471.1 MB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.317e-05/0.6562, allocations: 11.95 kB / 471.1 MB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.6563, allocations: 0 / 471.1 MB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.6563, allocations: 7.984 kB / 471.1 MB, free: 5.449 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000996/0.6573, allocations: 0.5416 MB / 471.6 MB, free: 4.879 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002206/0.6575, allocations: 120.6 kB / 471.8 MB, free: 4.742 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.881e-05/0.6576, allocations: 0 / 471.8 MB, free: 4.742 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005195/0.6582, allocations: 31.97 kB / 471.8 MB, free: 4.711 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.6583, allocations: 23.91 kB / 471.8 MB, free: 4.688 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.5e-05/0.6583, allocations: 12 kB / 471.8 MB, free: 4.676 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006867/0.659, allocations: 365.1 kB / 472.2 MB, free: 4.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6591, allocations: 0 / 472.2 MB, free: 4.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007934/0.6599, allocations: 127.8 kB / 472.3 MB, free: 4.195 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001776/0.6616, allocations: 1.322 MB / 473.6 MB, free: 2.836 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009781/0.6627, allocations: 475.8 kB / 474.1 MB, free: 2.316 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.6627, allocations: 0 / 474.1 MB, free: 2.316 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005318/0.6632, allocations: 363.1 kB / 474.4 MB, free: 1.906 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008474/0.6641, allocations: 93.86 kB / 474.5 MB, free: 1.816 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/0.6667, allocations: 0.744 MB / 475.3 MB, free: 1.023 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005774/0.6673, allocations: 0.8499 MB / 476.1 MB, free: 148 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002612/0.6676, allocations: 107.4 kB / 476.2 MB, free: 40 kB / 394.7 MB Notification: Performance of SimCode: time 1.363e-06/0.6676, allocations: 0 / 476.2 MB, free: 40 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.079/3.746, allocations: 8.846 MB / 485.1 MB, free: 7.203 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_res.mat does not exist to compare? outputFormat=mat