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.General.kc_approxForcedConvection_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.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.53/2.53, allocations: 235 MB / 248.1 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.242e-05/4.26e-05, allocations: 7.984 kB / 309.8 MB, free: 1.215 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3961/0.3961, allocations: 54.84 MB / 364.6 MB, free: 5.578 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1667/0.5629, allocations: 86.53 MB / 451.2 MB, free: 9.953 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003831/0.5633, allocations: 95.94 kB / 451.3 MB, free: 9.859 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04807/0.6114, allocations: 10.02 MB / 461.3 MB, free: 15.78 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.6115, allocations: 0 / 461.3 MB, free: 15.78 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.857e-05/0.6115, allocations: 4 kB / 461.3 MB, free: 15.77 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001062/0.6126, allocations: 0.4905 MB / 461.8 MB, free: 15.24 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.6126, allocations: 8.031 kB / 461.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001092/0.6128, allocations: 74.53 kB / 461.9 MB, free: 15.15 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.914e-05/0.6129, allocations: 35.62 kB / 461.9 MB, free: 15.11 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004123/0.6133, allocations: 240.2 kB / 462.1 MB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.6133, allocations: 16.56 kB / 462.2 MB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.704e-05/0.6134, allocations: 28 kB / 462.2 MB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009193/0.6143, allocations: 374 kB / 462.5 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.6144, allocations: 0 / 462.5 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.361e-05/0.6144, allocations: 15.95 kB / 462.6 MB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-05/0.6145, allocations: 20.77 kB / 462.6 MB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009388/0.6155, allocations: 378.9 kB / 463 MB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002307/0.6178, allocations: 0.9052 MB / 463.9 MB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009332/0.6188, allocations: 282.3 kB / 464.1 MB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002684/0.619, allocations: 92.78 kB / 464.2 MB, free: 12.67 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.057e-05/0.6191, allocations: 4.641 kB / 464.2 MB, free: 12.67 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.6191, allocations: 38.5 kB / 464.3 MB, free: 12.62 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 2.354e-06/0.6192, allocations: 0 / 464.3 MB, free: 12.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007931/0.62, allocations: 233.5 kB / 464.5 MB, free: 12.39 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/0.62, allocations: 59.34 kB / 464.6 MB, free: 12.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005611/0.6206, allocations: 311.4 kB / 464.9 MB, free: 12.01 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.609e-05/0.6207, allocations: 29.7 kB / 464.9 MB, free: 11.97 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.6208, allocations: 212.1 kB / 465.1 MB, free: 11.77 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.413e-05/0.6209, allocations: 59.27 kB / 465.2 MB, free: 11.71 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.977e-05/0.621, allocations: 0 / 465.2 MB, free: 11.71 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.6211, allocations: 318.8 kB / 465.5 MB, free: 11.39 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002659/0.6214, allocations: 88.3 kB / 465.5 MB, free: 11.3 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003146/0.6217, allocations: 141.5 kB / 465.7 MB, free: 11.14 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000301/0.622, allocations: 97.58 kB / 465.8 MB, free: 11.05 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.622, allocations: 0 / 465.8 MB, free: 11.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007894/0.6228, allocations: 277.2 kB / 466.1 MB, free: 10.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.6229, allocations: 8 kB / 466.1 MB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.6229, allocations: 0 / 466.1 MB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.6229, allocations: 4 kB / 466.1 MB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/0.6241, allocations: 107.9 kB / 466.2 MB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002778/0.6269, allocations: 3.708 MB / 469.9 MB, free: 6.809 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004015/0.6273, allocations: 35.67 kB / 469.9 MB, free: 6.773 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.856e-05/0.6274, allocations: 11.95 kB / 469.9 MB, free: 6.762 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001561/0.6275, allocations: 121.8 kB / 470 MB, free: 6.637 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.533e-05/0.6276, allocations: 23.72 kB / 470.1 MB, free: 6.613 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/0.6286, allocations: 328 kB / 470.4 MB, free: 6.289 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.6287, allocations: 0 / 470.4 MB, free: 6.289 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.6287, allocations: 0 / 470.4 MB, free: 6.289 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.6287, allocations: 3.984 kB / 470.4 MB, free: 6.285 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005761/0.6293, allocations: 313.4 kB / 470.7 MB, free: 5.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.6293, allocations: 0 / 470.7 MB, free: 5.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.6303, allocations: 119.8 kB / 470.8 MB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.599e-06/0.6304, allocations: 4 kB / 470.8 MB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.619e-05/0.6304, allocations: 0 / 470.8 MB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002819/0.6332, allocations: 3.707 MB / 474.5 MB, free: 1.965 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.6333, allocations: 3.938 kB / 474.5 MB, free: 1.961 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007588/0.634, allocations: 344.1 kB / 474.9 MB, free: 1.609 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.6342, allocations: 100.8 kB / 475 MB, free: 1.492 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.266e-05/0.6343, allocations: 11.98 kB / 475 MB, free: 1.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000307/0.6346, allocations: 8.094 kB / 475 MB, free: 1.473 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.896e-05/0.6347, allocations: 19.97 kB / 475 MB, free: 1.453 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-05/0.6347, allocations: 8 kB / 475 MB, free: 1.445 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004321/0.6352, allocations: 251.1 kB / 475.3 MB, free: 1.203 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6352, allocations: 0 / 475.3 MB, free: 1.203 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005522/0.6358, allocations: 75.92 kB / 475.3 MB, free: 1.129 MB / 394.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 (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001314/0.6371, allocations: 0.9441 MB / 476.3 MB, free: 164 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001383/0.6385, allocations: 255.7 kB / 476.5 MB, free: 15.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.6385, allocations: 0 / 476.5 MB, free: 15.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009622/0.6395, allocations: 170.4 kB / 476.7 MB, free: 15.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005706/0.6401, allocations: 60.67 kB / 476.7 MB, free: 15.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/0.6417, allocations: 0.5188 MB / 477.3 MB, free: 15.13 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004661/0.6422, allocations: 0.8066 MB / 478.1 MB, free: 14.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000204/0.6424, allocations: 75.41 kB / 478.1 MB, free: 14.22 MB / 410.7 MB Notification: Performance of SimCode: time 1.452e-06/0.6424, allocations: 0 / 478.1 MB, free: 14.22 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.264/3.907, allocations: 12.45 MB / 490.6 MB, free: 1.777 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat does not exist to compare? outputFormat=mat