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.StraightPipe.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.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.223/2.223, allocations: 234.9 MB / 250.5 MB, free: 9.531 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004354/0.0004354, allocations: 12 kB / 314.5 MB, free: 9.438 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3394, allocations: 54.86 MB / 369.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1713/0.5108, allocations: 88.75 MB / 458.1 MB, free: 1.824 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004612/0.5113, allocations: 95.94 kB / 458.2 MB, free: 1.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05413/0.5654, allocations: 12.15 MB / 470.4 MB, free: 5.398 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5655, allocations: 0 / 470.4 MB, free: 5.398 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.806e-05/0.5655, allocations: 8 kB / 470.4 MB, free: 5.391 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001484/0.567, allocations: 0.6821 MB / 471.1 MB, free: 4.656 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.5671, allocations: 15.97 kB / 471.1 MB, free: 4.641 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001547/0.5672, allocations: 94.5 kB / 471.2 MB, free: 4.539 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.5674, allocations: 51.38 kB / 471.2 MB, free: 4.488 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005235/0.5679, allocations: 286.4 kB / 471.5 MB, free: 4.168 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.652e-05/0.568, allocations: 33 kB / 471.5 MB, free: 4.137 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.5681, allocations: 44 kB / 471.6 MB, free: 4.094 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001761/0.5699, allocations: 0.6714 MB / 472.2 MB, free: 3.402 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.5699, allocations: 0 / 472.2 MB, free: 3.402 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.3e-05/0.57, allocations: 27.95 kB / 472.3 MB, free: 3.375 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.86e-05/0.5701, allocations: 24.98 kB / 472.3 MB, free: 3.352 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00166/0.5718, allocations: 0.4995 MB / 472.8 MB, free: 2.852 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003492/0.5753, allocations: 1.531 MB / 474.3 MB, free: 1.254 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.5763, allocations: 311.7 kB / 474.6 MB, free: 0.9219 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.142e-05/0.5764, allocations: 11.98 kB / 474.6 MB, free: 0.9102 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.5765, allocations: 42.55 kB / 474.7 MB, free: 0.8594 MB / 394.7 MB Notification: Performance of pre-optimization done (n=20): time 2.926e-06/0.5765, allocations: 0 / 474.7 MB, free: 0.8594 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.002378/0.5789, allocations: 0.7679 MB / 475.5 MB, free: 32 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2965/0.8754, allocations: 105.1 kB / 475.6 MB, free: 95.45 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/0.877, allocations: 488.8 kB / 476 MB, free: 95.34 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.946e-05/0.8772, allocations: 28.02 kB / 476.1 MB, free: 95.3 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002662/0.8774, allocations: 262.9 kB / 476.3 MB, free: 95.16 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.8776, allocations: 71.08 kB / 476.4 MB, free: 95.13 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.236e-05/0.8777, allocations: 5.531 kB / 476.4 MB, free: 95.13 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.25e-05/0.8778, allocations: 324.1 kB / 476.7 MB, free: 94.82 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/0.8788, allocations: 172.2 kB / 476.9 MB, free: 94.82 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/0.88, allocations: 284.8 kB / 477.2 MB, free: 94.67 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.8811, allocations: 204 kB / 477.4 MB, free: 94.67 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.8811, allocations: 1.344 kB / 477.4 MB, free: 94.67 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002456/0.8836, allocations: 497 kB / 477.8 MB, free: 94.63 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/0.8837, allocations: 9.781 kB / 477.9 MB, free: 94.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00018/0.8839, allocations: 40.86 kB / 477.9 MB, free: 94.63 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.954e-05/0.8839, allocations: 8.531 kB / 477.9 MB, free: 94.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005137/0.8844, allocations: 52.8 kB / 478 MB, free: 94.63 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.203e-05/0.8845, allocations: 9.078 kB / 478 MB, free: 94.63 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000828/0.8853, allocations: 70.78 kB / 478 MB, free: 94.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.231e-05/0.8854, allocations: 23.16 kB / 478.1 MB, free: 94.62 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0004751/0.8859, allocations: 217.4 kB / 478.3 MB, free: 94.5 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002256/0.8862, allocations: 49.38 kB / 478.3 MB, free: 94.48 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002121/0.8883, allocations: 453.2 kB / 478.8 MB, free: 94.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.801e-05/0.8883, allocations: 12.19 kB / 478.8 MB, free: 94.41 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.8884, allocations: 1.438 kB / 478.8 MB, free: 94.41 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.8884, allocations: 6.328 kB / 478.8 MB, free: 94.41 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.8896, allocations: 387.3 kB / 479.2 MB, free: 94.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001589/0.8898, allocations: 34.67 kB / 479.2 MB, free: 94.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003508/0.8901, allocations: 30.64 kB / 479.2 MB, free: 94.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/0.8902, allocations: 4.5 kB / 479.2 MB, free: 94.21 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.625e-05/0.8902, allocations: 12.38 kB / 479.2 MB, free: 94.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.8903, allocations: 1.609 kB / 479.2 MB, free: 94.21 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.8903, allocations: 1.031 kB / 479.2 MB, free: 94.21 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002025/0.8923, allocations: 0.6612 MB / 479.9 MB, free: 93.87 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002011/0.8925, allocations: 127.4 kB / 480 MB, free: 93.75 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/0.8927, allocations: 10.81 kB / 480 MB, free: 93.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007493/0.8935, allocations: 21.02 kB / 480.1 MB, free: 93.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.8936, allocations: 24.05 kB / 480.1 MB, free: 93.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.407e-05/0.8937, allocations: 11.62 kB / 480.1 MB, free: 93.75 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008764/0.8946, allocations: 394.9 kB / 480.5 MB, free: 93.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.8946, allocations: 0 / 480.5 MB, free: 93.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001426/0.8961, allocations: 141.6 kB / 480.6 MB, free: 93.68 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.002835/0.8989, allocations: 1.445 MB / 482.1 MB, free: 92.68 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002333/0.9013, allocations: 0.6828 MB / 482.7 MB, free: 92.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/0.9013, allocations: 5.25 kB / 482.7 MB, free: 92.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.9024, allocations: 492 kB / 483.2 MB, free: 91.92 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/0.9038, allocations: 112.3 kB / 483.3 MB, free: 91.91 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/0.9142, allocations: 5.676 MB / 489 MB, free: 88.41 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005184/0.9147, allocations: 0.8698 MB / 489.9 MB, free: 87.71 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003444/0.9151, allocations: 121.2 kB / 490 MB, free: 87.7 MB / 394.7 MB Notification: Performance of SimCode: time 1.132e-06/0.9151, allocations: 0 / 490 MB, free: 87.7 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.585/3.5, allocations: 10.61 MB / 0.4889 GB, free: 82.3 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.StraightPipe.kc_laminar_res.mat does not exist to compare? outputFormat=mat