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_KC.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_KC,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.516/2.516, allocations: 235 MB / 248.1 MB, free: 14.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.464e-05/3.48e-05, allocations: 0 / 309.8 MB, free: 1.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3968/0.3969, allocations: 54.85 MB / 364.6 MB, free: 5.547 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1651/0.562, allocations: 86.73 MB / 451.4 MB, free: 9.758 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003856/0.5625, allocations: 95.92 kB / 451.5 MB, free: 9.664 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04741/0.6099, allocations: 9.371 MB / 460.8 MB, free: 160 kB / 378.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.61, allocations: 0 / 460.8 MB, free: 160 kB / 378.7 MB Notification: Performance of Transformations before backend: time 1.866e-05/0.61, allocations: 4 kB / 460.8 MB, free: 156 kB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001282/0.6113, allocations: 0.5651 MB / 461.4 MB, free: 15.54 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.6114, allocations: 15.97 kB / 461.4 MB, free: 15.53 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000163/0.6115, allocations: 82.52 kB / 461.5 MB, free: 15.44 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.6117, allocations: 44.14 kB / 461.6 MB, free: 15.39 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005311/0.6122, allocations: 278.3 kB / 461.8 MB, free: 15.08 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.671e-05/0.6123, allocations: 28.77 kB / 461.9 MB, free: 15.05 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.427e-05/0.6124, allocations: 40 kB / 461.9 MB, free: 15.01 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/0.6137, allocations: 0.5125 MB / 462.4 MB, free: 14.49 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.6138, allocations: 3.984 kB / 462.4 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.252e-05/0.6139, allocations: 16 kB / 462.4 MB, free: 14.47 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.169e-05/0.6139, allocations: 34.19 kB / 462.5 MB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/0.6153, allocations: 0.5503 MB / 463 MB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003203/0.6186, allocations: 1.191 MB / 464.2 MB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.6197, allocations: 362.8 kB / 464.6 MB, free: 12.28 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003483/0.62, allocations: 117.1 kB / 464.7 MB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.353e-05/0.6201, allocations: 12.16 kB / 464.7 MB, free: 12.15 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.6202, allocations: 38.75 kB / 464.7 MB, free: 12.11 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 3.025e-06/0.6202, allocations: 0 / 464.7 MB, free: 12.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=22): time 0.001053/0.6213, allocations: 310.6 kB / 465 MB, free: 11.8 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.6213, allocations: 59.36 kB / 465.1 MB, free: 11.73 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007704/0.6221, allocations: 403.5 kB / 465.5 MB, free: 11.33 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.485e-05/0.6222, allocations: 29.7 kB / 465.5 MB, free: 11.29 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.6224, allocations: 230.7 kB / 465.7 MB, free: 11.07 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.6225, allocations: 74.91 kB / 465.8 MB, free: 10.99 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/0.6225, allocations: 8 kB / 465.8 MB, free: 10.98 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.6227, allocations: 314.8 kB / 466.1 MB, free: 10.67 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003256/0.623, allocations: 111.9 kB / 466.2 MB, free: 10.56 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003143/0.6233, allocations: 103.9 kB / 466.3 MB, free: 10.46 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003537/0.6237, allocations: 109.9 kB / 466.4 MB, free: 10.35 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.6237, allocations: 0 / 466.4 MB, free: 10.35 MB / 394.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000915/0.6246, allocations: 287.9 kB / 466.7 MB, free: 10.07 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.6247, allocations: 4 kB / 466.7 MB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.6247, allocations: 4 kB / 466.7 MB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.6247, allocations: 0 / 466.7 MB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/0.6262, allocations: 151.8 kB / 466.9 MB, free: 9.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004063/0.6303, allocations: 5.516 MB / 472.4 MB, free: 4.184 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004781/0.6309, allocations: 55.39 kB / 472.4 MB, free: 4.129 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.868e-05/0.6309, allocations: 16.27 kB / 472.5 MB, free: 4.113 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000148/0.6311, allocations: 116.9 kB / 472.6 MB, free: 3.992 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.796e-05/0.6312, allocations: 35.53 kB / 472.6 MB, free: 3.957 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/0.6325, allocations: 416.3 kB / 473 MB, free: 3.543 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.6325, allocations: 4 kB / 473 MB, free: 3.539 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/0.6326, allocations: 3.953 kB / 473 MB, free: 3.535 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.6326, allocations: 0 / 473 MB, free: 3.535 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000786/0.6334, allocations: 369.3 kB / 473.4 MB, free: 3.125 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.6334, allocations: 4 kB / 473.4 MB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001447/0.6349, allocations: 163.8 kB / 473.5 MB, free: 2.961 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/0.6349, allocations: 0 / 473.5 MB, free: 2.961 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.403e-05/0.635, allocations: 7.984 kB / 473.6 MB, free: 2.953 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004281/0.6393, allocations: 5.523 MB / 479.1 MB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.6393, allocations: 3.953 kB / 479.1 MB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.6404, allocations: 414.4 kB / 479.5 MB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002222/0.6406, allocations: 116.7 kB / 479.6 MB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.69e-05/0.6407, allocations: 4 kB / 479.6 MB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003958/0.6411, allocations: 20.14 kB / 479.6 MB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.6413, allocations: 19.92 kB / 479.6 MB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.356e-05/0.6413, allocations: 15.92 kB / 479.7 MB, free: 12.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000614/0.6419, allocations: 326.1 kB / 480 MB, free: 12.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.642, allocations: 0 / 480 MB, free: 12.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006254/0.6426, allocations: 111.8 kB / 480.1 MB, free: 12.18 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001601/0.6442, allocations: 1.02 MB / 481.1 MB, free: 11.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001839/0.6461, allocations: 340.9 kB / 481.4 MB, free: 10.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.6461, allocations: 0 / 481.4 MB, free: 10.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001377/0.6475, allocations: 238.3 kB / 481.7 MB, free: 10.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000748/0.6483, allocations: 85.98 kB / 481.8 MB, free: 10.49 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.6505, allocations: 0.7052 MB / 482.5 MB, free: 9.738 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005572/0.6511, allocations: 0.8542 MB / 483.3 MB, free: 8.859 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002828/0.6514, allocations: 115.4 kB / 483.4 MB, free: 8.746 MB / 410.7 MB Notification: Performance of SimCode: time 1.673e-06/0.6514, allocations: 0 / 483.4 MB, free: 8.746 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.616/4.267, allocations: 20.41 MB / 0.492 GB, free: 4.32 MB / 426.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_KC_res.mat does not exist to compare? outputFormat=mat