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/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.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.232/2.232, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004272/0.0004273, allocations: 8 kB / 314.5 MB, free: 9.438 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.342, allocations: 54.86 MB / 369.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1527/0.4948, allocations: 83.81 MB / 453.2 MB, free: 6.688 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003937/0.4952, allocations: 107.7 kB / 453.3 MB, free: 6.582 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02485/0.5201, allocations: 4.866 MB / 458.2 MB, free: 1.672 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.5201, allocations: 3.938 kB / 458.2 MB, free: 1.668 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.589e-05/0.5202, allocations: 4 kB / 458.2 MB, free: 1.664 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.0009316/0.5211, allocations: 442.7 kB / 458.6 MB, free: 1.184 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.5212, allocations: 12.03 kB / 458.6 MB, free: 1.172 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.496e-05/0.5213, allocations: 50.55 kB / 458.7 MB, free: 1.113 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/0.5225, allocations: 83.67 kB / 458.7 MB, free: 1.031 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/0.5229, allocations: 216.8 kB / 459 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.5229, allocations: 11.94 kB / 459 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.23e-05/0.523, allocations: 8 kB / 459 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009212/0.5239, allocations: 263.9 kB / 459.2 MB, free: 500 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.524, allocations: 0 / 459.2 MB, free: 500 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.243e-05/0.524, allocations: 7.984 kB / 459.2 MB, free: 492 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-05/0.5241, allocations: 15.98 kB / 459.3 MB, free: 476 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.5252, allocations: 263.6 kB / 459.5 MB, free: 212 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002395/0.5277, allocations: 0.6564 MB / 460.2 MB, free: 15.5 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.5287, allocations: 226.3 kB / 460.4 MB, free: 15.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.831e-05/0.5288, allocations: 8.031 kB / 460.4 MB, free: 15.26 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/0.5288, allocations: 30.56 kB / 460.4 MB, free: 15.22 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 3.326e-06/0.5288, allocations: 4 kB / 460.4 MB, free: 15.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.001622/0.5305, allocations: 301.5 kB / 460.7 MB, free: 14.91 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.5305, allocations: 55.41 kB / 460.8 MB, free: 14.85 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004572/0.531, allocations: 213.4 kB / 461 MB, free: 14.63 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.395e-05/0.5311, allocations: 25.7 kB / 461 MB, free: 14.6 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.5312, allocations: 178.4 kB / 461.2 MB, free: 14.42 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.328e-05/0.5314, allocations: 43.3 kB / 461.2 MB, free: 14.38 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/0.5314, allocations: 4 kB / 461.2 MB, free: 14.38 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.5316, allocations: 318.8 kB / 461.5 MB, free: 14.05 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005076/0.5321, allocations: 87.91 kB / 461.6 MB, free: 13.97 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005347/0.5327, allocations: 115.3 kB / 461.7 MB, free: 13.84 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005638/0.5333, allocations: 104.4 kB / 461.8 MB, free: 13.74 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.5333, allocations: 0 / 461.8 MB, free: 13.74 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001298/0.5346, allocations: 249.4 kB / 462.1 MB, free: 13.49 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.5346, allocations: 12.03 kB / 462.1 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.5347, allocations: 0 / 462.1 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/0.5347, allocations: 4.109 kB / 462.1 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006438/0.5412, allocations: 259.5 kB / 462.4 MB, free: 13.22 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01495/0.5561, allocations: 8.424 MB / 470.8 MB, free: 3.996 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005383/0.5567, allocations: 31.73 kB / 470.8 MB, free: 3.965 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.416e-05/0.5568, allocations: 11.92 kB / 470.8 MB, free: 3.953 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 () * Number of clocked 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.000264/0.5571, allocations: 141.8 kB / 471 MB, free: 3.805 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.535e-05/0.5572, allocations: 15.81 kB / 471 MB, free: 3.789 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/0.5584, allocations: 250.9 kB / 471.2 MB, free: 3.535 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.5584, allocations: 4 kB / 471.2 MB, free: 3.531 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.5584, allocations: 0 / 471.2 MB, free: 3.531 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.5584, allocations: 8 kB / 471.2 MB, free: 3.523 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005411/0.559, allocations: 249.4 kB / 471.5 MB, free: 3.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.559, allocations: 0 / 471.5 MB, free: 3.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004532/0.5636, allocations: 199.7 kB / 471.7 MB, free: 3.035 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.899e-06/0.5636, allocations: 4 kB / 471.7 MB, free: 3.031 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.383e-05/0.5636, allocations: 7.984 kB / 471.7 MB, free: 3.023 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3018/0.8654, allocations: 8.064 MB / 479.8 MB, free: 93.66 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.8655, allocations: 4.344 kB / 479.8 MB, free: 93.66 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008224/0.8663, allocations: 292.9 kB / 480 MB, free: 93.53 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.369e-05/0.8664, allocations: 101.3 kB / 480.1 MB, free: 93.44 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.79e-05/0.8665, allocations: 3.094 kB / 480.1 MB, free: 93.44 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003285/0.8668, allocations: 18.62 kB / 480.2 MB, free: 93.44 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.8669, allocations: 21.27 kB / 480.2 MB, free: 93.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/0.867, allocations: 4.406 kB / 480.2 MB, free: 93.44 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003143/0.8673, allocations: 186.6 kB / 480.4 MB, free: 93.36 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.8673, allocations: 0.5312 kB / 480.4 MB, free: 93.36 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006732/0.868, allocations: 61.22 kB / 480.4 MB, free: 93.36 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 () * Number of clocked 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.00101/0.869, allocations: 0.8452 MB / 481.3 MB, free: 92.71 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004868/0.8739, allocations: 356.5 kB / 481.6 MB, free: 92.71 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.8739, allocations: 1.125 kB / 481.6 MB, free: 92.71 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003207/0.8771, allocations: 232.2 kB / 481.9 MB, free: 92.71 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.8776, allocations: 34.81 kB / 481.9 MB, free: 92.7 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004844/0.8824, allocations: 1.899 MB / 483.8 MB, free: 91.73 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.8827, allocations: 0.7437 MB / 484.5 MB, free: 91.03 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.8829, allocations: 50.91 kB / 484.6 MB, free: 91.02 MB / 394.7 MB Notification: Performance of SimCode: time 2.635e-06/0.8829, allocations: 0 / 484.6 MB, free: 91.02 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.93/3.813, allocations: 7.159 MB / 491.7 MB, free: 89.1 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.Plate.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat