Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001358/0.001365, allocations: 91.36 kB / 16.95 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001985/0.001985, allocations: 179.5 kB / 17.84 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.632/1.632, allocations: 223.3 MB / 241.9 MB, free: 14.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004025/0.0004026, allocations: 4 kB / 301.5 MB, free: 6.227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1805, allocations: 50.41 MB / 351.9 MB, free: 3.805 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003483/0.184, allocations: 2.019 MB / 353.9 MB, free: 1.773 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007988/0.1849, allocations: 239.1 kB / 354.1 MB, free: 1.539 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002423/0.1852, allocations: 11.94 kB / 354.1 MB, free: 1.527 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001932/0.1854, allocations: 31.77 kB / 354.2 MB, free: 1.496 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002574/0.1856, allocations: 67.39 kB / 354.2 MB, free: 1.43 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.1859, allocations: 43.95 kB / 354.3 MB, free: 1.387 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004009/0.1863, allocations: 266.7 kB / 354.5 MB, free: 1.125 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000237/0.1865, allocations: 73.69 kB / 354.6 MB, free: 1.051 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002977/0.1868, allocations: 91.64 kB / 354.7 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.1871, allocations: 103.5 kB / 354.8 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.219e-05/0.1871, allocations: 12 kB / 354.8 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.841e-05/0.1872, allocations: 12 kB / 354.8 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.019e-05/0.1872, allocations: 43.83 kB / 354.9 MB, free: 0.793 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.305e-05/0.1873, allocations: 69.58 kB / 354.9 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002567/0.1876, allocations: 207.7 kB / 355.1 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1876, allocations: 0 / 355.1 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.1876, allocations: 0 / 355.1 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.545e-05/0.1877, allocations: 4 kB / 355.1 MB, free: 0.5117 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0009093/0.1886, allocations: 0.5106 MB / 355.6 MB, free: 15.95 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/0.1887, allocations: 8.031 kB / 355.7 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.1888, allocations: 31.62 kB / 355.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003921/0.1892, allocations: 232.3 kB / 355.9 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.453e-05/0.1892, allocations: 20.56 kB / 355.9 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.375e-05/0.1893, allocations: 24 kB / 356 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004927/0.1898, allocations: 239.4 kB / 356.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.139e-05/0.1898, allocations: 7.906 kB / 356.2 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.289e-05/0.1899, allocations: 15.95 kB / 356.2 MB, free: 15.33 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.92e-05/0.1899, allocations: 11.98 kB / 356.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003226/0.1902, allocations: 155.8 kB / 356.4 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001395/0.1916, allocations: 0.8049 MB / 357.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005645/0.1922, allocations: 287.7 kB / 357.5 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002596/0.1925, allocations: 138.5 kB / 357.6 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.1925, allocations: 11.92 kB / 357.6 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.1926, allocations: 34.8 kB / 357.6 MB, free: 13.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.693e-06/0.1926, allocations: 0 / 357.6 MB, free: 13.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.003179/0.1958, allocations: 1.943 MB / 359.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.09e-05/0.1959, allocations: 110.8 kB / 359.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.1961, allocations: 194.5 kB / 359.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.1961, allocations: 29.7 kB / 359.9 MB, free: 11.22 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.1962, allocations: 132.8 kB / 360 MB, free: 11.08 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.1964, allocations: 165.6 kB / 360.2 MB, free: 10.92 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.972e-05/0.1964, allocations: 16 kB / 360.2 MB, free: 10.9 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.1966, allocations: 334.8 kB / 360.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.1967, allocations: 92.83 kB / 360.6 MB, free: 10.47 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.1969, allocations: 150.3 kB / 360.8 MB, free: 10.31 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002163/0.1972, allocations: 125.2 kB / 360.9 MB, free: 10.19 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.1972, allocations: 0 / 360.9 MB, free: 10.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006116/0.1978, allocations: 333 kB / 361.2 MB, free: 9.859 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.942e-05/0.1979, allocations: 11.95 kB / 361.2 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.1979, allocations: 3.984 kB / 361.2 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.94e-05/0.1979, allocations: 4 kB / 361.2 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003737/0.1983, allocations: 92.78 kB / 361.3 MB, free: 9.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.922e-05/0.1983, allocations: 4.094 kB / 361.3 MB, free: 9.746 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.1985, allocations: 16 kB / 361.4 MB, free: 9.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.225e-05/0.1985, allocations: 12 kB / 361.4 MB, free: 9.719 MB / 302.1 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 (54): * Single equations (assignments): 54 * 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.0002266/0.1988, allocations: 157.7 kB / 361.5 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.1989, allocations: 27.62 kB / 361.6 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.199, allocations: 37.83 kB / 361.6 MB, free: 9.496 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.199, allocations: 8 kB / 361.6 MB, free: 9.488 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/0.199, allocations: 0 / 361.6 MB, free: 9.488 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.516e-05/0.199, allocations: 3.984 kB / 361.6 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002146/0.2012, allocations: 1.058 MB / 362.7 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/0.2012, allocations: 4 kB / 362.7 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003602/0.2016, allocations: 92.11 kB / 362.8 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.275e-05/0.2016, allocations: 12 kB / 362.8 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/0.2017, allocations: 8 kB / 362.8 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.75e-06/0.2017, allocations: 4 kB / 362.8 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.2017, allocations: 7.953 kB / 362.8 MB, free: 8.215 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008537/0.2025, allocations: 0.7171 MB / 363.5 MB, free: 7.453 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.038e-05/0.2026, allocations: 100.9 kB / 363.6 MB, free: 7.336 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.321e-05/0.2027, allocations: 12 kB / 363.6 MB, free: 7.324 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.2029, allocations: 15.92 kB / 363.6 MB, free: 7.309 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.02e-05/0.203, allocations: 35.92 kB / 363.7 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/0.203, allocations: 12 kB / 363.7 MB, free: 7.262 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001191/0.2031, allocations: 131.2 kB / 363.8 MB, free: 7.133 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2031, allocations: 4 kB / 363.8 MB, free: 7.129 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004662/0.2036, allocations: 76 kB / 363.9 MB, free: 7.055 MB / 302.1 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,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.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 (45): * Single equations (assignments): 45 * 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.0001567/0.2038, allocations: 116.2 kB / 364 MB, free: 6.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004572/0.2042, allocations: 259.7 kB / 364.2 MB, free: 6.676 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.2042, allocations: 0 / 364.2 MB, free: 6.676 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002081/0.2044, allocations: 143.4 kB / 364.4 MB, free: 6.539 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007161/0.2052, allocations: 72.38 kB / 364.5 MB, free: 6.469 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.2068, allocations: 1.129 MB / 365.6 MB, free: 5.273 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000483/0.2073, allocations: 0.7647 MB / 366.4 MB, free: 4.48 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.366e-05/0.2074, allocations: 27.44 kB / 366.4 MB, free: 4.453 MB / 302.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2075, allocations: 3.938 kB / 366.4 MB, free: 4.449 MB / 302.1 MB Notification: Performance of Templates: time 0.006081/0.2135, allocations: 3.411 MB / 369.8 MB, free: 1.047 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.makefile make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Mechanics.Translational.Examples.DamperCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.Translational.Examples.DamperCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.Translational.Examples.DamperCalcHelperMain.o] Error 1