Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.951/1.951, allocations: 209.2 MB / 224.8 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000598/0.000598, allocations: 15.94 kB / 282.6 MB, free: 9.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3457, allocations: 48.71 MB / 331.3 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.002638/0.3484, allocations: 1.59 MB / 332.9 MB, free: 5.652 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.3501, allocations: 0.7512 MB / 333.6 MB, free: 5.133 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.3502, allocations: 0.9062 kB / 333.6 MB, free: 5.133 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003268/0.3506, allocations: 55.73 kB / 333.7 MB, free: 5.105 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003597/0.3509, allocations: 89.38 kB / 333.8 MB, free: 5.051 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003031/0.3513, allocations: 58.14 kB / 333.8 MB, free: 5.023 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003186/0.3516, allocations: 188.5 kB / 334 MB, free: 4.934 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.835e-05/0.3517, allocations: 38.28 kB / 334.1 MB, free: 4.918 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.3519, allocations: 88.94 kB / 334.1 MB, free: 4.883 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.3521, allocations: 113.1 kB / 334.3 MB, free: 4.836 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.782e-05/0.3522, allocations: 6.375 kB / 334.3 MB, free: 4.836 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003833/0.3526, allocations: 127.9 kB / 334.4 MB, free: 4.797 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.751e-05/0.3527, allocations: 61.95 kB / 334.5 MB, free: 4.773 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.487e-05/0.3527, allocations: 61.27 kB / 334.5 MB, free: 4.727 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003987/0.3531, allocations: 218.6 kB / 334.7 MB, free: 4.664 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3532, allocations: 0 / 334.7 MB, free: 4.664 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3532, allocations: 3.938 kB / 334.7 MB, free: 4.66 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.3532, allocations: 0 / 334.7 MB, free: 4.66 MB / 266.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.001011/0.3542, allocations: 0.5162 MB / 335.2 MB, free: 4.211 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.3543, allocations: 13.34 kB / 335.3 MB, free: 4.207 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.112e-05/0.3544, allocations: 65.77 kB / 335.3 MB, free: 4.152 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.734e-05/0.3545, allocations: 30.66 kB / 335.4 MB, free: 4.137 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/0.3548, allocations: 242.9 kB / 335.6 MB, free: 3.906 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.095e-05/0.3548, allocations: 18.23 kB / 335.6 MB, free: 3.895 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.075e-05/0.3549, allocations: 26.48 kB / 335.6 MB, free: 3.887 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009977/0.3559, allocations: 394.9 kB / 336 MB, free: 3.762 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.3559, allocations: 0 / 336 MB, free: 3.762 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.813e-05/0.356, allocations: 14.67 kB / 336 MB, free: 3.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.071e-05/0.3561, allocations: 34.77 kB / 336.1 MB, free: 3.738 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.3572, allocations: 414.2 kB / 336.5 MB, free: 3.645 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001964/0.3592, allocations: 0.8839 MB / 337.4 MB, free: 3.039 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008883/0.3601, allocations: 308.4 kB / 337.7 MB, free: 2.902 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.896e-05/0.3602, allocations: 13.53 kB / 337.7 MB, free: 2.891 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.3602, allocations: 31.62 kB / 337.7 MB, free: 2.852 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 2.394e-06/0.3602, allocations: 0 / 337.7 MB, free: 2.852 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.001175/0.3614, allocations: 373.5 kB / 338.1 MB, free: 2.684 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.3615, allocations: 53.56 kB / 338.1 MB, free: 2.621 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004567/0.3619, allocations: 348.8 kB / 338.5 MB, free: 2.406 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.362, allocations: 29.7 kB / 338.5 MB, free: 2.371 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.635e-05/0.362, allocations: 211.1 kB / 338.7 MB, free: 2.172 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.081e-05/0.3621, allocations: 49.17 kB / 338.7 MB, free: 2.129 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.039e-05/0.3622, allocations: 6.062 kB / 338.7 MB, free: 2.125 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.594e-05/0.3622, allocations: 321 kB / 339.1 MB, free: 1.805 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003539/0.3626, allocations: 106.8 kB / 339.2 MB, free: 1.762 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003839/0.363, allocations: 155.1 kB / 339.3 MB, free: 1.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003943/0.3634, allocations: 117.3 kB / 339.4 MB, free: 1.617 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.3634, allocations: 4 kB / 339.4 MB, free: 1.613 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009366/0.3644, allocations: 310.3 kB / 339.7 MB, free: 1.465 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.3644, allocations: 6.625 kB / 339.7 MB, free: 1.465 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.3644, allocations: 5.344 kB / 339.7 MB, free: 1.461 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.3644, allocations: 2.688 kB / 339.8 MB, free: 1.461 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009843/0.3654, allocations: 115.7 kB / 339.9 MB, free: 1.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002254/0.3677, allocations: 3.706 MB / 343.6 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003566/0.3681, allocations: 36.73 kB / 343.6 MB, free: 13.74 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.3e-05/0.3681, allocations: 7.75 kB / 343.6 MB, free: 13.74 MB / 282.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.000291/0.3684, allocations: 170.3 kB / 343.8 MB, free: 13.6 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.709e-05/0.3685, allocations: 34.77 kB / 343.8 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/0.3697, allocations: 354.9 kB / 344.2 MB, free: 13.4 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.3697, allocations: 1.219 kB / 344.2 MB, free: 13.4 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.3697, allocations: 1.125 kB / 344.2 MB, free: 13.4 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3697, allocations: 4 kB / 344.2 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005715/0.3703, allocations: 307.5 kB / 344.5 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.3703, allocations: 0 / 344.5 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009543/0.3713, allocations: 121.4 kB / 344.6 MB, free: 13.08 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/0.3713, allocations: 5.047 kB / 344.6 MB, free: 13.08 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.66e-05/0.3714, allocations: 3.062 kB / 344.6 MB, free: 13.08 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002503/0.3739, allocations: 3.7 MB / 348.3 MB, free: 9.418 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.3739, allocations: 1.469 kB / 348.3 MB, free: 9.418 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009929/0.3749, allocations: 387.1 kB / 348.7 MB, free: 9.172 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.3751, allocations: 98.17 kB / 348.8 MB, free: 9.066 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.741e-05/0.3752, allocations: 5.172 kB / 348.8 MB, free: 9.062 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002849/0.3755, allocations: 14.86 kB / 348.8 MB, free: 9.055 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.081e-05/0.3755, allocations: 19.39 kB / 348.8 MB, free: 9.043 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-05/0.3756, allocations: 9.016 kB / 348.8 MB, free: 9.039 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003973/0.376, allocations: 254.6 kB / 349.1 MB, free: 8.883 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.376, allocations: 0 / 349.1 MB, free: 8.883 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004695/0.3765, allocations: 76.78 kB / 349.1 MB, free: 8.867 MB / 282.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.001269/0.3778, allocations: 0.935 MB / 350.1 MB, free: 8.086 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001648/0.3794, allocations: 326.6 kB / 350.4 MB, free: 7.977 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3795, allocations: 4 kB / 350.4 MB, free: 7.973 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001175/0.3806, allocations: 203.8 kB / 350.6 MB, free: 7.91 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005055/0.3812, allocations: 62.41 kB / 350.7 MB, free: 7.875 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004496/0.3857, allocations: 1.987 MB / 352.6 MB, free: 6.633 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004507/0.3862, allocations: 0.805 MB / 353.5 MB, free: 5.875 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002055/0.3864, allocations: 81.84 kB / 353.5 MB, free: 5.812 MB / 282.7 MB Notification: Performance of SimCode: time 3.116e-06/0.3864, allocations: 0 / 353.5 MB, free: 5.812 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.883/3.269, allocations: 12.23 MB / 365.8 MB, free: 11.28 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat does not exist to compare? outputFormat=mat