Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_3_1_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.03/1.03, allocations: 111.2 MB / 124.2 MB, free: 11.18 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.556e-05/3.58e-05, allocations: 7.984 kB / 154.4 MB, free: 13.07 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1696, allocations: 25.15 MB / 179.5 MB, free: 0.7188 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2682/0.4379, allocations: 71.45 MB / 251 MB, free: 35.43 MB / 202.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/0.4381, allocations: 71.58 kB / 251 MB, free: 35.42 MB / 202.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1595/0.5977, allocations: 37.07 MB / 288.1 MB, free: 15.9 MB / 202.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5978, allocations: 0 / 288.1 MB, free: 15.9 MB / 202.7 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.5978, allocations: 0 / 288.1 MB, free: 15.9 MB / 202.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000874/0.5987, allocations: 0.4891 MB / 288.6 MB, free: 15.37 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.5987, allocations: 8.031 kB / 288.6 MB, free: 15.36 MB / 202.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.429e-05/0.5988, allocations: 34.25 kB / 288.6 MB, free: 15.32 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.168e-05/0.5988, allocations: 7.906 kB / 288.6 MB, free: 15.32 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.5991, allocations: 194 kB / 288.8 MB, free: 15.09 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.5991, allocations: 4 kB / 288.8 MB, free: 15.09 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.5991, allocations: 3.688 kB / 288.8 MB, free: 15.09 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.5993, allocations: 58.41 kB / 288.9 MB, free: 15.02 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.5993, allocations: 0 / 288.9 MB, free: 15.02 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.5993, allocations: 3.25 kB / 288.9 MB, free: 15.02 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.5993, allocations: 0 / 288.9 MB, free: 15.02 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.028e-05/0.5994, allocations: 15.98 kB / 288.9 MB, free: 15 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001778/0.5996, allocations: 188 kB / 289.1 MB, free: 14.78 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002992/0.5999, allocations: 79.98 kB / 289.2 MB, free: 14.69 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.028e-05/0.6, allocations: 25.53 kB / 289.2 MB, free: 14.66 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001106/0.6011, allocations: 1.819 MB / 291 MB, free: 12.46 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.6012, allocations: 38.5 kB / 291.1 MB, free: 12.41 MB / 202.7 MB Notification: Performance of pre-optimization done (n=6): time 2.375e-06/0.6012, allocations: 0 / 291.1 MB, free: 12.41 MB / 202.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002335/0.6014, allocations: 61.05 kB / 291.1 MB, free: 12.36 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.6015, allocations: 77.11 kB / 291.2 MB, free: 12.26 MB / 202.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.668e-05/0.6016, allocations: 108.6 kB / 291.3 MB, free: 12.15 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.6016, allocations: 29.64 kB / 291.3 MB, free: 12.12 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.952e-05/0.6017, allocations: 158.1 kB / 291.5 MB, free: 11.96 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.585e-05/0.6017, allocations: 15.72 kB / 291.5 MB, free: 11.95 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-06/0.6017, allocations: 0 / 291.5 MB, free: 11.95 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 5.521e-05/0.6018, allocations: 314.4 kB / 291.8 MB, free: 11.64 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.834e-05/0.6018, allocations: 8 kB / 291.8 MB, free: 11.63 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.583e-05/0.6019, allocations: 25.39 kB / 291.8 MB, free: 11.6 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.624e-05/0.602, allocations: 15.66 kB / 291.9 MB, free: 11.59 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.602, allocations: 0 / 291.9 MB, free: 11.59 MB / 202.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001508/0.6021, allocations: 69.36 kB / 291.9 MB, free: 11.52 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.6022, allocations: 5.25 kB / 291.9 MB, free: 11.52 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.6022, allocations: 0 / 291.9 MB, free: 11.52 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.6022, allocations: 0 / 291.9 MB, free: 11.52 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.6024, allocations: 15.98 kB / 291.9 MB, free: 11.5 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.6024, allocations: 0 / 291.9 MB, free: 11.5 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.737e-05/0.6025, allocations: 0 / 291.9 MB, free: 11.5 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.6025, allocations: 4 kB / 292 MB, free: 11.5 MB / 202.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 5.932e-05/0.6026, allocations: 112.6 kB / 292.1 MB, free: 11.38 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.024e-05/0.6026, allocations: 15.89 kB / 292.1 MB, free: 11.37 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003297/0.6029, allocations: 112 kB / 292.2 MB, free: 11.26 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.603, allocations: 3.312 kB / 292.2 MB, free: 11.26 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.603, allocations: 4 kB / 292.2 MB, free: 11.26 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.603, allocations: 0 / 292.2 MB, free: 11.26 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.6031, allocations: 172.9 kB / 292.4 MB, free: 11.05 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.6032, allocations: 3.953 kB / 292.4 MB, free: 11.04 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.6033, allocations: 19.92 kB / 292.4 MB, free: 11.02 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.6033, allocations: 0 / 292.4 MB, free: 11.02 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.6033, allocations: 4 kB / 292.4 MB, free: 11.02 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.6033, allocations: 0 / 292.4 MB, free: 11.02 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6033, allocations: 0 / 292.4 MB, free: 11.02 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.6035, allocations: 125.9 kB / 292.5 MB, free: 10.88 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.866e-05/0.6036, allocations: 99.61 kB / 292.6 MB, free: 10.77 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.6036, allocations: 3.125 kB / 292.6 MB, free: 10.77 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.561e-05/0.6037, allocations: 4 kB / 292.6 MB, free: 10.77 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.658e-05/0.6038, allocations: 7.984 kB / 292.6 MB, free: 10.76 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.6038, allocations: 4.125 kB / 292.6 MB, free: 10.75 MB / 202.7 MB Notification: Performance of sorting global known variables: time 4.453e-05/0.6039, allocations: 94.36 kB / 292.7 MB, free: 10.67 MB / 202.7 MB Notification: Performance of sort global known variables: time 4e-07/0.6039, allocations: 0 / 292.7 MB, free: 10.67 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0007416/0.6046, allocations: 182 kB / 292.9 MB, free: 10.5 MB / 202.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.00138/0.606, allocations: 0.9922 MB / 293.9 MB, free: 9.492 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.0001716/0.6062, allocations: 42.73 kB / 293.9 MB, free: 9.457 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6062, allocations: 0 / 293.9 MB, free: 9.457 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 7.947e-05/0.6063, allocations: 26.81 kB / 294 MB, free: 9.438 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.6067, allocations: 23.66 kB / 294 MB, free: 9.418 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006672/0.6074, allocations: 250.1 kB / 294.2 MB, free: 9.141 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/0.6075, allocations: 0.6926 MB / 294.9 MB, free: 8.422 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.91e-05/0.6076, allocations: 26.86 kB / 294.9 MB, free: 8.398 MB / 202.7 MB Notification: Performance of SimCode: time 8.52e-07/0.6076, allocations: 0 / 294.9 MB, free: 8.398 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.654/3.261, allocations: 3.922 MB / 298.9 MB, free: 4.48 MB / 202.7 MB