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.Inverse_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.Inverse_sh_T,fileNamePrefix="Modelica_3_1_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.225/1.225, allocations: 111.1 MB / 126.7 MB, free: 6.145 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002751/0.0002751, allocations: 4 kB / 158.4 MB, free: 15.09 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05399/0.05431, allocations: 25.18 MB / 183.6 MB, free: 5.879 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.111/1.166, allocations: 362.4 MB / 0.5332 GB, free: 25.41 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/1.166, allocations: 69.28 kB / 0.5332 GB, free: 25.37 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3375/1.504, allocations: 48.62 MB / 0.5807 GB, free: 62.8 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.475e-06/1.504, allocations: 0 / 0.5807 GB, free: 62.8 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.258e-06/1.504, allocations: 3.375 kB / 0.5807 GB, free: 62.8 MB / 234.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.001097/1.505, allocations: 459.9 kB / 0.5811 GB, free: 62.38 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/1.505, allocations: 9.469 kB / 0.5812 GB, free: 62.38 MB / 234.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.059e-05/1.505, allocations: 35.5 kB / 0.5812 GB, free: 62.34 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/1.505, allocations: 3.281 kB / 0.5812 GB, free: 62.34 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/1.505, allocations: 194 kB / 0.5814 GB, free: 62.12 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/1.505, allocations: 6.688 kB / 0.5814 GB, free: 62.12 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/1.505, allocations: 6.172 kB / 0.5814 GB, free: 62.12 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002841/1.506, allocations: 65.23 kB / 0.5815 GB, free: 62.07 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/1.506, allocations: 0 / 0.5815 GB, free: 62.07 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/1.506, allocations: 0 / 0.5815 GB, free: 62.07 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.443e-06/1.506, allocations: 0 / 0.5815 GB, free: 62.07 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003298/1.506, allocations: 35.67 kB / 0.5815 GB, free: 62.07 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002519/1.506, allocations: 176.5 kB / 0.5817 GB, free: 61.88 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005089/1.507, allocations: 82.72 kB / 0.5817 GB, free: 61.83 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001486/1.508, allocations: 1.619 MB / 0.5833 GB, free: 60.04 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/1.508, allocations: 38.95 kB / 0.5834 GB, free: 60 MB / 234.7 MB Notification: Performance of pre-optimization done (n=6): time 3.697e-06/1.508, allocations: 0 / 0.5834 GB, free: 60 MB / 234.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007287/1.509, allocations: 89.09 kB / 0.5834 GB, free: 59.97 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/1.509, allocations: 80.48 kB / 0.5835 GB, free: 59.88 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/1.509, allocations: 113 kB / 0.5836 GB, free: 59.79 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/1.509, allocations: 27.7 kB / 0.5836 GB, free: 59.75 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.259e-05/1.509, allocations: 153.6 kB / 0.5838 GB, free: 59.61 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.609e-05/1.51, allocations: 14.66 kB / 0.5838 GB, free: 59.6 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.275e-06/1.51, allocations: 0 / 0.5838 GB, free: 59.6 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.15e-05/1.51, allocations: 318.6 kB / 0.5841 GB, free: 59.28 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/1.51, allocations: 14.34 kB / 0.5841 GB, free: 59.28 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/1.51, allocations: 33.36 kB / 0.5842 GB, free: 59.26 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/1.51, allocations: 16.81 kB / 0.5842 GB, free: 59.26 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/1.51, allocations: 0 / 0.5842 GB, free: 59.26 MB / 234.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004366/1.511, allocations: 75.05 kB / 0.5842 GB, free: 59.23 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/1.511, allocations: 6.594 kB / 0.5842 GB, free: 59.23 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/1.511, allocations: 0 / 0.5842 GB, free: 59.23 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/1.511, allocations: 0 / 0.5842 GB, free: 59.23 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/1.511, allocations: 19.55 kB / 0.5843 GB, free: 59.22 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/1.511, allocations: 6.188 kB / 0.5843 GB, free: 59.22 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/1.511, allocations: 8.781 kB / 0.5843 GB, free: 59.21 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/1.511, allocations: 2.062 kB / 0.5843 GB, free: 59.21 MB / 234.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 () * Number of clocked 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 9.072e-05/1.511, allocations: 120.8 kB / 0.5844 GB, free: 59.1 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.298e-05/1.511, allocations: 4.406 kB / 0.5844 GB, free: 59.1 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006448/1.512, allocations: 131 kB / 0.5845 GB, free: 59.05 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/1.512, allocations: 0 / 0.5845 GB, free: 59.05 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/1.512, allocations: 3.312 kB / 0.5845 GB, free: 59.05 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.842e-06/1.512, allocations: 3.562 kB / 0.5845 GB, free: 59.05 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/1.512, allocations: 171.2 kB / 0.5847 GB, free: 58.86 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/1.512, allocations: 3.375 kB / 0.5847 GB, free: 58.86 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/1.512, allocations: 13.05 kB / 0.5847 GB, free: 58.86 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/1.512, allocations: 7.938 kB / 0.5847 GB, free: 58.85 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/1.512, allocations: 3.312 kB / 0.5847 GB, free: 58.85 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/1.513, allocations: 6.688 kB / 0.5847 GB, free: 58.85 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.513, allocations: 2.719 kB / 0.5847 GB, free: 58.85 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004674/1.513, allocations: 129.9 kB / 0.5849 GB, free: 58.75 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.544e-05/1.513, allocations: 101.2 kB / 0.585 GB, free: 58.65 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.787e-05/1.513, allocations: 0 / 0.585 GB, free: 58.65 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/1.513, allocations: 3.094 kB / 0.585 GB, free: 58.65 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.812e-05/1.513, allocations: 10.59 kB / 0.585 GB, free: 58.65 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/1.513, allocations: 6.594 kB / 0.585 GB, free: 58.65 MB / 234.7 MB Notification: Performance of sorting global known variables: time 7.84e-05/1.513, allocations: 91.56 kB / 0.5851 GB, free: 58.58 MB / 234.7 MB Notification: Performance of sort global known variables: time 5.51e-07/1.514, allocations: 0 / 0.5851 GB, free: 58.58 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.00136/1.515, allocations: 214.7 kB / 0.5853 GB, free: 58.54 MB / 234.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 () * Number of clocked 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.00323/1.518, allocations: 1.442 MB / 0.5867 GB, free: 57.66 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0004905/1.519, allocations: 49.88 kB / 0.5867 GB, free: 57.65 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/1.519, allocations: 0 / 0.5867 GB, free: 57.65 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002165/1.519, allocations: 28.55 kB / 0.5867 GB, free: 57.65 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004583/1.519, allocations: 31.75 kB / 0.5868 GB, free: 57.65 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/1.522, allocations: 0.799 MB / 0.5876 GB, free: 57.05 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/1.522, allocations: 0.6845 MB / 0.5882 GB, free: 56.36 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002072/1.522, allocations: 34.52 kB / 0.5883 GB, free: 56.35 MB / 234.7 MB Notification: Performance of SimCode: time 1.222e-06/1.522, allocations: 0 / 0.5883 GB, free: 56.35 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.796/4.318, allocations: 6.889 MB / 0.595 GB, free: 53.64 MB / 234.7 MB