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.432/2.432, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005835/0.0005837, allocations: 8 kB / 314.4 MB, free: 9.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.337, allocations: 54.87 MB / 369.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.002877/0.3399, allocations: 1.599 MB / 370.9 MB, free: 9.102 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00174/0.3417, allocations: 0.7536 MB / 371.7 MB, free: 8.344 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.632e-05/0.3418, allocations: 3.938 kB / 371.7 MB, free: 8.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003232/0.3422, allocations: 47.78 kB / 371.7 MB, free: 8.293 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003581/0.3425, allocations: 91.64 kB / 371.8 MB, free: 8.203 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002937/0.3428, allocations: 51.92 kB / 371.8 MB, free: 8.152 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003696/0.3432, allocations: 191.6 kB / 372 MB, free: 7.965 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.76e-05/0.3433, allocations: 28.39 kB / 372.1 MB, free: 7.934 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.3436, allocations: 99.55 kB / 372.2 MB, free: 7.836 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002165/0.3438, allocations: 103.5 kB / 372.3 MB, free: 7.734 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.985e-05/0.3438, allocations: 8 kB / 372.3 MB, free: 7.727 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003819/0.3442, allocations: 123.9 kB / 372.4 MB, free: 7.605 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.3444, allocations: 55.81 kB / 372.4 MB, free: 7.551 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.13e-05/0.3444, allocations: 69.52 kB / 372.5 MB, free: 7.477 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004113/0.3449, allocations: 220.4 kB / 372.7 MB, free: 7.262 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.3449, allocations: 4 kB / 372.7 MB, free: 7.258 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3449, allocations: 0 / 372.7 MB, free: 7.258 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.3449, allocations: 0 / 372.7 MB, free: 7.258 MB / 298.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.001102/0.346, allocations: 0.5183 MB / 373.2 MB, free: 6.691 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.3461, allocations: 12.03 kB / 373.3 MB, free: 6.68 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001013/0.3462, allocations: 70.52 kB / 373.3 MB, free: 6.602 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.714e-05/0.3463, allocations: 27.62 kB / 373.4 MB, free: 6.574 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/0.3466, allocations: 249 kB / 373.6 MB, free: 6.293 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.3467, allocations: 16.56 kB / 373.6 MB, free: 6.277 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.442e-05/0.3468, allocations: 27.98 kB / 373.6 MB, free: 6.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.3478, allocations: 393.2 kB / 374 MB, free: 5.859 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.3478, allocations: 0 / 374 MB, free: 5.859 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.339e-05/0.3479, allocations: 15.95 kB / 374 MB, free: 5.844 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-05/0.3479, allocations: 24.64 kB / 374.1 MB, free: 5.82 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/0.3491, allocations: 418.3 kB / 374.5 MB, free: 5.41 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002084/0.3512, allocations: 0.8891 MB / 375.4 MB, free: 4.469 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.3523, allocations: 306.2 kB / 375.7 MB, free: 4.16 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.308e-05/0.3524, allocations: 4 kB / 375.7 MB, free: 4.156 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.3524, allocations: 34.56 kB / 375.7 MB, free: 4.113 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 2.545e-06/0.3524, allocations: 0 / 375.7 MB, free: 4.113 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.001402/0.3538, allocations: 371.2 kB / 376.1 MB, free: 3.746 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.3539, allocations: 55.41 kB / 376.1 MB, free: 3.68 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005924/0.3545, allocations: 355.1 kB / 376.5 MB, free: 3.328 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.381e-05/0.3546, allocations: 29.7 kB / 376.5 MB, free: 3.293 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.3548, allocations: 210.7 kB / 376.7 MB, free: 3.086 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.333e-05/0.3549, allocations: 59.27 kB / 376.8 MB, free: 3.027 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.343e-05/0.3549, allocations: 4 kB / 376.8 MB, free: 3.023 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.3551, allocations: 322.8 kB / 377.1 MB, free: 2.699 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003997/0.3555, allocations: 104.3 kB / 377.2 MB, free: 2.598 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004257/0.3559, allocations: 150.7 kB / 377.3 MB, free: 2.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004434/0.3564, allocations: 123.8 kB / 377.4 MB, free: 2.309 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.3564, allocations: 0 / 377.4 MB, free: 2.309 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001015/0.3574, allocations: 310 kB / 377.7 MB, free: 2 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.3575, allocations: 4 kB / 377.7 MB, free: 1.996 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.3575, allocations: 8 kB / 377.8 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.3575, allocations: 4 kB / 377.8 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.3586, allocations: 116 kB / 377.9 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002701/0.3613, allocations: 3.7 MB / 381.6 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003785/0.3617, allocations: 35.7 kB / 381.6 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.832e-05/0.3618, allocations: 11.95 kB / 381.6 MB, free: 13.98 MB / 314.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.0002947/0.3621, allocations: 169.7 kB / 381.8 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.03e-05/0.3622, allocations: 27.72 kB / 381.8 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001233/0.3634, allocations: 373.9 kB / 382.2 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.3634, allocations: 0 / 382.2 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.3635, allocations: 0 / 382.2 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3635, allocations: 0 / 382.2 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00058/0.3641, allocations: 313.3 kB / 382.5 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3641, allocations: 0 / 382.5 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009693/0.365, allocations: 107.9 kB / 382.6 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/0.3651, allocations: 4 kB / 382.6 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/0.3651, allocations: 0 / 382.6 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002862/0.368, allocations: 3.704 MB / 386.3 MB, free: 9.098 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/0.368, allocations: 3.984 kB / 386.3 MB, free: 9.094 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009704/0.369, allocations: 387.3 kB / 386.7 MB, free: 8.699 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.3692, allocations: 96.83 kB / 386.8 MB, free: 8.586 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.715e-05/0.3693, allocations: 0 / 386.8 MB, free: 8.586 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002923/0.3696, allocations: 15.98 kB / 386.8 MB, free: 8.57 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.843e-05/0.3697, allocations: 11.98 kB / 386.8 MB, free: 8.559 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-05/0.3697, allocations: 11.92 kB / 386.8 MB, free: 8.547 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004119/0.3701, allocations: 253.9 kB / 387.1 MB, free: 8.301 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.3701, allocations: 4 kB / 387.1 MB, free: 8.297 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005082/0.3707, allocations: 75.84 kB / 387.1 MB, free: 8.223 MB / 314.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.001463/0.3721, allocations: 0.9325 MB / 388.1 MB, free: 7.266 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001706/0.3739, allocations: 327.6 kB / 388.4 MB, free: 6.945 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.3739, allocations: 3.938 kB / 388.4 MB, free: 6.941 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001192/0.3751, allocations: 204.2 kB / 388.6 MB, free: 6.742 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005243/0.3756, allocations: 64.28 kB / 388.7 MB, free: 6.68 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004693/0.3804, allocations: 2.005 MB / 390.7 MB, free: 4.602 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004967/0.3809, allocations: 0.8027 MB / 391.5 MB, free: 3.773 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002138/0.3811, allocations: 79.41 kB / 391.5 MB, free: 3.695 MB / 314.7 MB Notification: Performance of SimCode: time 1.152e-06/0.3811, allocations: 0 / 391.5 MB, free: 3.695 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.897/3.278, allocations: 12.23 MB / 403.8 MB, free: 7.473 MB / 330.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