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.503/2.503, allocations: 235 MB / 248.1 MB, free: 14.4 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.782e-05/3.801e-05, allocations: 4 kB / 309.8 MB, free: 1.215 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3941/0.3942, allocations: 54.85 MB / 364.6 MB, free: 5.566 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1644/0.5587, allocations: 88.85 MB / 453.5 MB, free: 7.633 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000334/0.5591, allocations: 88.5 kB / 453.6 MB, free: 7.547 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06186/0.621, allocations: 13.66 MB / 467.2 MB, free: 9.785 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.44e-06/0.621, allocations: 4 kB / 467.2 MB, free: 9.781 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.94e-05/0.6211, allocations: 4 kB / 467.2 MB, free: 9.777 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.001415/0.6225, allocations: 0.6307 MB / 467.9 MB, free: 9.102 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.6226, allocations: 12.03 kB / 467.9 MB, free: 9.09 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000155/0.6227, allocations: 75.56 kB / 468 MB, free: 9.008 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.6229, allocations: 51.47 kB / 468 MB, free: 8.957 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005515/0.6234, allocations: 275.4 kB / 468.3 MB, free: 8.645 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.293e-05/0.6235, allocations: 28.78 kB / 468.3 MB, free: 8.613 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.596e-05/0.6236, allocations: 36 kB / 468.3 MB, free: 8.578 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.6249, allocations: 0.5283 MB / 468.9 MB, free: 8.031 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.625, allocations: 0 / 468.9 MB, free: 8.031 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.39e-05/0.6251, allocations: 16 kB / 468.9 MB, free: 8.016 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.018e-05/0.6251, allocations: 20.78 kB / 468.9 MB, free: 7.996 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000933/0.6261, allocations: 350.8 kB / 469.2 MB, free: 7.652 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00327/0.6294, allocations: 1.304 MB / 470.6 MB, free: 6.289 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007497/0.6302, allocations: 277.1 kB / 470.8 MB, free: 5.992 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003582/0.6305, allocations: 125.7 kB / 470.9 MB, free: 5.863 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.304e-05/0.6306, allocations: 15.88 kB / 471 MB, free: 5.848 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.6307, allocations: 38.55 kB / 471 MB, free: 5.801 MB / 394.7 MB Notification: Performance of pre-optimization done (n=17): time 3.076e-06/0.6307, allocations: 0 / 471 MB, free: 5.801 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001075/0.6318, allocations: 305 kB / 471.3 MB, free: 5.496 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.6319, allocations: 114.8 kB / 471.4 MB, free: 5.359 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008559/0.6328, allocations: 443 kB / 471.8 MB, free: 4.918 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.356e-05/0.6328, allocations: 29.7 kB / 471.9 MB, free: 4.883 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.6331, allocations: 242.5 kB / 472.1 MB, free: 4.641 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.6332, allocations: 59.19 kB / 472.2 MB, free: 4.582 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.411e-05/0.6332, allocations: 8 kB / 472.2 MB, free: 4.574 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.6334, allocations: 322.9 kB / 472.5 MB, free: 4.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003756/0.6338, allocations: 120.1 kB / 472.6 MB, free: 4.129 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004337/0.6342, allocations: 194.5 kB / 472.8 MB, free: 3.902 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004236/0.6347, allocations: 137.5 kB / 472.9 MB, free: 3.77 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.6347, allocations: 4 kB / 472.9 MB, free: 3.766 MB / 394.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001074/0.6358, allocations: 361.1 kB / 473.3 MB, free: 3.406 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.6358, allocations: 8 kB / 473.3 MB, free: 3.398 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001297/0.636, allocations: 27.98 kB / 473.3 MB, free: 3.371 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/0.636, allocations: 4 kB / 473.3 MB, free: 3.367 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000385/0.6364, allocations: 48.23 kB / 473.4 MB, free: 3.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/0.6364, allocations: 4 kB / 473.4 MB, free: 3.316 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005438/0.637, allocations: 63.41 kB / 473.4 MB, free: 3.254 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.763e-05/0.637, allocations: 16 kB / 473.5 MB, free: 3.238 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 () * 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.0001656/0.6372, allocations: 116.9 kB / 473.6 MB, free: 3.117 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.6374, allocations: 43.48 kB / 473.6 MB, free: 3.074 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/0.6387, allocations: 416.7 kB / 474 MB, free: 2.664 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/0.6387, allocations: 4 kB / 474 MB, free: 2.66 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.6388, allocations: 0 / 474 MB, free: 2.66 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.6388, allocations: 4 kB / 474 MB, free: 2.656 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009325/0.6397, allocations: 369.3 kB / 474.4 MB, free: 2.246 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000106/0.6399, allocations: 31.97 kB / 474.4 MB, free: 2.215 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003143/0.6402, allocations: 31.97 kB / 474.4 MB, free: 2.184 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/0.6402, allocations: 4 kB / 474.5 MB, free: 2.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.413e-05/0.6403, allocations: 11.95 kB / 474.5 MB, free: 2.168 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/0.6403, allocations: 3.984 kB / 474.5 MB, free: 2.164 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.6403, allocations: 0 / 474.5 MB, free: 2.164 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.6414, allocations: 0.5728 MB / 475 MB, free: 1.562 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002015/0.6416, allocations: 112.6 kB / 475.2 MB, free: 1.434 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.232e-05/0.6417, allocations: 4 kB / 475.2 MB, free: 1.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005066/0.6423, allocations: 27.97 kB / 475.2 MB, free: 1.402 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.6424, allocations: 19.98 kB / 475.2 MB, free: 1.383 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.692e-05/0.6424, allocations: 15.98 kB / 475.2 MB, free: 1.367 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006671/0.6431, allocations: 353.1 kB / 475.6 MB, free: 1.023 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.6431, allocations: 0 / 475.6 MB, free: 1.023 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009336/0.6441, allocations: 131.8 kB / 475.7 MB, free: 0.8945 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 () * 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.00207/0.6462, allocations: 1.367 MB / 477.1 MB, free: 15.49 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.6473, allocations: 0.5042 MB / 477.6 MB, free: 14.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.6474, allocations: 0 / 477.6 MB, free: 14.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006267/0.648, allocations: 371.2 kB / 477.9 MB, free: 14.51 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008603/0.6489, allocations: 94.06 kB / 478 MB, free: 14.42 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002523/0.6514, allocations: 0.7336 MB / 478.8 MB, free: 13.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006555/0.6521, allocations: 0.846 MB / 479.6 MB, free: 12.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002784/0.6524, allocations: 107.4 kB / 479.7 MB, free: 12.66 MB / 410.7 MB Notification: Performance of SimCode: time 1.603e-06/0.6525, allocations: 4 kB / 479.7 MB, free: 12.66 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.856/3.509, allocations: 9.417 MB / 489.1 MB, free: 3.254 MB / 410.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