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.261/2.261, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005005/0.0005004, allocations: 12 kB / 314.5 MB, free: 9.445 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3622, allocations: 54.86 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1698/0.5321, allocations: 86.62 MB / 456 MB, free: 3.867 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004116/0.5325, allocations: 95.94 kB / 456.1 MB, free: 3.773 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04537/0.5779, allocations: 10.01 MB / 466.1 MB, free: 9.668 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.578, allocations: 0 / 466.1 MB, free: 9.668 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.578, allocations: 7.938 kB / 466.1 MB, free: 9.66 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.001043/0.5791, allocations: 0.5068 MB / 466.6 MB, free: 9.105 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.5791, allocations: 12.03 kB / 466.6 MB, free: 9.094 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001123/0.5792, allocations: 70.48 kB / 466.7 MB, free: 9.016 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.882e-05/0.5793, allocations: 27.62 kB / 466.7 MB, free: 8.988 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003761/0.5797, allocations: 247.2 kB / 467 MB, free: 8.703 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.442e-05/0.5798, allocations: 20.56 kB / 467 MB, free: 8.684 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.082e-05/0.5798, allocations: 28 kB / 467 MB, free: 8.656 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.5809, allocations: 389.2 kB / 467.4 MB, free: 8.266 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.5809, allocations: 4 kB / 467.4 MB, free: 8.262 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.575e-05/0.581, allocations: 12 kB / 467.4 MB, free: 8.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-05/0.5811, allocations: 24.59 kB / 467.4 MB, free: 8.227 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.5822, allocations: 414.3 kB / 467.8 MB, free: 7.82 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002169/0.5844, allocations: 0.8969 MB / 468.7 MB, free: 6.875 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.5855, allocations: 302.3 kB / 469 MB, free: 6.57 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.93e-05/0.5855, allocations: 8.281 kB / 469 MB, free: 6.562 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.5856, allocations: 34.5 kB / 469.1 MB, free: 6.52 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 2.766e-06/0.5856, allocations: 0 / 469.1 MB, free: 6.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=15): time 0.001373/0.587, allocations: 373 kB / 469.4 MB, free: 6.148 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.587, allocations: 51.41 kB / 469.5 MB, free: 6.086 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005522/0.5876, allocations: 318.4 kB / 469.8 MB, free: 5.762 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.5877, allocations: 25.7 kB / 469.8 MB, free: 5.73 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.5878, allocations: 222.6 kB / 470 MB, free: 5.512 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.479e-05/0.5879, allocations: 51.3 kB / 470.1 MB, free: 5.461 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.946e-05/0.5879, allocations: 0 / 470.1 MB, free: 5.461 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.5881, allocations: 322.8 kB / 470.4 MB, free: 5.137 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004082/0.5885, allocations: 108.2 kB / 470.5 MB, free: 5.031 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004215/0.5889, allocations: 156.3 kB / 470.7 MB, free: 4.859 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004298/0.5894, allocations: 120.9 kB / 470.8 MB, free: 4.742 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.5894, allocations: 0 / 470.8 MB, free: 4.742 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001003/0.5904, allocations: 304.2 kB / 471.1 MB, free: 4.441 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.5905, allocations: 14.22 kB / 471.1 MB, free: 4.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.5905, allocations: 0 / 471.1 MB, free: 4.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.664e-05/0.5905, allocations: 7.984 kB / 471.1 MB, free: 4.422 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.5915, allocations: 115.8 kB / 471.2 MB, free: 4.309 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002918/0.5945, allocations: 3.7 MB / 474.9 MB, free: 480 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003735/0.5949, allocations: 31.72 kB / 474.9 MB, free: 448 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-05/0.595, allocations: 15.98 kB / 475 MB, free: 432 kB / 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 () * Number of clocked 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.000305/0.5953, allocations: 174.5 kB / 475.1 MB, free: 248 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.555e-05/0.5954, allocations: 31.62 kB / 475.2 MB, free: 216 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3297/0.9251, allocations: 352.8 kB / 475.5 MB, free: 98.23 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.9252, allocations: 1.688 kB / 475.5 MB, free: 98.23 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.9252, allocations: 0.5625 kB / 475.5 MB, free: 98.23 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.9252, allocations: 3.109 kB / 475.5 MB, free: 98.23 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006949/0.9259, allocations: 308.7 kB / 475.8 MB, free: 98.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.9259, allocations: 2.875 kB / 475.8 MB, free: 98.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/0.927, allocations: 109.9 kB / 475.9 MB, free: 98.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.828e-06/0.9271, allocations: 0.625 kB / 475.9 MB, free: 98.04 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-05/0.9271, allocations: 7.219 kB / 475.9 MB, free: 98.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002235/0.9293, allocations: 3.707 MB / 479.6 MB, free: 94.55 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.9294, allocations: 0 / 479.6 MB, free: 94.55 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.9306, allocations: 372.2 kB / 480 MB, free: 94.42 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.9307, allocations: 110.4 kB / 480.1 MB, free: 94.32 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.108e-05/0.9308, allocations: 3.438 kB / 480.1 MB, free: 94.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002948/0.9311, allocations: 12.66 kB / 480.1 MB, free: 94.32 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.9312, allocations: 15.89 kB / 480.1 MB, free: 94.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-05/0.9313, allocations: 7.875 kB / 480.1 MB, free: 94.32 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004605/0.9318, allocations: 252.9 kB / 480.4 MB, free: 94.24 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.9318, allocations: 0 / 480.4 MB, free: 94.24 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005896/0.9324, allocations: 81.7 kB / 480.5 MB, free: 94.23 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 () * Number of clocked 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.001532/0.9339, allocations: 0.9742 MB / 481.4 MB, free: 93.56 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001597/0.9356, allocations: 308.7 kB / 481.7 MB, free: 93.56 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.9356, allocations: 3.938 kB / 481.8 MB, free: 93.56 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.9367, allocations: 180.9 kB / 481.9 MB, free: 93.56 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005838/0.9373, allocations: 61.92 kB / 482 MB, free: 93.55 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004806/0.9421, allocations: 2.893 MB / 484.9 MB, free: 92.02 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.9426, allocations: 0.8005 MB / 485.7 MB, free: 91.32 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002122/0.9428, allocations: 80.62 kB / 485.8 MB, free: 91.31 MB / 394.7 MB Notification: Performance of SimCode: time 1.273e-06/0.9428, allocations: 1.062 kB / 485.8 MB, free: 91.31 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.07/4.013, allocations: 12.56 MB / 498.3 MB, free: 84.63 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_KC_res.mat does not exist to compare? outputFormat=mat