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.Plate.kc_laminar_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.Plate.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.304/2.304, allocations: 235.1 MB / 243 MB, free: 15.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.185e-05/3.196e-05, allocations: 7.938 kB / 303.3 MB, free: 3.309 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.374, allocations: 54.86 MB / 358.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1641/0.5381, allocations: 83.06 MB / 441.2 MB, free: 12.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004585/0.5386, allocations: 91.94 kB / 441.3 MB, free: 12.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0303/0.569, allocations: 4.824 MB / 446.1 MB, free: 7.477 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.569, allocations: 0 / 446.1 MB, free: 7.477 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.569, allocations: 7.938 kB / 446.1 MB, free: 7.469 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009217/0.57, allocations: 437.9 kB / 446.6 MB, free: 6.996 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/0.5701, allocations: 8.031 kB / 446.6 MB, free: 6.988 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001348/0.5714, allocations: 79.67 kB / 446.6 MB, free: 6.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004969/0.5719, allocations: 213.6 kB / 446.9 MB, free: 6.664 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.572, allocations: 4 kB / 446.9 MB, free: 6.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.489e-05/0.5721, allocations: 8 kB / 446.9 MB, free: 6.652 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008238/0.5729, allocations: 196.1 kB / 447.1 MB, free: 6.457 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008111/0.5737, allocations: 216 kB / 447.3 MB, free: 6.234 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.5738, allocations: 0 / 447.3 MB, free: 6.234 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.055e-05/0.5738, allocations: 0 / 447.3 MB, free: 6.234 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-05/0.5739, allocations: 23.94 kB / 447.3 MB, free: 6.211 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002673/0.5766, allocations: 0.6023 MB / 447.9 MB, free: 5.566 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007399/0.5774, allocations: 194.4 kB / 448.1 MB, free: 5.367 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002841/0.5777, allocations: 76.84 kB / 448.2 MB, free: 5.289 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.991e-05/0.5778, allocations: 0 / 448.2 MB, free: 5.289 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.644e-05/0.5778, allocations: 30.56 kB / 448.2 MB, free: 5.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 3.006e-06/0.5779, allocations: 0 / 448.2 MB, free: 5.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008172/0.5787, allocations: 185.6 kB / 448.4 MB, free: 5.062 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.5788, allocations: 55.36 kB / 448.4 MB, free: 4.996 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002924/0.5791, allocations: 143.4 kB / 448.6 MB, free: 4.848 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.562e-05/0.5792, allocations: 25.7 kB / 448.6 MB, free: 4.816 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.5793, allocations: 194.7 kB / 448.8 MB, free: 4.625 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.35e-05/0.5794, allocations: 47.33 kB / 448.8 MB, free: 4.578 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.5795, allocations: 0 / 448.8 MB, free: 4.578 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.5797, allocations: 318.8 kB / 449.1 MB, free: 4.258 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002622/0.58, allocations: 63.94 kB / 449.2 MB, free: 4.195 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002973/0.5803, allocations: 93.47 kB / 449.3 MB, free: 4.094 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003553/0.5807, allocations: 83.91 kB / 449.4 MB, free: 4.012 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.5807, allocations: 0 / 449.4 MB, free: 4.012 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0008649/0.5816, allocations: 205.4 kB / 449.6 MB, free: 3.805 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.787e-05/0.5816, allocations: 7.984 kB / 449.6 MB, free: 3.797 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.5817, allocations: 4 kB / 449.6 MB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.5817, allocations: 0 / 449.6 MB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006864/0.5886, allocations: 267.6 kB / 449.9 MB, free: 3.531 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01548/0.6041, allocations: 8.056 MB / 457.9 MB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005616/0.6047, allocations: 27.81 kB / 457.9 MB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.453e-05/0.6048, allocations: 7.984 kB / 457.9 MB, free: 10.75 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 10 * 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.0001927/0.605, allocations: 105 kB / 458 MB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007551/0.6058, allocations: 181.8 kB / 458.2 MB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.6059, allocations: 11.81 kB / 458.2 MB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008567/0.6068, allocations: 202.3 kB / 458.4 MB, free: 10.24 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.6068, allocations: 7.953 kB / 458.4 MB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.6069, allocations: 4 kB / 458.4 MB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.6069, allocations: 0 / 458.4 MB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005702/0.6075, allocations: 218 kB / 458.7 MB, free: 9.977 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.6075, allocations: 48 / 458.7 MB, free: 9.977 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004596/0.6121, allocations: 215.6 kB / 458.9 MB, free: 9.766 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-06/0.6121, allocations: 0 / 458.9 MB, free: 9.766 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.493e-05/0.6122, allocations: 4 kB / 458.9 MB, free: 9.762 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01271/0.6249, allocations: 7.723 MB / 466.6 MB, free: 1.363 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.543e-06/0.625, allocations: 0 / 466.6 MB, free: 1.363 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007402/0.6257, allocations: 247.2 kB / 466.8 MB, free: 1.105 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.6259, allocations: 100.8 kB / 466.9 MB, free: 0.9883 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.08e-05/0.626, allocations: 4.156 kB / 466.9 MB, free: 0.9844 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004847/0.6265, allocations: 11.98 kB / 466.9 MB, free: 0.9727 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.6267, allocations: 19.97 kB / 467 MB, free: 0.9531 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/0.6267, allocations: 3.953 kB / 467 MB, free: 0.9492 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002754/0.627, allocations: 139.9 kB / 467.1 MB, free: 0.8086 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.11e-07/0.627, allocations: 3.938 kB / 467.1 MB, free: 0.8047 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001119/0.6282, allocations: 55.94 kB / 467.2 MB, free: 0.75 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 7 * 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.001349/0.6295, allocations: 0.8086 MB / 468 MB, free: 15.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007713/0.6373, allocations: 307.7 kB / 468.3 MB, free: 15.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.036e-06/0.6373, allocations: 0 / 468.3 MB, free: 15.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004816/0.6422, allocations: 219.7 kB / 468.5 MB, free: 15.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004754/0.6427, allocations: 12 kB / 468.5 MB, free: 15.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004204/0.6469, allocations: 420.3 kB / 468.9 MB, free: 14.94 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000431/0.6474, allocations: 0.7514 MB / 469.7 MB, free: 14.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.6476, allocations: 47.42 kB / 469.7 MB, free: 14.11 MB / 410.7 MB Notification: Performance of SimCode: time 8.92e-07/0.6476, allocations: 0 / 469.7 MB, free: 14.11 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.451/4.098, allocations: 6.741 MB / 476.5 MB, free: 7.367 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.Plate.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat