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.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,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.356/2.356, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000716/0.0007161, allocations: 12 kB / 314.5 MB, free: 9.449 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.3907, allocations: 54.86 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2161/0.6069, allocations: 88.93 MB / 458.3 MB, free: 1.555 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000534/0.6075, allocations: 95.92 kB / 458.4 MB, free: 1.461 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07228/0.6798, allocations: 13.65 MB / 472.1 MB, free: 3.672 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6799, allocations: 0 / 472.1 MB, free: 3.672 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.554e-05/0.6799, allocations: 8 kB / 472.1 MB, free: 3.664 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001579/0.6815, allocations: 0.6627 MB / 472.7 MB, free: 2.949 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.589e-05/0.6816, allocations: 8.031 kB / 472.7 MB, free: 2.941 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001492/0.6817, allocations: 78.53 kB / 472.8 MB, free: 2.855 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.6818, allocations: 43.52 kB / 472.8 MB, free: 2.812 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000508/0.6824, allocations: 275.3 kB / 473.1 MB, free: 2.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.231e-05/0.6824, allocations: 33 kB / 473.1 MB, free: 2.469 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-05/0.6825, allocations: 39.94 kB / 473.2 MB, free: 2.43 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/0.6841, allocations: 0.573 MB / 473.8 MB, free: 1.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.6842, allocations: 3.984 kB / 473.8 MB, free: 1.836 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.835e-05/0.6843, allocations: 16 kB / 473.8 MB, free: 1.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.695e-05/0.6843, allocations: 17 kB / 473.8 MB, free: 1.805 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/0.6858, allocations: 443.6 kB / 474.2 MB, free: 1.371 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003105/0.6889, allocations: 1.297 MB / 475.5 MB, free: 12 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3213/1.01, allocations: 307.7 kB / 475.8 MB, free: 95.68 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.624e-05/1.01, allocations: 9.812 kB / 475.8 MB, free: 95.68 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/1.01, allocations: 38.91 kB / 475.9 MB, free: 95.64 MB / 394.7 MB Notification: Performance of pre-optimization done (n=17): time 3.357e-06/1.01, allocations: 0 / 475.9 MB, free: 95.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.002669/1.013, allocations: 0.7491 MB / 476.6 MB, free: 95.33 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/1.013, allocations: 107.7 kB / 476.7 MB, free: 95.21 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/1.014, allocations: 455.9 kB / 477.2 MB, free: 95.1 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.367e-05/1.014, allocations: 29.14 kB / 477.2 MB, free: 95.07 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/1.015, allocations: 248.6 kB / 477.4 MB, free: 94.92 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.68e-05/1.015, allocations: 60.97 kB / 477.5 MB, free: 94.89 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.961e-05/1.015, allocations: 7.641 kB / 477.5 MB, free: 94.89 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.643e-05/1.015, allocations: 323.8 kB / 477.8 MB, free: 94.58 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006632/1.015, allocations: 155.7 kB / 478 MB, free: 94.57 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006855/1.016, allocations: 242.2 kB / 478.2 MB, free: 94.47 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006846/1.017, allocations: 179.4 kB / 478.4 MB, free: 94.47 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/1.017, allocations: 4.812 kB / 478.4 MB, free: 94.47 MB / 394.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001604/1.019, allocations: 432.2 kB / 478.8 MB, free: 94.44 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/1.019, allocations: 6.531 kB / 478.8 MB, free: 94.44 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001115/1.019, allocations: 34.12 kB / 478.9 MB, free: 94.44 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/1.019, allocations: 5.109 kB / 478.9 MB, free: 94.44 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003544/1.019, allocations: 42.67 kB / 478.9 MB, free: 94.44 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/1.019, allocations: 7.406 kB / 478.9 MB, free: 94.44 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005292/1.02, allocations: 69.97 kB / 479 MB, free: 94.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.895e-05/1.02, allocations: 16.41 kB / 479 MB, free: 94.42 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (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 (24): * Single equations (assignments): 15 * 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.0003725/1.02, allocations: 197.1 kB / 479.2 MB, free: 94.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/1.02, allocations: 38.17 kB / 479.2 MB, free: 94.29 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001497/1.022, allocations: 431.3 kB / 479.6 MB, free: 94.23 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/1.022, allocations: 5.172 kB / 479.7 MB, free: 94.23 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.022, allocations: 0 / 479.7 MB, free: 94.23 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/1.022, allocations: 2.469 kB / 479.7 MB, free: 94.23 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008375/1.023, allocations: 378.4 kB / 480 MB, free: 94.03 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001252/1.023, allocations: 35.8 kB / 480.1 MB, free: 94.03 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002881/1.023, allocations: 36.12 kB / 480.1 MB, free: 94.03 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/1.023, allocations: 1.375 kB / 480.1 MB, free: 94.03 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.719e-05/1.023, allocations: 9.922 kB / 480.1 MB, free: 94.03 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/1.023, allocations: 2.359 kB / 480.1 MB, free: 94.03 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.023, allocations: 5.312 kB / 480.1 MB, free: 94.03 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001497/1.025, allocations: 0.6435 MB / 480.8 MB, free: 93.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/1.025, allocations: 124.5 kB / 480.9 MB, free: 93.58 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.392e-05/1.025, allocations: 5.25 kB / 480.9 MB, free: 93.58 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004661/1.025, allocations: 26.16 kB / 480.9 MB, free: 93.58 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/1.026, allocations: 21.52 kB / 480.9 MB, free: 93.58 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.04e-05/1.026, allocations: 9.984 kB / 480.9 MB, free: 93.58 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006331/1.026, allocations: 362.6 kB / 481.3 MB, free: 93.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.71e-07/1.026, allocations: 1.25 kB / 481.3 MB, free: 93.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000885/1.027, allocations: 133.6 kB / 481.4 MB, free: 93.49 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 (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.002152/1.029, allocations: 1.453 MB / 482.9 MB, free: 92.49 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001552/1.031, allocations: 0.5856 MB / 483.5 MB, free: 92.2 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.031, allocations: 0 / 483.5 MB, free: 92.2 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007605/1.032, allocations: 410.4 kB / 483.9 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.0008736/1.033, allocations: 87.86 kB / 484 MB, free: 91.91 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006463/1.039, allocations: 4.475 MB / 488.4 MB, free: 89.42 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/1.04, allocations: 0.8493 MB / 489.3 MB, free: 88.72 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002246/1.04, allocations: 114 kB / 489.4 MB, free: 88.64 MB / 394.7 MB Notification: Performance of SimCode: time 1.182e-06/1.04, allocations: 0 / 489.4 MB, free: 88.64 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.735/3.774, allocations: 9.62 MB / 499 MB, free: 83.86 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.General.kc_approxForcedConvection_res.mat does not exist to compare? outputFormat=mat