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.HelicalPipe.kc_laminar_KC.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.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.034/2.034, allocations: 209.2 MB / 224.8 MB, free: 300 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006373/0.0006374, allocations: 8 kB / 282.7 MB, free: 9.484 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4105/0.4112, allocations: 48.7 MB / 331.4 MB, free: 6.523 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2025/0.6137, allocations: 80.48 MB / 411.9 MB, free: 13.92 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005709/0.6144, allocations: 91.94 kB / 412 MB, free: 13.83 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05708/0.6715, allocations: 9.343 MB / 421.3 MB, free: 4.324 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.6715, allocations: 0 / 421.3 MB, free: 4.324 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.883e-05/0.6716, allocations: 11.94 kB / 421.3 MB, free: 4.312 MB / 346.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.001325/0.6729, allocations: 0.581 MB / 421.9 MB, free: 3.684 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/0.673, allocations: 8.031 kB / 421.9 MB, free: 3.676 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001546/0.6731, allocations: 86.52 kB / 422 MB, free: 3.582 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.6733, allocations: 39.53 kB / 422 MB, free: 3.543 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005217/0.6738, allocations: 282.2 kB / 422.3 MB, free: 3.227 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.306e-05/0.6738, allocations: 32.98 kB / 422.3 MB, free: 3.195 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.456e-05/0.674, allocations: 40 kB / 422.4 MB, free: 3.156 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.6754, allocations: 0.5334 MB / 422.9 MB, free: 2.617 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.6754, allocations: 0 / 422.9 MB, free: 2.617 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.459e-05/0.6755, allocations: 19.98 kB / 422.9 MB, free: 2.598 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-05/0.6756, allocations: 32.97 kB / 423 MB, free: 2.562 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001563/0.6772, allocations: 0.5816 MB / 423.5 MB, free: 1.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002957/0.6801, allocations: 1.203 MB / 424.7 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.6814, allocations: 378.9 kB / 425.1 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.373e-05/0.6814, allocations: 4.266 kB / 425.1 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.347e-05/0.6815, allocations: 46.69 kB / 425.2 MB, free: 292 kB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 3.015e-06/0.6815, allocations: 0 / 425.2 MB, free: 292 kB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.001725/0.6832, allocations: 471 kB / 425.6 MB, free: 15.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/0.6833, allocations: 55.41 kB / 425.7 MB, free: 15.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007884/0.6841, allocations: 408.8 kB / 426.1 MB, free: 15.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.593e-05/0.6842, allocations: 33.64 kB / 426.1 MB, free: 15.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/0.6844, allocations: 226.9 kB / 426.3 MB, free: 15.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.6845, allocations: 70.86 kB / 426.4 MB, free: 15.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.523e-05/0.6846, allocations: 8 kB / 426.4 MB, free: 15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.6847, allocations: 318.8 kB / 426.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004836/0.6852, allocations: 119.9 kB / 426.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004267/0.6857, allocations: 131.4 kB / 427 MB, free: 14.44 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004909/0.6862, allocations: 131.8 kB / 427.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.6862, allocations: 4 kB / 427.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001293/0.6875, allocations: 313.2 kB / 427.4 MB, free: 14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/0.6875, allocations: 4.781 kB / 427.4 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.6876, allocations: 7.922 kB / 427.4 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.6876, allocations: 4 kB / 427.4 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001874/0.6895, allocations: 151.8 kB / 427.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005407/0.6949, allocations: 5.521 MB / 433.1 MB, free: 8.105 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005918/0.6956, allocations: 55.39 kB / 433.1 MB, free: 8.051 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-05/0.6957, allocations: 4 kB / 433.1 MB, free: 8.047 MB / 362.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 13 * 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.0004486/0.6961, allocations: 197.6 kB / 433.3 MB, free: 7.844 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.6963, allocations: 35.53 kB / 433.4 MB, free: 7.809 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002017/0.6983, allocations: 456.6 kB / 433.8 MB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.6984, allocations: 4 kB / 433.8 MB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.6984, allocations: 0 / 433.8 MB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.6984, allocations: 4 kB / 433.8 MB, free: 7.352 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.6994, allocations: 381.2 kB / 434.2 MB, free: 6.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.6995, allocations: 0 / 434.2 MB, free: 6.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001809/0.7013, allocations: 151.8 kB / 434.3 MB, free: 6.781 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.076e-05/0.7013, allocations: 0 / 434.3 MB, free: 6.781 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.214e-05/0.7014, allocations: 15.98 kB / 434.4 MB, free: 6.766 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005864/0.7073, allocations: 5.52 MB / 439.9 MB, free: 1.035 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.686e-06/0.7073, allocations: 0 / 439.9 MB, free: 1.035 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/0.7091, allocations: 462 kB / 440.3 MB, free: 0.5703 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002404/0.7094, allocations: 112.7 kB / 440.4 MB, free: 452 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.7096, allocations: 4 kB / 440.4 MB, free: 448 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005104/0.7101, allocations: 11.98 kB / 440.5 MB, free: 436 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.7102, allocations: 19.97 kB / 440.5 MB, free: 416 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.495e-05/0.7103, allocations: 11.98 kB / 440.5 MB, free: 404 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008079/0.7111, allocations: 335 kB / 440.8 MB, free: 72 kB / 362.7 MB Notification: Performance of sort global known variables: time 6.02e-07/0.7111, allocations: 4 kB / 440.8 MB, free: 68 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009249/0.7121, allocations: 111.8 kB / 440.9 MB, free: 15.95 MB / 378.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 (22): * Single equations (assignments): 13 * 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.002308/0.7144, allocations: 1.065 MB / 442 MB, free: 14.87 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002597/0.717, allocations: 378.5 kB / 442.4 MB, free: 14.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.7171, allocations: 0 / 442.4 MB, free: 14.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001948/0.719, allocations: 243.7 kB / 442.6 MB, free: 14.26 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000964/0.72, allocations: 81.45 kB / 442.7 MB, free: 14.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008373/0.7284, allocations: 2.635 MB / 445.3 MB, free: 11.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007805/0.7293, allocations: 0.8542 MB / 446.2 MB, free: 10.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003688/0.7297, allocations: 111.4 kB / 446.3 MB, free: 10.5 MB / 378.7 MB Notification: Performance of SimCode: time 1.412e-06/0.7297, allocations: 0 / 446.3 MB, free: 10.5 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.29/4.02, allocations: 20.58 MB / 466.9 MB, free: 5.918 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat