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/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.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.455/2.455, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.981e-05/1.994e-05, allocations: 0 / 303.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3721, allocations: 54.85 MB / 358.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1616/0.5338, allocations: 85.86 MB / 444 MB, free: 8.859 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003452/0.5342, allocations: 91.94 kB / 444.1 MB, free: 8.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06156/0.5958, allocations: 9.914 MB / 454 MB, free: 14.76 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.5959, allocations: 0 / 454 MB, free: 14.76 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.052e-05/0.5959, allocations: 4 kB / 454 MB, free: 14.76 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.001268/0.5972, allocations: 0.4964 MB / 454.5 MB, free: 14.22 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.81e-05/0.5973, allocations: 8.031 kB / 454.5 MB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.5974, allocations: 27.67 kB / 454.5 MB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005279/0.5979, allocations: 247.1 kB / 454.8 MB, free: 13.9 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.598, allocations: 8 kB / 454.8 MB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.668e-05/0.5981, allocations: 16 kB / 454.8 MB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001039/0.5991, allocations: 337.1 kB / 455.1 MB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/0.6003, allocations: 332.9 kB / 455.5 MB, free: 13.21 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.6003, allocations: 0 / 455.5 MB, free: 13.21 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.07e-05/0.6004, allocations: 3.953 kB / 455.5 MB, free: 13.21 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.135e-05/0.6005, allocations: 24.77 kB / 455.5 MB, free: 13.19 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002954/0.6035, allocations: 0.8031 MB / 456.3 MB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.6046, allocations: 298.3 kB / 456.6 MB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003758/0.605, allocations: 96.78 kB / 456.7 MB, free: 11.95 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.168e-05/0.6051, allocations: 8 kB / 456.7 MB, free: 11.94 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.395e-05/0.6052, allocations: 38.55 kB / 456.7 MB, free: 11.89 MB / 394.7 MB Notification: Performance of pre-optimization done (n=19): time 4.258e-06/0.6052, allocations: 4 kB / 456.7 MB, free: 11.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=19): time 0.001107/0.6063, allocations: 249.7 kB / 457 MB, free: 11.64 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.6064, allocations: 55.41 kB / 457 MB, free: 11.57 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003078/0.6067, allocations: 150.5 kB / 457.2 MB, free: 11.41 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.747e-05/0.6068, allocations: 25.7 kB / 457.2 MB, free: 11.38 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002152/0.607, allocations: 234.3 kB / 457.4 MB, free: 11.15 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.6072, allocations: 63.09 kB / 457.5 MB, free: 11.09 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.686e-05/0.6073, allocations: 0 / 457.5 MB, free: 11.09 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002043/0.6075, allocations: 318.8 kB / 457.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004233/0.6079, allocations: 99.92 kB / 457.9 MB, free: 10.67 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005023/0.6085, allocations: 149.7 kB / 458 MB, free: 10.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005189/0.609, allocations: 121.7 kB / 458.2 MB, free: 10.38 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.609, allocations: 0 / 458.2 MB, free: 10.38 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001341/0.6104, allocations: 281.2 kB / 458.4 MB, free: 10.1 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.684e-05/0.6105, allocations: 5.406 kB / 458.4 MB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.6105, allocations: 7.984 kB / 458.5 MB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/0.6106, allocations: 0 / 458.5 MB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001865/0.6124, allocations: 116 kB / 458.6 MB, free: 9.977 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003875/0.6163, allocations: 3.723 MB / 462.3 MB, free: 6.113 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000432/0.6168, allocations: 24.11 kB / 462.3 MB, free: 6.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.77e-05/0.6169, allocations: 12.11 kB / 462.3 MB, free: 6.078 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 (25): * Single equations (assignments): 19 * 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.0002095/0.6171, allocations: 123.7 kB / 462.4 MB, free: 5.953 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009592/0.6181, allocations: 249.3 kB / 462.7 MB, free: 5.703 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.458e-05/0.6182, allocations: 15.81 kB / 462.7 MB, free: 5.688 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00132/0.6196, allocations: 327.1 kB / 463 MB, free: 5.367 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.6196, allocations: 4 kB / 463 MB, free: 5.363 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.6196, allocations: 4 kB / 463 MB, free: 5.359 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.6196, allocations: 0 / 463 MB, free: 5.359 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007525/0.6204, allocations: 285.9 kB / 463.3 MB, free: 5.043 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/0.6204, allocations: 4 kB / 463.3 MB, free: 5.039 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001484/0.6219, allocations: 111.8 kB / 463.4 MB, free: 4.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.6219, allocations: 0 / 463.4 MB, free: 4.93 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.422e-05/0.622, allocations: 11.94 kB / 463.4 MB, free: 4.918 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003708/0.6257, allocations: 3.719 MB / 467.2 MB, free: 1.059 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.6258, allocations: 0 / 467.2 MB, free: 1.059 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.6268, allocations: 358 kB / 467.5 MB, free: 0.6953 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.909e-05/0.627, allocations: 88.92 kB / 467.6 MB, free: 0.5898 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.047e-05/0.6271, allocations: 0 / 467.6 MB, free: 0.5898 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003864/0.6275, allocations: 11.98 kB / 467.6 MB, free: 0.5781 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.6276, allocations: 19.94 kB / 467.6 MB, free: 0.5586 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.034e-05/0.6277, allocations: 11.98 kB / 467.6 MB, free: 0.5469 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001753/0.6278, allocations: 119.9 kB / 467.8 MB, free: 440 kB / 394.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.6279, allocations: 0 / 467.8 MB, free: 440 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008789/0.6288, allocations: 87.67 kB / 467.8 MB, free: 352 kB / 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 (19): * Single equations (assignments): 13 * 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.3894/1.018, allocations: 0.9372 MB / 468.8 MB, free: 101.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001582/1.02, allocations: 289.3 kB / 469.1 MB, free: 101.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/1.02, allocations: 0.5625 kB / 469.1 MB, free: 101.8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001081/1.021, allocations: 174.6 kB / 469.2 MB, free: 101.8 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/1.021, allocations: 12.14 kB / 469.2 MB, free: 101.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/1.023, allocations: 0.502 MB / 469.7 MB, free: 101.6 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004229/1.023, allocations: 0.8038 MB / 470.5 MB, free: 100.9 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002519/1.024, allocations: 75.94 kB / 470.6 MB, free: 100.9 MB / 394.7 MB Notification: Performance of SimCode: time 1.293e-06/1.024, allocations: 0 / 470.6 MB, free: 100.9 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.169/4.192, allocations: 11.52 MB / 482.1 MB, free: 96.89 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