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.Plate.kc_laminar.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.Plate.kc_laminar,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.982/1.982, allocations: 209.2 MB / 224.8 MB, free: 1.223 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004907/0.0004909, allocations: 16 kB / 282.6 MB, free: 9.648 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1271, allocations: 48.71 MB / 331.3 MB, free: 8.844 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar): time 0.003447/0.1306, allocations: 1.449 MB / 332.8 MB, free: 7.383 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002531/0.1332, allocations: 0.8541 MB / 333.6 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.1334, allocations: 4 kB / 333.6 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003193/0.1337, allocations: 39.75 kB / 333.7 MB, free: 6.48 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003094/0.1341, allocations: 39.92 kB / 333.7 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006229/0.1347, allocations: 99.67 kB / 333.8 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003525/0.1351, allocations: 123.8 kB / 333.9 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.729e-05/0.1352, allocations: 25.52 kB / 333.9 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002616/0.1355, allocations: 63.77 kB / 334 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002091/0.1357, allocations: 83.66 kB / 334.1 MB, free: 6.055 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.025e-05/0.1358, allocations: 8 kB / 334.1 MB, free: 6.047 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000356/0.1362, allocations: 107.9 kB / 334.2 MB, free: 5.941 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.206e-05/0.1363, allocations: 51.81 kB / 334.2 MB, free: 5.891 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.669e-05/0.1364, allocations: 49.64 kB / 334.3 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003465/0.1367, allocations: 159.9 kB / 334.4 MB, free: 5.68 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.1367, allocations: 3.938 kB / 334.4 MB, free: 5.676 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1367, allocations: 0 / 334.4 MB, free: 5.676 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1368, allocations: 0 / 334.4 MB, free: 5.676 MB / 282.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.00169/0.1385, allocations: 0.5209 MB / 335 MB, free: 5.109 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.106e-05/0.1385, allocations: 12.03 kB / 335 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001018/0.1387, allocations: 46.55 kB / 335 MB, free: 5.043 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.843e-05/0.1388, allocations: 15.81 kB / 335 MB, free: 5.027 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004229/0.1392, allocations: 226.7 kB / 335.3 MB, free: 4.766 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.1392, allocations: 12.22 kB / 335.3 MB, free: 4.754 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.57e-05/0.1393, allocations: 16 kB / 335.3 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.1406, allocations: 270.5 kB / 335.6 MB, free: 4.453 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.1407, allocations: 8 kB / 335.6 MB, free: 4.445 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.12e-05/0.1407, allocations: 4 kB / 335.6 MB, free: 4.441 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.815e-05/0.1408, allocations: 16.17 kB / 335.6 MB, free: 4.426 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/0.1423, allocations: 240.5 kB / 335.8 MB, free: 4.191 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002033/0.1443, allocations: 0.8332 MB / 336.7 MB, free: 3.297 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009183/0.1453, allocations: 199.7 kB / 336.8 MB, free: 3.074 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.221e-05/0.1454, allocations: 4 kB / 336.8 MB, free: 3.07 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/0.1454, allocations: 46.67 kB / 336.9 MB, free: 3.016 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 3.707e-06/0.1454, allocations: 0 / 336.9 MB, free: 3.016 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.002382/0.1478, allocations: 357.3 kB / 337.2 MB, free: 2.66 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.148, allocations: 106.8 kB / 337.3 MB, free: 2.531 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006132/0.1486, allocations: 265 kB / 337.6 MB, free: 2.27 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.068e-05/0.1487, allocations: 25.7 kB / 337.6 MB, free: 2.238 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.1489, allocations: 190.2 kB / 337.8 MB, free: 2.051 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.533e-05/0.149, allocations: 35.55 kB / 337.9 MB, free: 2.016 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/0.149, allocations: 0 / 337.9 MB, free: 2.016 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.1492, allocations: 318.8 kB / 338.2 MB, free: 1.695 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006818/0.1499, allocations: 103.9 kB / 338.3 MB, free: 1.594 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007373/0.1506, allocations: 145 kB / 338.4 MB, free: 1.434 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007499/0.1514, allocations: 119.8 kB / 338.5 MB, free: 1.316 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.1514, allocations: 0 / 338.5 MB, free: 1.316 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00174/0.1532, allocations: 293.3 kB / 338.8 MB, free: 1.023 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.955e-05/0.1532, allocations: 4 kB / 338.8 MB, free: 1.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.119e-05/0.1533, allocations: 11.98 kB / 338.8 MB, free: 1.008 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.632e-05/0.1534, allocations: 7.938 kB / 338.8 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005885/0.154, allocations: 39.91 kB / 338.9 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.835e-05/0.154, allocations: 11.94 kB / 338.9 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005475/0.1546, allocations: 39.89 kB / 338.9 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.619e-05/0.1547, allocations: 15.98 kB / 338.9 MB, free: 0.8945 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0002714/0.1549, allocations: 137.8 kB / 339.1 MB, free: 0.75 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001787/0.1551, allocations: 23.7 kB / 339.1 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.1564, allocations: 227.6 kB / 339.3 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/0.1564, allocations: 7.938 kB / 339.3 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.118e-06/0.1565, allocations: 0 / 339.3 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.1565, allocations: 3.953 kB / 339.3 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000913/0.1574, allocations: 257.5 kB / 339.6 MB, free: 192 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.982e-05/0.1575, allocations: 7.984 kB / 339.6 MB, free: 184 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006098/0.1581, allocations: 39.97 kB / 339.6 MB, free: 144 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/0.1582, allocations: 0 / 339.6 MB, free: 144 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.327e-05/0.1582, allocations: 4 kB / 339.6 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.165e-05/0.1582, allocations: 7.984 kB / 339.6 MB, free: 132 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.1583, allocations: 0 / 339.6 MB, free: 132 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2683/0.4266, allocations: 0.4937 MB / 340.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001849/0.4268, allocations: 121.8 kB / 340.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.741e-05/0.4269, allocations: 3.25 kB / 340.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004538/0.4274, allocations: 26.41 kB / 340.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.4275, allocations: 17.22 kB / 340.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.154e-05/0.4275, allocations: 6.938 kB / 340.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003214/0.4278, allocations: 191.9 kB / 340.5 MB, free: 15.36 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.4279, allocations: 0.9688 kB / 340.5 MB, free: 15.36 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00062/0.4285, allocations: 68.11 kB / 340.6 MB, free: 15.36 MB / 282.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001866/0.4304, allocations: 1.094 MB / 341.7 MB, free: 14.54 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00179/0.4322, allocations: 314.7 kB / 342 MB, free: 14.45 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.4323, allocations: 0 / 342 MB, free: 14.45 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008683/0.4332, allocations: 195.2 kB / 342.2 MB, free: 14.35 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009259/0.4341, allocations: 33.77 kB / 342.2 MB, free: 14.35 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006888/0.4411, allocations: 1.548 MB / 343.7 MB, free: 13.8 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/0.4415, allocations: 0.7457 MB / 344.5 MB, free: 13.1 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003146/0.4419, allocations: 53.98 kB / 344.5 MB, free: 13.09 MB / 282.7 MB Notification: Performance of SimCode: time 1.513e-06/0.4419, allocations: 1.281 kB / 344.5 MB, free: 13.09 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.603/3.045, allocations: 4.363 MB / 348.9 MB, free: 12.79 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat failed! Error: Could not read variable input_v_1.pi in file ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat. Warning: Get data of variable input_v_1.pi from file ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat failed! " Variables in the reference:time,cp[1],cp[2],cp[3],eta[1],eta[2],eta[3],lambda[1],lambda[2],lambda[3],rho[1],rho[2],rho[3],velocity[1],velocity[2],velocity[3],Nu[1],Nu[2],Nu[3],Pr[1],Pr[2],Pr[3],Re[1],Re[2],Re[3],input_v_0.y,input_v_1.y,input_v_2.y Variables in the result:IN_con[1].L,IN_con[2].L,IN_con[3].L,IN_var[1].cp,IN_var[1].eta,IN_var[1].lambda,IN_var[1].rho,IN_var[1].velocity,IN_var[2].cp,IN_var[2].eta,IN_var[2].lambda,IN_var[2].rho,IN_var[2].velocity,IN_var[3].cp,IN_var[3].eta,IN_var[3].lambda,IN_var[3].rho,IN_var[3].velocity,L,Nu[1],Nu[2],Nu[3],Pr[1],Pr[2],Pr[3],Re[1],Re[2],Re[3],cp[1],cp[2],cp[3],eta[1],eta[2],eta[3],input_v_0.duration,input_v_0.height,input_v_0.offset,input_v_0.startTime,input_v_0.y,input_v_1.amplitude,input_v_1.freqHz,input_v_1.offset,input_v_1.phase,input_v_1.startTime,input_v_1.y,input_v_2.fallTimeConst,input_v_2.offset,input_v_2.outMax,input_v_2.riseTime,input_v_2.riseTimeConst,input_v_2.startTime,input_v_2.y,input_v_2.y_riseTime,lambda[1],lambda[2],lambda[3],n,rho[1],rho[2],rho[3],time,velocity[1],velocity[2],velocity[3]