Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.985/1.985, allocations: 209.2 MB / 224.8 MB, free: 444 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004618/0.0004621, allocations: 12 kB / 282.7 MB, free: 9.504 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3879, allocations: 48.71 MB / 331.4 MB, free: 6.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.184/0.5719, allocations: 82.33 MB / 413.7 MB, free: 11.96 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004746/0.5725, allocations: 99.94 kB / 413.8 MB, free: 11.86 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06338/0.6359, allocations: 10.76 MB / 424.6 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.6359, allocations: 0 / 424.6 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.65e-05/0.636, allocations: 8 kB / 424.6 MB, free: 0.9258 MB / 346.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.001837/0.6378, allocations: 0.651 MB / 425.2 MB, free: 232 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.066e-05/0.6379, allocations: 12.03 kB / 425.3 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001909/0.6381, allocations: 82.53 kB / 425.3 MB, free: 128 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001519/0.6383, allocations: 43.44 kB / 425.4 MB, free: 84 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000672/0.639, allocations: 282.4 kB / 425.7 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.358e-05/0.6391, allocations: 29 kB / 425.7 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/0.6392, allocations: 43.98 kB / 425.7 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002094/0.6413, allocations: 0.5816 MB / 426.3 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.6414, allocations: 4 kB / 426.3 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.22e-05/0.6415, allocations: 12 kB / 426.3 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.786e-05/0.6415, allocations: 25 kB / 426.3 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002059/0.6436, allocations: 447.5 kB / 426.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003863/0.6475, allocations: 1.402 MB / 428.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009867/0.6485, allocations: 287.6 kB / 428.5 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.513e-05/0.6486, allocations: 7.984 kB / 428.5 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.04e-05/0.6487, allocations: 38.55 kB / 428.5 MB, free: 12.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 3.166e-06/0.6487, allocations: 0 / 428.5 MB, free: 12.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.002341/0.651, allocations: 0.7182 MB / 429.2 MB, free: 12.01 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.851e-05/0.6512, allocations: 110.7 kB / 429.3 MB, free: 11.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009072/0.6521, allocations: 460.9 kB / 429.8 MB, free: 11.42 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.708e-05/0.6521, allocations: 33.7 kB / 429.8 MB, free: 11.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/0.6524, allocations: 234.6 kB / 430 MB, free: 11.15 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.869e-05/0.6525, allocations: 55.2 kB / 430.1 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.707e-05/0.6525, allocations: 0 / 430.1 MB, free: 11.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.6527, allocations: 322.8 kB / 430.4 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006339/0.6533, allocations: 140 kB / 430.6 MB, free: 10.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000652/0.654, allocations: 186.1 kB / 430.7 MB, free: 10.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006749/0.6547, allocations: 151.9 kB / 430.9 MB, free: 10.28 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.6547, allocations: 3.938 kB / 430.9 MB, free: 10.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001515/0.6562, allocations: 373.3 kB / 431.3 MB, free: 9.906 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.6563, allocations: 4 kB / 431.3 MB, free: 9.902 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001026/0.6564, allocations: 27.97 kB / 431.3 MB, free: 9.875 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.622e-05/0.6564, allocations: 4 kB / 431.3 MB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003813/0.6568, allocations: 39.97 kB / 431.3 MB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/0.6568, allocations: 7.984 kB / 431.3 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005321/0.6574, allocations: 71.38 kB / 431.4 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-05/0.6575, allocations: 15.95 kB / 431.4 MB, free: 9.738 MB / 362.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 () * Number of clocked 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.00034/0.6578, allocations: 185.7 kB / 431.6 MB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.658, allocations: 35.53 kB / 431.6 MB, free: 9.512 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001411/0.6594, allocations: 401.1 kB / 432 MB, free: 9.117 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.6594, allocations: 4 kB / 432 MB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.6594, allocations: 0 / 432 MB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.6594, allocations: 0 / 432 MB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008541/0.6603, allocations: 373.2 kB / 432.4 MB, free: 8.699 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.923e-05/0.6604, allocations: 27.98 kB / 432.4 MB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002888/0.6607, allocations: 35.91 kB / 432.5 MB, free: 8.637 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.6607, allocations: 0 / 432.5 MB, free: 8.637 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.413e-05/0.6608, allocations: 11.98 kB / 432.5 MB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.6608, allocations: 0 / 432.5 MB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.6608, allocations: 0 / 432.5 MB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/0.6624, allocations: 0.6252 MB / 433.1 MB, free: 7.973 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003155/0.6627, allocations: 164.5 kB / 433.3 MB, free: 7.793 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.363e-05/0.6628, allocations: 4 kB / 433.3 MB, free: 7.789 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004958/0.6633, allocations: 27.97 kB / 433.3 MB, free: 7.762 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.6635, allocations: 27.88 kB / 433.3 MB, free: 7.734 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.251e-05/0.6635, allocations: 11.98 kB / 433.3 MB, free: 7.723 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006923/0.6642, allocations: 371 kB / 433.7 MB, free: 7.363 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6642, allocations: 0 / 433.7 MB, free: 7.363 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008555/0.6651, allocations: 127.9 kB / 433.8 MB, free: 7.238 MB / 362.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 () * Number of clocked 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.002625/0.6678, allocations: 1.415 MB / 435.2 MB, free: 5.785 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00155/0.6693, allocations: 0.5341 MB / 435.8 MB, free: 5.195 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.6694, allocations: 4 kB / 435.8 MB, free: 5.191 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008785/0.6703, allocations: 399.4 kB / 436.2 MB, free: 4.746 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009026/0.6712, allocations: 93.55 kB / 436.2 MB, free: 4.652 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008237/0.6795, allocations: 3.571 MB / 439.8 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006258/0.6801, allocations: 0.8499 MB / 440.7 MB, free: 116 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002819/0.6805, allocations: 103.4 kB / 440.8 MB, free: 12 kB / 362.7 MB Notification: Performance of SimCode: time 9.31e-07/0.6805, allocations: 4 kB / 440.8 MB, free: 8 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.828/3.508, allocations: 9.064 MB / 449.8 MB, free: 6.969 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_res.mat does not exist to compare? outputFormat=mat