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.Damper.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.Damper,fileNamePrefix="Modelica_3_1_cpp_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.128/1.128, allocations: 111.2 MB / 119.1 MB, free: 11.19 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.697e-05/2.701e-05, allocations: 0 / 148.2 MB, free: 6.133 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0605/0.06058, allocations: 25.17 MB / 173.4 MB, free: 12.93 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2229/0.2836, allocations: 33.03 MB / 206.4 MB, free: 4.617 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/0.2839, allocations: 56.47 kB / 206.5 MB, free: 4.617 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01634/0.3003, allocations: 3.808 MB / 210.3 MB, free: 4.047 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3003, allocations: 1.25 kB / 210.3 MB, free: 4.047 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.752e-05/0.3004, allocations: 3.719 kB / 210.3 MB, free: 4.047 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001027/0.3014, allocations: 471.5 kB / 210.7 MB, free: 3.645 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.337e-05/0.3015, allocations: 9.406 kB / 210.7 MB, free: 3.645 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/0.3016, allocations: 25.5 kB / 210.8 MB, free: 3.633 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.3019, allocations: 199.2 kB / 211 MB, free: 3.414 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.255e-05/0.3019, allocations: 11.12 kB / 211 MB, free: 3.41 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-05/0.302, allocations: 14.84 kB / 211 MB, free: 3.41 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005594/0.3026, allocations: 124.5 kB / 211.1 MB, free: 3.406 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005893/0.3032, allocations: 194.4 kB / 211.3 MB, free: 3.336 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.158e-05/0.3033, allocations: 4.797 kB / 211.3 MB, free: 3.336 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.352e-05/0.3033, allocations: 0 / 211.3 MB, free: 3.336 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.3033, allocations: 5.906 kB / 211.3 MB, free: 3.336 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001772/0.3051, allocations: 0.7179 MB / 212 MB, free: 2.895 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000766/0.3059, allocations: 235.5 kB / 212.3 MB, free: 2.816 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003788/0.3064, allocations: 106.7 kB / 212.4 MB, free: 2.785 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.012e-05/0.3064, allocations: 2.688 kB / 212.4 MB, free: 2.785 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.3065, allocations: 46.5 kB / 212.4 MB, free: 2.738 MB / 170.7 MB Notification: Performance of pre-optimization done (n=28): time 4.9e-06/0.3065, allocations: 0 / 212.4 MB, free: 2.738 MB / 170.7 MB Notification: Performance of matching and sorting (n=40): time 0.003886/0.3104, allocations: 1.655 MB / 214.1 MB, free: 1.406 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.3105, allocations: 110.7 kB / 214.2 MB, free: 1.277 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002389/0.3108, allocations: 142.8 kB / 214.3 MB, free: 1.172 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 4.191e-05/0.3108, allocations: 26.92 kB / 214.3 MB, free: 1.141 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.3109, allocations: 199.5 kB / 214.5 MB, free: 0.9688 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001735/0.3111, allocations: 139.6 kB / 214.7 MB, free: 0.8789 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.402e-05/0.3112, allocations: 4 kB / 214.7 MB, free: 0.875 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 9.44e-05/0.3113, allocations: 328.6 kB / 215 MB, free: 0.5586 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002935/0.3116, allocations: 70.47 kB / 215.1 MB, free: 0.5547 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003463/0.312, allocations: 128.7 kB / 215.2 MB, free: 0.4961 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000371/0.3124, allocations: 103.2 kB / 215.3 MB, free: 496 kB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.3124, allocations: 0 / 215.3 MB, free: 496 kB / 170.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009414/0.3133, allocations: 259 kB / 215.5 MB, free: 440 kB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.937e-05/0.3134, allocations: 5.906 kB / 215.6 MB, free: 440 kB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.3134, allocations: 1.125 kB / 215.6 MB, free: 440 kB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.728e-05/0.3135, allocations: 3.281 kB / 215.6 MB, free: 440 kB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009112/0.3144, allocations: 88.95 kB / 215.6 MB, free: 432 kB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.712e-05/0.3145, allocations: 4 kB / 215.6 MB, free: 432 kB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01689/0.3314, allocations: 5.344 kB / 215.7 MB, free: 428 kB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.833e-05/0.3315, allocations: 17.88 kB / 215.7 MB, free: 424 kB / 170.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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 0.000155/0.3317, allocations: 114.2 kB / 215.8 MB, free: 308 kB / 170.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008828/0.3326, allocations: 234.2 kB / 216 MB, free: 248 kB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.3327, allocations: 24.25 kB / 216 MB, free: 236 kB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001302/0.3329, allocations: 27.36 kB / 216.1 MB, free: 232 kB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.3329, allocations: 4.844 kB / 216.1 MB, free: 232 kB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.547e-06/0.3329, allocations: 0 / 216.1 MB, free: 232 kB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.333, allocations: 5.391 kB / 216.1 MB, free: 228 kB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009843/0.3428, allocations: 0.9252 MB / 217 MB, free: 15.69 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.3429, allocations: 3.875 kB / 217 MB, free: 15.69 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009093/0.3438, allocations: 78.7 kB / 217.1 MB, free: 15.68 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.047e-05/0.3439, allocations: 7.875 kB / 217.1 MB, free: 15.68 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-05/0.344, allocations: 11.56 kB / 217.1 MB, free: 15.68 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.819e-06/0.344, allocations: 7.75 kB / 217.1 MB, free: 15.68 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.344, allocations: 0 / 217.1 MB, free: 15.68 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001402/0.3454, allocations: 0.7637 MB / 217.9 MB, free: 15.1 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001674/0.3456, allocations: 100.3 kB / 218 MB, free: 15 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.06e-05/0.3457, allocations: 8 kB / 218 MB, free: 14.99 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005041/0.3463, allocations: 8 kB / 218 MB, free: 14.99 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.5e-05/0.3464, allocations: 33.64 kB / 218 MB, free: 14.98 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.663e-05/0.3464, allocations: 11.5 kB / 218 MB, free: 14.98 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.009907/0.3563, allocations: 114.9 kB / 218.1 MB, free: 14.9 MB / 186.7 MB Notification: Performance of sort global known variables: time 9.02e-07/0.3564, allocations: 0 / 218.1 MB, free: 14.9 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.001106/0.3575, allocations: 53.44 kB / 218.2 MB, free: 14.9 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper1.s_rel,damper1.v_rel,damper2.s_rel,damper2.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 40 * 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.00693/0.3645, allocations: 2.057 MB / 220.2 MB, free: 13.07 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.000737/0.3653, allocations: 211.7 kB / 220.5 MB, free: 13.05 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.3653, allocations: 4.188 kB / 220.5 MB, free: 13.05 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003558/0.3657, allocations: 113.4 kB / 220.6 MB, free: 13.04 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008007/0.3737, allocations: 39.55 kB / 220.6 MB, free: 13.04 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003367/0.3772, allocations: 0.8338 MB / 221.4 MB, free: 12.43 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005829/0.3778, allocations: 0.7677 MB / 222.2 MB, free: 11.73 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002817/0.3781, allocations: 84.34 kB / 222.3 MB, free: 11.72 MB / 186.7 MB Notification: Performance of SimCode: time 1.543e-06/0.3781, allocations: 0 / 222.3 MB, free: 11.72 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.81/3.188, allocations: 4.127 MB / 226.4 MB, free: 10.3 MB / 186.7 MB