Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_3_1_cpp_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.114/1.114, allocations: 111.2 MB / 119.1 MB, free: 11.18 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.854e-05/2.872e-05, allocations: 4 kB / 148.2 MB, free: 6.129 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06124/0.06132, allocations: 25.18 MB / 173.4 MB, free: 12.91 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2421/0.3035, allocations: 33.9 MB / 207.3 MB, free: 4.648 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/0.3038, allocations: 64.83 kB / 207.4 MB, free: 4.648 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01541/0.3192, allocations: 3.556 MB / 210.9 MB, free: 4.105 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.073e-06/0.3193, allocations: 3.938 kB / 210.9 MB, free: 4.102 MB / 170.7 MB Notification: Performance of Transformations before backend: time 2.087e-05/0.3193, allocations: 4.5 kB / 210.9 MB, free: 4.102 MB / 170.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008532/0.3202, allocations: 483.7 kB / 211.4 MB, free: 3.695 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/0.3202, allocations: 10.06 kB / 211.4 MB, free: 3.695 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.168e-05/0.3203, allocations: 23.94 kB / 211.4 MB, free: 3.684 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/0.3206, allocations: 220.9 kB / 211.6 MB, free: 3.473 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.3207, allocations: 7.219 kB / 211.6 MB, free: 3.473 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.678e-05/0.3207, allocations: 11.97 kB / 211.7 MB, free: 3.473 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003654/0.3211, allocations: 106.2 kB / 211.8 MB, free: 3.473 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004011/0.3215, allocations: 174 kB / 211.9 MB, free: 3.414 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.3215, allocations: 5.203 kB / 211.9 MB, free: 3.41 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.598e-05/0.3216, allocations: 1.188 kB / 211.9 MB, free: 3.41 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.3216, allocations: 4.281 kB / 211.9 MB, free: 3.41 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.3232, allocations: 0.7471 MB / 212.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004732/0.3237, allocations: 170.6 kB / 212.9 MB, free: 2.926 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002536/0.324, allocations: 86.56 kB / 212.9 MB, free: 2.906 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.756e-05/0.3241, allocations: 5.344 kB / 212.9 MB, free: 2.902 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.3241, allocations: 38.53 kB / 213 MB, free: 2.863 MB / 170.7 MB Notification: Performance of pre-optimization done (n=21): time 3.246e-06/0.3241, allocations: 0 / 213 MB, free: 2.863 MB / 170.7 MB Notification: Performance of matching and sorting (n=25): time 0.001753/0.3259, allocations: 0.699 MB / 213.7 MB, free: 2.367 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.326, allocations: 78.92 kB / 213.8 MB, free: 2.273 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.3261, allocations: 142.2 kB / 213.9 MB, free: 2.18 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.3261, allocations: 25.7 kB / 213.9 MB, free: 2.148 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.072e-05/0.3262, allocations: 203.8 kB / 214.1 MB, free: 1.977 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.665e-05/0.3263, allocations: 89.94 kB / 214.2 MB, free: 1.914 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.367e-05/0.3264, allocations: 1.5 kB / 214.2 MB, free: 1.914 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 6.855e-05/0.3264, allocations: 321.8 kB / 214.5 MB, free: 1.602 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.3266, allocations: 46.22 kB / 214.6 MB, free: 1.602 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.3267, allocations: 100.1 kB / 214.7 MB, free: 1.547 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.3269, allocations: 66.03 kB / 214.7 MB, free: 1.539 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.327, allocations: 1.25 kB / 214.7 MB, free: 1.539 MB / 170.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004625/0.3274, allocations: 177.7 kB / 214.9 MB, free: 1.496 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.3275, allocations: 5.031 kB / 214.9 MB, free: 1.496 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.3275, allocations: 1.406 kB / 214.9 MB, free: 1.496 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/0.3275, allocations: 6.562 kB / 214.9 MB, free: 1.492 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004885/0.328, allocations: 63.72 kB / 215 MB, free: 1.488 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.3281, allocations: 3.984 kB / 215 MB, free: 1.484 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.3283, allocations: 14 kB / 215 MB, free: 1.48 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.3283, allocations: 11.44 kB / 215 MB, free: 1.48 MB / 170.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.373e-05/0.3284, allocations: 107.3 kB / 215.1 MB, free: 1.371 MB / 170.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004148/0.3289, allocations: 169.2 kB / 215.3 MB, free: 1.32 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.992e-05/0.3289, allocations: 22 kB / 215.3 MB, free: 1.309 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.471e-05/0.329, allocations: 21.28 kB / 215.3 MB, free: 1.301 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.3291, allocations: 6.547 kB / 215.3 MB, free: 1.301 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.3291, allocations: 0 / 215.3 MB, free: 1.301 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.3291, allocations: 0 / 215.3 MB, free: 1.301 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009669/0.3301, allocations: 0.5179 MB / 215.9 MB, free: 0.9844 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.3301, allocations: 3.875 kB / 215.9 MB, free: 0.9844 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004961/0.3306, allocations: 57.09 kB / 215.9 MB, free: 0.9766 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.3306, allocations: 3.844 kB / 215.9 MB, free: 0.9766 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/0.3307, allocations: 3.875 kB / 215.9 MB, free: 0.9766 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.3307, allocations: 1.969 kB / 215.9 MB, free: 0.9766 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.3307, allocations: 3.812 kB / 215.9 MB, free: 0.9766 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006558/0.3314, allocations: 486.4 kB / 216.4 MB, free: 0.6562 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.3315, allocations: 105.1 kB / 216.5 MB, free: 0.5547 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.165e-05/0.3315, allocations: 6.656 kB / 216.5 MB, free: 0.5508 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002633/0.3318, allocations: 7.562 kB / 216.5 MB, free: 0.5508 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.713e-05/0.3319, allocations: 16.33 kB / 216.5 MB, free: 0.5508 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.3319, allocations: 9.766 kB / 216.5 MB, free: 0.5508 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0001003/0.3321, allocations: 108.5 kB / 216.6 MB, free: 488 kB / 170.7 MB Notification: Performance of sort global known variables: time 1.433e-06/0.3321, allocations: 0 / 216.6 MB, free: 488 kB / 170.7 MB Notification: Performance of remove unused functions: time 0.0004959/0.3326, allocations: 49.41 kB / 216.7 MB, free: 480 kB / 170.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (mass1.s,mass1.v,damper1.s_rel,damper1.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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 Backend phase and start with SimCode phase: time 0.00112/0.3337, allocations: 1.287 MB / 218 MB, free: 15.36 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0004327/0.3342, allocations: 138.5 kB / 218.1 MB, free: 15.35 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3342, allocations: 0 / 218.1 MB, free: 15.35 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001891/0.3344, allocations: 76.95 kB / 218.2 MB, free: 15.34 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006111/0.335, allocations: 32.06 kB / 218.2 MB, free: 15.34 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001923/0.337, allocations: 0.6003 MB / 218.8 MB, free: 14.93 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.3374, allocations: 0.7547 MB / 219.6 MB, free: 14.22 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001733/0.3376, allocations: 65.92 kB / 219.6 MB, free: 14.21 MB / 186.7 MB Notification: Performance of SimCode: time 1.102e-06/0.3376, allocations: 0 / 219.6 MB, free: 14.21 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.706/3.044, allocations: 3.372 MB / 223 MB, free: 13.1 MB / 186.7 MB