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_overall.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.StraightPipe.kc_overall,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.775/2.775, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.91e-05/1.929e-05, allocations: 0 / 303.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3705, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1835/0.554, allocations: 93.44 MB / 451.6 MB, free: 1.277 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000559/0.5547, allocations: 95.94 kB / 451.7 MB, free: 1.184 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5719/1.127, allocations: 23.82 MB / 475.5 MB, free: 97.36 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.715e-06/1.127, allocations: 0 / 475.5 MB, free: 97.36 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.108e-05/1.127, allocations: 7.625 kB / 475.5 MB, free: 97.36 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002014/1.129, allocations: 0.7387 MB / 476.2 MB, free: 96.88 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.199e-05/1.129, allocations: 13.84 kB / 476.3 MB, free: 96.88 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002158/1.129, allocations: 52.31 kB / 476.3 MB, free: 96.85 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007215/1.13, allocations: 309.7 kB / 476.6 MB, free: 96.62 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.455e-05/1.13, allocations: 17.84 kB / 476.6 MB, free: 96.62 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/1.13, allocations: 30.34 kB / 476.7 MB, free: 96.62 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001355/1.131, allocations: 453 kB / 477.1 MB, free: 96.62 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/1.133, allocations: 0.6584 MB / 477.8 MB, free: 96.54 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.075e-05/1.133, allocations: 0 / 477.8 MB, free: 96.54 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.395e-05/1.133, allocations: 0 / 477.8 MB, free: 96.54 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.554e-05/1.134, allocations: 31.16 kB / 477.8 MB, free: 96.53 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004222/1.138, allocations: 1.522 MB / 479.3 MB, free: 95.95 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007718/1.139, allocations: 261.3 kB / 479.6 MB, free: 95.88 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003775/1.139, allocations: 121.9 kB / 479.7 MB, free: 95.86 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.723e-05/1.139, allocations: 13.84 kB / 479.7 MB, free: 95.85 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/1.139, allocations: 45.22 kB / 479.7 MB, free: 95.81 MB / 394.7 MB Notification: Performance of pre-optimization done (n=20): time 4.598e-06/1.139, allocations: 0 / 479.7 MB, free: 95.81 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.001296/1.141, allocations: 292.8 kB / 480 MB, free: 95.76 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/1.141, allocations: 106.7 kB / 480.1 MB, free: 95.64 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005582/1.141, allocations: 304.2 kB / 480.4 MB, free: 95.49 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.844e-05/1.141, allocations: 25.7 kB / 480.5 MB, free: 95.46 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002422/1.142, allocations: 371.1 kB / 480.8 MB, free: 95.15 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/1.142, allocations: 69.12 kB / 480.9 MB, free: 95.1 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.649e-05/1.142, allocations: 0 / 480.9 MB, free: 95.1 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/1.142, allocations: 329.5 kB / 481.2 MB, free: 94.78 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005098/1.142, allocations: 154 kB / 481.4 MB, free: 94.76 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007025/1.143, allocations: 417.8 kB / 481.8 MB, free: 94.38 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006884/1.144, allocations: 232.9 kB / 482 MB, free: 94.36 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.056e-05/1.144, allocations: 2.844 kB / 482 MB, free: 94.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001875/1.146, allocations: 0.5379 MB / 482.5 MB, free: 94.22 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.569e-05/1.146, allocations: 9.469 kB / 482.5 MB, free: 94.22 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002224/1.146, allocations: 51.83 kB / 482.6 MB, free: 94.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.498e-05/1.146, allocations: 13.59 kB / 482.6 MB, free: 94.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006861/1.147, allocations: 75.69 kB / 482.7 MB, free: 94.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.566e-05/1.147, allocations: 23.83 kB / 482.7 MB, free: 94.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008755/1.148, allocations: 54.06 kB / 482.8 MB, free: 94.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/1.148, allocations: 34.34 kB / 482.8 MB, free: 94.18 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].target,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 45 * 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.0002409/1.148, allocations: 149.4 kB / 482.9 MB, free: 94.04 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001166/1.149, allocations: 294.8 kB / 483.2 MB, free: 93.97 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001931/1.15, allocations: 38.42 kB / 483.3 MB, free: 93.95 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00169/1.151, allocations: 418.4 kB / 483.7 MB, free: 93.83 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.817e-05/1.151, allocations: 3.219 kB / 483.7 MB, free: 93.83 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/1.151, allocations: 3.25 kB / 483.7 MB, free: 93.83 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/1.151, allocations: 0 / 483.7 MB, free: 93.83 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/1.152, allocations: 366.3 kB / 484 MB, free: 93.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000166/1.153, allocations: 42.41 kB / 484.1 MB, free: 93.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003683/1.153, allocations: 32.34 kB / 484.1 MB, free: 93.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.014e-05/1.153, allocations: 3.969 kB / 484.1 MB, free: 93.62 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.116e-05/1.153, allocations: 15.7 kB / 484.1 MB, free: 93.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/1.153, allocations: 7.5 kB / 484.1 MB, free: 93.61 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/1.153, allocations: 5.859 kB / 484.1 MB, free: 93.61 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/1.154, allocations: 0.5521 MB / 484.7 MB, free: 93.24 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/1.155, allocations: 106.4 kB / 484.8 MB, free: 93.13 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/1.155, allocations: 3.797 kB / 484.8 MB, free: 93.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007899/1.156, allocations: 24.78 kB / 484.8 MB, free: 93.12 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001807/1.156, allocations: 27.83 kB / 484.9 MB, free: 93.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.963e-05/1.156, allocations: 16.44 kB / 484.9 MB, free: 93.12 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004059/1.156, allocations: 209.3 kB / 485.1 MB, free: 93 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.72e-07/1.156, allocations: 4 kB / 485.1 MB, free: 93 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001893/1.158, allocations: 217 kB / 485.3 MB, free: 92.94 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 (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.002573/1.161, allocations: 1.413 MB / 486.7 MB, free: 91.86 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001687/1.163, allocations: 0.6698 MB / 487.4 MB, free: 91.42 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.163, allocations: 0 / 487.4 MB, free: 91.42 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007219/1.163, allocations: 449.8 kB / 487.8 MB, free: 91.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008331/1.164, allocations: 44.45 kB / 487.9 MB, free: 91.01 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004077/1.168, allocations: 0.8567 MB / 488.7 MB, free: 90.68 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004359/1.169, allocations: 0.8998 MB / 489.6 MB, free: 89.96 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002375/1.169, allocations: 141 kB / 489.7 MB, free: 89.85 MB / 394.7 MB Notification: Performance of SimCode: time 1.002e-06/1.169, allocations: 4 kB / 489.7 MB, free: 89.85 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.869/4.038, allocations: 10.51 MB / 0.4885 GB, free: 80.14 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_overall_res.mat does not exist to compare? outputFormat=mat