Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01196/0.01197, allocations: 108.1 kB / 15.06 MB, free: 6.031 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.002012/0.002011, allocations: 181.9 kB / 15.95 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.259/2.259, allocations: 194.5 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.3083/0.3083, allocations: 40.04 MB / 296.5 MB, free: 6.297 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004614/0.0004615, allocations: 8 kB / 361.2 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1297, allocations: 54.89 MB / 416 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.002994/0.1327, allocations: 1.667 MB / 417.7 MB, free: 0.875 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00263/0.1354, allocations: 1.143 MB / 418.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.1356, allocations: 0 / 418.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003354/0.1359, allocations: 47.73 kB / 418.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002017/0.1361, allocations: 67.8 kB / 419 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007583/0.1369, allocations: 159.5 kB / 419.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005318/0.1375, allocations: 283.4 kB / 419.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.1376, allocations: 48.7 kB / 419.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002525/0.1379, allocations: 131.4 kB / 419.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002676/0.1382, allocations: 147.3 kB / 419.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.812e-05/0.1382, allocations: 8 kB / 419.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007489/0.139, allocations: 251.7 kB / 420 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.1391, allocations: 79.64 kB / 420 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.1393, allocations: 85.52 kB / 420.1 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006959/0.14, allocations: 343.4 kB / 420.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.14, allocations: 0 / 420.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.14, allocations: 0 / 420.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.294e-05/0.14, allocations: 0 / 420.5 MB, free: 14.11 MB / 362.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.001549/0.1416, allocations: 0.6666 MB / 421.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.1416, allocations: 8.031 kB / 421.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001497/0.1418, allocations: 82.52 kB / 421.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001579/0.142, allocations: 39.53 kB / 421.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005175/0.1425, allocations: 279.4 kB / 421.5 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.796e-05/0.1426, allocations: 25 kB / 421.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.643e-05/0.1427, allocations: 47.95 kB / 421.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001486/0.1442, allocations: 0.5535 MB / 422.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.1442, allocations: 4 kB / 422.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.763e-05/0.1443, allocations: 16 kB / 422.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.447e-05/0.1443, allocations: 24.97 kB / 422.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001455/0.1458, allocations: 435.6 kB / 422.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002857/0.1487, allocations: 1.3 MB / 423.9 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.1497, allocations: 311.5 kB / 424.2 MB, free: 10.13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.875e-05/0.1498, allocations: 11.94 kB / 424.2 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.1499, allocations: 34.56 kB / 424.3 MB, free: 10.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 3.106e-06/0.1499, allocations: 4 kB / 424.3 MB, free: 10.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.002278/0.1522, allocations: 0.7464 MB / 425 MB, free: 9.262 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.458e-05/0.1523, allocations: 118.8 kB / 425.1 MB, free: 9.121 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008954/0.1532, allocations: 497.8 kB / 425.6 MB, free: 8.629 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.205e-05/0.1532, allocations: 25.7 kB / 425.7 MB, free: 8.598 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002424/0.1535, allocations: 216.2 kB / 425.9 MB, free: 8.383 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.635e-05/0.1536, allocations: 55.2 kB / 425.9 MB, free: 8.328 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.1536, allocations: 0 / 425.9 MB, free: 8.328 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.1538, allocations: 354.8 kB / 426.3 MB, free: 7.973 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006365/0.1545, allocations: 156.1 kB / 426.4 MB, free: 7.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007525/0.1552, allocations: 238.7 kB / 426.7 MB, free: 7.551 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006991/0.1559, allocations: 179.8 kB / 426.8 MB, free: 7.375 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.156, allocations: 0 / 426.8 MB, free: 7.375 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001672/0.1576, allocations: 473.1 kB / 427.3 MB, free: 6.906 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.1577, allocations: 12.03 kB / 427.3 MB, free: 6.895 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001135/0.1578, allocations: 31.97 kB / 427.3 MB, free: 6.863 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/0.1579, allocations: 7.938 kB / 427.3 MB, free: 6.855 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00035/0.1582, allocations: 43.95 kB / 427.4 MB, free: 6.812 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/0.1582, allocations: 4 kB / 427.4 MB, free: 6.809 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004737/0.1587, allocations: 55.52 kB / 427.4 MB, free: 6.754 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.007e-05/0.1588, allocations: 19.98 kB / 427.5 MB, free: 6.734 MB / 362.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 () * Number of clocked 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.0003502/0.1592, allocations: 202.4 kB / 427.7 MB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.1593, allocations: 47.47 kB / 427.7 MB, free: 6.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/0.1608, allocations: 440.6 kB / 428.1 MB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/0.1608, allocations: 4 kB / 428.1 MB, free: 6.039 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.1608, allocations: 0 / 428.1 MB, free: 6.039 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1608, allocations: 0 / 428.1 MB, free: 6.039 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008932/0.1617, allocations: 377.3 kB / 428.5 MB, free: 5.621 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000101/0.1619, allocations: 27.98 kB / 428.5 MB, free: 5.594 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00029/0.1622, allocations: 31.97 kB / 428.6 MB, free: 5.562 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.847e-06/0.1622, allocations: 3.953 kB / 428.6 MB, free: 5.559 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.119e-05/0.1622, allocations: 15.98 kB / 428.6 MB, free: 5.543 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.1622, allocations: 0 / 428.6 MB, free: 5.543 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.311e-06/0.1623, allocations: 4 kB / 428.6 MB, free: 5.539 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/0.1638, allocations: 0.66 MB / 429.3 MB, free: 4.852 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001804/0.164, allocations: 124.6 kB / 429.4 MB, free: 4.711 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.1641, allocations: 4 kB / 429.4 MB, free: 4.707 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004656/0.1646, allocations: 19.98 kB / 429.4 MB, free: 4.688 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.1648, allocations: 27.97 kB / 429.4 MB, free: 4.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-05/0.1648, allocations: 8 kB / 429.4 MB, free: 4.652 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006899/0.1655, allocations: 359 kB / 429.8 MB, free: 4.301 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.1655, allocations: 4 kB / 429.8 MB, free: 4.297 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008138/0.1664, allocations: 123.8 kB / 429.9 MB, free: 4.176 MB / 362.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 (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.002348/0.1687, allocations: 1.402 MB / 431.3 MB, free: 2.738 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001614/0.1704, allocations: 0.5814 MB / 431.9 MB, free: 2.102 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.1704, allocations: 0 / 431.9 MB, free: 2.102 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008672/0.1713, allocations: 411.2 kB / 432.3 MB, free: 1.645 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007985/0.1721, allocations: 94.06 kB / 432.4 MB, free: 1.555 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007928/0.18, allocations: 4.446 MB / 436.8 MB, free: 13 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000601/0.1807, allocations: 0.8616 MB / 437.7 MB, free: 12.11 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003643/0.1811, allocations: 63.23 kB / 437.8 MB, free: 12.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/0.1813, allocations: 111.4 kB / 437.9 MB, free: 11.94 MB / 378.7 MB Notification: Performance of SimCode: time 9.31e-07/0.1813, allocations: 0 / 437.9 MB, free: 11.94 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04649/0.2278, allocations: 10.88 MB / 448.7 MB, free: 1.156 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003913/0.2283, allocations: 234.3 kB / 449 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.026/3.254, allocations: 0 / 449 MB, free: 0.9141 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat does not exist to compare? outputFormat=mat