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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.658/2.658, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.862e-05/1.886e-05, allocations: 0 / 303.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3858/0.3859, allocations: 54.86 MB / 358.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1606/0.5466, allocations: 87.87 MB / 446 MB, free: 6.938 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003656/0.547, allocations: 95.94 kB / 446.1 MB, free: 6.844 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04896/0.596, allocations: 10.62 MB / 456.7 MB, free: 12.05 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.596, allocations: 4 kB / 456.7 MB, free: 12.05 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.778e-05/0.5961, allocations: 4 kB / 456.7 MB, free: 12.04 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.001483/0.5976, allocations: 0.6229 MB / 457.4 MB, free: 11.38 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/0.5977, allocations: 16.03 kB / 457.4 MB, free: 11.36 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/0.5978, allocations: 43.44 kB / 457.4 MB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005389/0.5984, allocations: 278.5 kB / 457.7 MB, free: 11 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.5984, allocations: 12 kB / 457.7 MB, free: 10.99 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.686e-05/0.5985, allocations: 24 kB / 457.7 MB, free: 10.97 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008686/0.5994, allocations: 329.8 kB / 458 MB, free: 10.65 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.6005, allocations: 498.6 kB / 458.5 MB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.6006, allocations: 0 / 458.5 MB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.074e-05/0.6006, allocations: 7.953 kB / 458.5 MB, free: 10.13 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-05/0.6007, allocations: 20.78 kB / 458.6 MB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003006/0.6037, allocations: 1.237 MB / 459.8 MB, free: 8.824 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006083/0.6044, allocations: 235.6 kB / 460 MB, free: 8.566 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002889/0.6047, allocations: 107.4 kB / 460.1 MB, free: 8.453 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.935e-05/0.6048, allocations: 15.92 kB / 460.2 MB, free: 8.438 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.6048, allocations: 42.52 kB / 460.2 MB, free: 8.387 MB / 394.7 MB Notification: Performance of pre-optimization done (n=17): time 3.817e-06/0.6048, allocations: 0 / 460.2 MB, free: 8.387 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.000941/0.6058, allocations: 250.7 kB / 460.4 MB, free: 8.137 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.053e-05/0.6059, allocations: 102.8 kB / 460.5 MB, free: 8.012 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002915/0.6062, allocations: 187.3 kB / 460.7 MB, free: 7.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/0.6062, allocations: 25.7 kB / 460.7 MB, free: 7.789 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002182/0.6065, allocations: 278.4 kB / 461 MB, free: 7.516 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.569e-05/0.6066, allocations: 63.09 kB / 461.1 MB, free: 7.453 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.94e-05/0.6066, allocations: 0 / 461.1 MB, free: 7.453 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.6068, allocations: 314.8 kB / 461.4 MB, free: 7.137 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002867/0.6071, allocations: 96.09 kB / 461.5 MB, free: 7.039 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003278/0.6074, allocations: 143.1 kB / 461.6 MB, free: 6.883 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003365/0.6078, allocations: 103.9 kB / 461.7 MB, free: 6.781 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.6078, allocations: 4 kB / 461.7 MB, free: 6.777 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008693/0.6087, allocations: 279 kB / 462 MB, free: 6.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.6087, allocations: 9.25 kB / 462 MB, free: 6.492 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001131/0.6088, allocations: 31.97 kB / 462 MB, free: 6.461 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.6089, allocations: 3.953 kB / 462 MB, free: 6.457 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004396/0.6093, allocations: 35.97 kB / 462.1 MB, free: 6.422 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.6093, allocations: 4 kB / 462.1 MB, free: 6.418 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000391/0.6097, allocations: 43.75 kB / 462.1 MB, free: 6.375 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.483e-05/0.6098, allocations: 15.98 kB / 462.1 MB, free: 6.359 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.0001344/0.61, allocations: 104.9 kB / 462.2 MB, free: 6.25 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008316/0.6108, allocations: 253.2 kB / 462.5 MB, free: 5.996 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.6109, allocations: 19.77 kB / 462.5 MB, free: 5.977 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/0.612, allocations: 336.7 kB / 462.8 MB, free: 5.641 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/0.612, allocations: 4 kB / 462.8 MB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.612, allocations: 0 / 462.8 MB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.6121, allocations: 0 / 462.8 MB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008014/0.6129, allocations: 325.9 kB / 463.2 MB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001033/0.613, allocations: 27.97 kB / 463.2 MB, free: 5.254 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003554/0.6134, allocations: 39.91 kB / 463.2 MB, free: 5.215 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.6134, allocations: 4 kB / 463.2 MB, free: 5.211 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.827e-05/0.6134, allocations: 8 kB / 463.2 MB, free: 5.203 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.6134, allocations: 3.953 kB / 463.2 MB, free: 5.199 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.6135, allocations: 3.984 kB / 463.2 MB, free: 5.195 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009088/0.6144, allocations: 0.5132 MB / 463.8 MB, free: 4.652 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.6145, allocations: 104.8 kB / 463.9 MB, free: 4.531 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.706e-05/0.6146, allocations: 0 / 463.9 MB, free: 4.531 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004393/0.615, allocations: 27.91 kB / 463.9 MB, free: 4.504 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.6152, allocations: 27.91 kB / 463.9 MB, free: 4.477 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-05/0.6152, allocations: 8 kB / 463.9 MB, free: 4.469 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002134/0.6154, allocations: 157.5 kB / 464.1 MB, free: 4.316 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.9e-07/0.6155, allocations: 0 / 464.1 MB, free: 4.316 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008962/0.6164, allocations: 143.5 kB / 464.2 MB, free: 4.176 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.001767/0.6181, allocations: 1.29 MB / 465.5 MB, free: 2.855 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009461/0.6191, allocations: 467 kB / 466 MB, free: 2.344 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.6192, allocations: 0 / 466 MB, free: 2.344 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000511/0.6197, allocations: 347.2 kB / 466.3 MB, free: 1.949 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005384/0.6203, allocations: 28.42 kB / 466.3 MB, free: 1.922 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002575/0.6228, allocations: 0.6767 MB / 467 MB, free: 1.191 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006084/0.6235, allocations: 0.8488 MB / 467.9 MB, free: 324 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/0.6238, allocations: 107.4 kB / 468 MB, free: 216 kB / 394.7 MB Notification: Performance of SimCode: time 1.202e-06/0.6238, allocations: 0 / 468 MB, free: 216 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.1/3.723, allocations: 7.108 MB / 475.1 MB, free: 98.42 MB / 394.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