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.HelicalPipe.kc_overall_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.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.557/2.557, allocations: 235.1 MB / 243 MB, free: 9.602 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.758e-05/1.764e-05, allocations: 0 / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3422, allocations: 54.85 MB / 358.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1609/0.5032, allocations: 91.11 MB / 449.3 MB, free: 3.695 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003637/0.5036, allocations: 99.88 kB / 449.4 MB, free: 3.598 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.071/0.5746, allocations: 14.12 MB / 463.5 MB, free: 5.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5747, allocations: 0 / 463.5 MB, free: 5.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.732e-05/0.5747, allocations: 8 kB / 463.5 MB, free: 5.312 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001362/0.5761, allocations: 0.5995 MB / 464.1 MB, free: 4.668 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.5761, allocations: 8.031 kB / 464.1 MB, free: 4.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.5763, allocations: 43.48 kB / 464.1 MB, free: 4.617 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005219/0.5768, allocations: 283.1 kB / 464.4 MB, free: 4.301 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.5768, allocations: 12 kB / 464.4 MB, free: 4.289 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.456e-05/0.5769, allocations: 24 kB / 464.4 MB, free: 4.266 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001124/0.5781, allocations: 493.8 kB / 464.9 MB, free: 3.785 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.5792, allocations: 473 kB / 465.4 MB, free: 3.316 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.5792, allocations: 3.984 kB / 465.4 MB, free: 3.312 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.533e-05/0.5793, allocations: 0 / 465.4 MB, free: 3.312 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.471e-05/0.5794, allocations: 37.25 kB / 465.4 MB, free: 3.277 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002853/0.5822, allocations: 1.05 MB / 466.5 MB, free: 2.184 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.5834, allocations: 407.8 kB / 466.9 MB, free: 1.777 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003508/0.5838, allocations: 129.2 kB / 467 MB, free: 1.648 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.679e-05/0.5838, allocations: 12.17 kB / 467 MB, free: 1.637 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.5839, allocations: 42.8 kB / 467.1 MB, free: 1.586 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 3.246e-06/0.5839, allocations: 0 / 467.1 MB, free: 1.586 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.001019/0.5849, allocations: 335.2 kB / 467.4 MB, free: 1.254 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.585, allocations: 51.41 kB / 467.4 MB, free: 1.191 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.5852, allocations: 137.3 kB / 467.6 MB, free: 1.051 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.5852, allocations: 25.7 kB / 467.6 MB, free: 1.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.5854, allocations: 266.5 kB / 467.9 MB, free: 0.7578 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.5856, allocations: 94.66 kB / 467.9 MB, free: 0.6641 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/0.5856, allocations: 0 / 467.9 MB, free: 0.6641 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.5857, allocations: 318.8 kB / 468.3 MB, free: 352 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003328/0.5861, allocations: 115.9 kB / 468.4 MB, free: 236 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003102/0.5864, allocations: 111.9 kB / 468.5 MB, free: 124 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3193/0.9058, allocations: 133.9 kB / 468.6 MB, free: 98.97 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.116e-06/0.9058, allocations: 0 / 468.6 MB, free: 98.97 MB / 394.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001111/0.907, allocations: 318.1 kB / 468.9 MB, free: 98.94 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.201e-05/0.907, allocations: 7.125 kB / 468.9 MB, free: 98.94 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.907, allocations: 6.312 kB / 468.9 MB, free: 98.94 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.9071, allocations: 6.594 kB / 468.9 MB, free: 98.94 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001662/0.9088, allocations: 153.6 kB / 469.1 MB, free: 98.94 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003104/0.9119, allocations: 5.543 MB / 474.6 MB, free: 93.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003691/0.9123, allocations: 24.95 kB / 474.7 MB, free: 93.69 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-05/0.9124, allocations: 12.27 kB / 474.7 MB, free: 93.69 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (28): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001352/0.9125, allocations: 113.7 kB / 474.8 MB, free: 93.58 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001018/0.9136, allocations: 325 kB / 475.1 MB, free: 93.54 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.235e-05/0.9137, allocations: 16.12 kB / 475.1 MB, free: 93.53 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001447/0.9151, allocations: 444.6 kB / 475.6 MB, free: 93.47 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.9152, allocations: 3.125 kB / 475.6 MB, free: 93.47 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.9152, allocations: 0.6094 kB / 475.6 MB, free: 93.47 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-06/0.9152, allocations: 6.453 kB / 475.6 MB, free: 93.47 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006965/0.9159, allocations: 341.9 kB / 475.9 MB, free: 93.31 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.351e-06/0.9159, allocations: 1.469 kB / 475.9 MB, free: 93.31 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001527/0.9175, allocations: 157.8 kB / 476 MB, free: 93.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.161e-05/0.9175, allocations: 1.281 kB / 476.1 MB, free: 93.31 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.703e-05/0.9176, allocations: 10.69 kB / 476.1 MB, free: 93.31 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002948/0.9205, allocations: 5.539 MB / 481.6 MB, free: 88.04 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.9206, allocations: 0 / 481.6 MB, free: 88.04 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009881/0.9216, allocations: 437.5 kB / 482 MB, free: 87.89 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.592e-05/0.9217, allocations: 93.19 kB / 482.1 MB, free: 87.79 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.371e-05/0.9217, allocations: 2.062 kB / 482.1 MB, free: 87.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003582/0.9221, allocations: 12.16 kB / 482.1 MB, free: 87.79 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.9222, allocations: 22.55 kB / 482.2 MB, free: 87.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.706e-05/0.9223, allocations: 17.25 kB / 482.2 MB, free: 87.79 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.728e-05/0.9224, allocations: 108 kB / 482.3 MB, free: 87.71 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.9224, allocations: 3.781 kB / 482.3 MB, free: 87.71 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008314/0.9233, allocations: 170 kB / 482.4 MB, free: 87.7 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 (28): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001766/0.925, allocations: 1.114 MB / 483.6 MB, free: 87.03 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001849/0.9269, allocations: 376.4 kB / 483.9 MB, free: 87.02 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.927, allocations: 0 / 483.9 MB, free: 87.02 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001346/0.9284, allocations: 246.7 kB / 484.2 MB, free: 87.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.9288, allocations: 13.34 kB / 484.2 MB, free: 87.02 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/0.9309, allocations: 0.7009 MB / 484.9 MB, free: 86.79 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.9313, allocations: 0.8512 MB / 485.7 MB, free: 86.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002346/0.9315, allocations: 109.6 kB / 485.8 MB, free: 86.09 MB / 394.7 MB Notification: Performance of SimCode: time 1.403e-06/0.9316, allocations: 3.938 kB / 485.8 MB, free: 86.09 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.58/4.511, allocations: 19.74 MB / 0.4937 GB, free: 73.02 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.HelicalPipe.kc_overall_KC_res.mat does not exist to compare? outputFormat=mat