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.081/1.081, allocations: 111.2 MB / 124.2 MB, free: 11.14 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.281e-05/3.3e-05, allocations: 4 kB / 154.4 MB, free: 13.05 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1672, allocations: 25.15 MB / 179.5 MB, free: 0.8125 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05879/0.2261, allocations: 33.69 MB / 213.2 MB, free: 15.4 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/0.2264, allocations: 63.97 kB / 213.3 MB, free: 15.34 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01673/0.2431, allocations: 3.857 MB / 217.1 MB, free: 11.47 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2432, allocations: 0 / 217.1 MB, free: 11.47 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.411e-05/0.2432, allocations: 8 kB / 217.1 MB, free: 11.46 MB / 186.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.0008334/0.244, allocations: 462.3 kB / 217.6 MB, free: 10.96 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.2441, allocations: 12.03 kB / 217.6 MB, free: 10.95 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.85e-05/0.2442, allocations: 54.92 kB / 217.7 MB, free: 10.89 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.2443, allocations: 23.72 kB / 217.7 MB, free: 10.87 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.2445, allocations: 202.6 kB / 217.9 MB, free: 10.63 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/0.2446, allocations: 16.44 kB / 217.9 MB, free: 10.61 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.837e-05/0.2447, allocations: 24 kB / 217.9 MB, free: 10.59 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005373/0.2452, allocations: 214.2 kB / 218.1 MB, free: 10.37 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.995e-05/0.2453, allocations: 7.891 kB / 218.1 MB, free: 10.36 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.773e-05/0.2453, allocations: 19.94 kB / 218.2 MB, free: 10.34 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.2453, allocations: 4 kB / 218.2 MB, free: 10.34 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003968/0.2457, allocations: 132.5 kB / 218.3 MB, free: 10.21 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001544/0.2473, allocations: 0.7823 MB / 219.1 MB, free: 9.367 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006777/0.248, allocations: 247.6 kB / 219.3 MB, free: 9.098 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003452/0.2484, allocations: 110.5 kB / 219.4 MB, free: 8.98 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.858e-05/0.2484, allocations: 8 kB / 219.4 MB, free: 8.973 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.2485, allocations: 34.56 kB / 219.5 MB, free: 8.93 MB / 186.7 MB Notification: Performance of pre-optimization done (n=28): time 3.366e-06/0.2485, allocations: 4 kB / 219.5 MB, free: 8.926 MB / 186.7 MB Notification: Performance of matching and sorting (n=40): time 0.003728/0.2522, allocations: 1.784 MB / 221.2 MB, free: 6.879 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.849e-05/0.2524, allocations: 114.8 kB / 221.4 MB, free: 6.742 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002385/0.2526, allocations: 162.5 kB / 221.5 MB, free: 6.574 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 4.154e-05/0.2527, allocations: 37.7 kB / 221.6 MB, free: 6.531 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.2528, allocations: 187.2 kB / 221.7 MB, free: 6.348 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001624/0.253, allocations: 149.8 kB / 221.9 MB, free: 6.199 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-05/0.253, allocations: 8 kB / 221.9 MB, free: 6.191 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.2532, allocations: 322.8 kB / 222.2 MB, free: 5.863 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002346/0.2534, allocations: 76.88 kB / 222.3 MB, free: 5.785 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002944/0.2537, allocations: 146.3 kB / 222.4 MB, free: 5.621 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002877/0.254, allocations: 107 kB / 222.5 MB, free: 5.52 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.254, allocations: 0 / 222.5 MB, free: 5.52 MB / 186.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007299/0.2548, allocations: 289.2 kB / 222.8 MB, free: 5.23 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.2548, allocations: 8 kB / 222.8 MB, free: 5.223 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.2548, allocations: 0 / 222.8 MB, free: 5.223 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.381e-05/0.2549, allocations: 8.094 kB / 222.8 MB, free: 5.215 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000619/0.2555, allocations: 87.89 kB / 222.9 MB, free: 5.129 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.731e-05/0.2555, allocations: 4 kB / 222.9 MB, free: 5.125 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.2557, allocations: 15.89 kB / 222.9 MB, free: 5.109 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.163e-05/0.2558, allocations: 15.94 kB / 222.9 MB, free: 5.094 MB / 186.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.0001354/0.2559, allocations: 127.9 kB / 223.1 MB, free: 4.965 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.2561, allocations: 27.72 kB / 223.1 MB, free: 4.938 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.2562, allocations: 33.64 kB / 223.1 MB, free: 4.906 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.2562, allocations: 11.94 kB / 223.1 MB, free: 4.895 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.2562, allocations: 0 / 223.1 MB, free: 4.895 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.2562, allocations: 4 kB / 223.1 MB, free: 4.891 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002122/0.2584, allocations: 0.9999 MB / 224.1 MB, free: 3.805 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.2584, allocations: 8.062 kB / 224.2 MB, free: 3.797 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000682/0.2591, allocations: 79.89 kB / 224.2 MB, free: 3.719 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.367e-05/0.2591, allocations: 4 kB / 224.2 MB, free: 3.715 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.392e-05/0.2592, allocations: 12 kB / 224.3 MB, free: 3.703 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.659e-05/0.2592, allocations: 7.938 kB / 224.3 MB, free: 3.695 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.2592, allocations: 4 kB / 224.3 MB, free: 3.691 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.2605, allocations: 0.795 MB / 225.1 MB, free: 2.777 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.2606, allocations: 100.8 kB / 225.2 MB, free: 2.66 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.748e-05/0.2607, allocations: 12.06 kB / 225.2 MB, free: 2.648 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000314/0.261, allocations: 8 kB / 225.2 MB, free: 2.641 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.584e-05/0.2611, allocations: 35.86 kB / 225.2 MB, free: 2.605 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.218e-05/0.2611, allocations: 12 kB / 225.2 MB, free: 2.594 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001663/0.2613, allocations: 139.4 kB / 225.4 MB, free: 2.457 MB / 186.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.2613, allocations: 0 / 225.4 MB, free: 2.457 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.000581/0.2619, allocations: 64 kB / 225.4 MB, free: 2.395 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.001779/0.2637, allocations: 2.104 MB / 227.5 MB, free: 196 kB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0007021/0.2645, allocations: 235.9 kB / 227.8 MB, free: 15.96 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.2645, allocations: 0 / 227.8 MB, free: 15.96 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002923/0.2648, allocations: 123.8 kB / 227.9 MB, free: 15.84 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007425/0.2655, allocations: 59.12 kB / 227.9 MB, free: 15.79 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002228/0.2678, allocations: 0.8488 MB / 228.8 MB, free: 14.86 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004215/0.2682, allocations: 0.7646 MB / 229.5 MB, free: 14.07 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002319/0.2685, allocations: 87.41 kB / 229.6 MB, free: 13.99 MB / 202.7 MB Notification: Performance of SimCode: time 1.022e-06/0.2685, allocations: 0 / 229.6 MB, free: 13.99 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.643/2.911, allocations: 4.228 MB / 233.9 MB, free: 9.766 MB / 202.7 MB