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/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.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.16/1.16, allocations: 111.1 MB / 126.7 MB, free: 6.137 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002786/0.0002787, allocations: 4 kB / 158.4 MB, free: 15.1 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05887/0.05919, allocations: 25.17 MB / 183.6 MB, free: 5.887 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2095/0.2687, allocations: 33.78 MB / 217.4 MB, free: 6.371 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/0.269, allocations: 60.41 kB / 217.4 MB, free: 6.363 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01425/0.2833, allocations: 3.838 MB / 221.3 MB, free: 4.867 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2833, allocations: 0 / 221.3 MB, free: 4.867 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.2833, allocations: 3.688 kB / 221.3 MB, free: 4.867 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.0007511/0.2841, allocations: 492.1 kB / 221.8 MB, free: 4.422 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.2842, allocations: 11.28 kB / 221.8 MB, free: 4.422 MB / 170.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.478e-05/0.2842, allocations: 59.5 kB / 221.8 MB, free: 4.375 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.007e-05/0.2843, allocations: 26.69 kB / 221.8 MB, free: 4.359 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.2845, allocations: 201.8 kB / 222 MB, free: 4.137 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.2845, allocations: 14.19 kB / 222.1 MB, free: 4.137 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.713e-05/0.2846, allocations: 25.59 kB / 222.1 MB, free: 4.137 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004511/0.285, allocations: 226.4 kB / 222.3 MB, free: 4.035 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.2851, allocations: 7.625 kB / 222.3 MB, free: 4.031 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.767e-05/0.2851, allocations: 7.75 kB / 222.3 MB, free: 4.031 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.168e-06/0.2851, allocations: 7.562 kB / 222.3 MB, free: 4.031 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003337/0.2855, allocations: 137.1 kB / 222.5 MB, free: 4.008 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.2867, allocations: 0.7753 MB / 223.2 MB, free: 3.438 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005731/0.2873, allocations: 264.5 kB / 223.5 MB, free: 3.332 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.2873, allocations: 3.844 kB / 223.5 MB, free: 3.332 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.2873, allocations: 42.41 kB / 223.5 MB, free: 3.285 MB / 170.7 MB Notification: Performance of pre-optimization done (n=28): time 3.226e-06/0.2873, allocations: 0 / 223.5 MB, free: 3.285 MB / 170.7 MB Notification: Performance of matching and sorting (n=40): time 0.003078/0.2904, allocations: 1.848 MB / 225.4 MB, free: 1.875 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.2905, allocations: 114.5 kB / 225.5 MB, free: 1.742 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.2907, allocations: 164.9 kB / 225.7 MB, free: 1.633 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.2908, allocations: 36.27 kB / 225.7 MB, free: 1.602 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.621e-05/0.2908, allocations: 195.9 kB / 225.9 MB, free: 1.426 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.291, allocations: 147.2 kB / 226 MB, free: 1.32 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-05/0.291, allocations: 6.688 kB / 226 MB, free: 1.32 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 6.929e-05/0.2911, allocations: 325.3 kB / 226.4 MB, free: 1.004 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.2913, allocations: 76.69 kB / 226.4 MB, free: 0.9922 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002627/0.2916, allocations: 142.7 kB / 226.6 MB, free: 0.918 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.2919, allocations: 105.3 kB / 226.7 MB, free: 0.9102 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2919, allocations: 3.969 kB / 226.7 MB, free: 0.9102 MB / 170.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006308/0.2925, allocations: 300 kB / 227 MB, free: 0.8359 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.2925, allocations: 7.781 kB / 227 MB, free: 0.8359 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.2926, allocations: 0 / 227 MB, free: 0.8359 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.2926, allocations: 7.906 kB / 227 MB, free: 0.832 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005381/0.2931, allocations: 87.97 kB / 227.1 MB, free: 0.8164 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.2932, allocations: 3.875 kB / 227.1 MB, free: 0.8164 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.2934, allocations: 15.17 kB / 227.1 MB, free: 0.8125 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.677e-05/0.2934, allocations: 15.19 kB / 227.1 MB, free: 0.8125 MB / 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 () * Number of clocked 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.0001629/0.2936, allocations: 150.7 kB / 227.3 MB, free: 0.6875 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.757e-05/0.2937, allocations: 23.34 kB / 227.3 MB, free: 0.6758 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.925e-05/0.2938, allocations: 31.62 kB / 227.3 MB, free: 0.668 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.2938, allocations: 7.719 kB / 227.3 MB, free: 0.668 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.2938, allocations: 0 / 227.3 MB, free: 0.668 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.789e-06/0.2938, allocations: 7.984 kB / 227.3 MB, free: 0.6602 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001647/0.2955, allocations: 1.003 MB / 228.3 MB, free: 15.98 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.2955, allocations: 3.844 kB / 228.3 MB, free: 15.98 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006395/0.2962, allocations: 76.97 kB / 228.4 MB, free: 15.97 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.968e-06/0.2962, allocations: 11.97 kB / 228.4 MB, free: 15.96 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.139e-05/0.2962, allocations: 8.719 kB / 228.4 MB, free: 15.96 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.014e-05/0.2963, allocations: 7.828 kB / 228.4 MB, free: 15.96 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.732e-06/0.2963, allocations: 7.75 kB / 228.4 MB, free: 15.96 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.2973, allocations: 0.809 MB / 229.2 MB, free: 15.35 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.2975, allocations: 96.42 kB / 229.3 MB, free: 15.25 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.607e-05/0.2975, allocations: 15.59 kB / 229.4 MB, free: 15.24 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002993/0.2978, allocations: 15.33 kB / 229.4 MB, free: 15.24 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.886e-05/0.2979, allocations: 31.39 kB / 229.4 MB, free: 15.23 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.903e-05/0.298, allocations: 15.45 kB / 229.4 MB, free: 15.22 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001416/0.2981, allocations: 138 kB / 229.6 MB, free: 15.13 MB / 186.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.2981, allocations: 0 / 229.6 MB, free: 15.13 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.000567/0.2987, allocations: 63.41 kB / 229.6 MB, free: 15.13 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 () * Number of clocked 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.001708/0.3004, allocations: 2.122 MB / 231.7 MB, free: 13.26 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0005733/0.301, allocations: 244.7 kB / 232 MB, free: 13.21 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.301, allocations: 0 / 232 MB, free: 13.21 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002457/0.3013, allocations: 131.1 kB / 232.1 MB, free: 13.19 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000735/0.3021, allocations: 62.84 kB / 232.2 MB, free: 13.17 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004252/0.3063, allocations: 2.815 MB / 235 MB, free: 11.03 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004654/0.3068, allocations: 0.7642 MB / 235.7 MB, free: 10.3 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002212/0.3071, allocations: 83.81 kB / 235.8 MB, free: 10.29 MB / 186.7 MB Notification: Performance of SimCode: time 1.243e-06/0.3071, allocations: 1.375 kB / 235.8 MB, free: 10.29 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.777/3.085, allocations: 4.189 MB / 240 MB, free: 6.309 MB / 186.7 MB