Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator") translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 108.2 kB / 17.81 MB, free: 5.559 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.001546/0.001546, allocations: 197.9 kB / 18.73 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.884/1.884, allocations: 205.1 MB / 224.6 MB, free: 12.48 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 51.92 kB / 280.6 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1349, allocations: 46.62 MB / 327.2 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.006096/0.1411, allocations: 2.452 MB / 329.7 MB, free: 2.434 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001884/0.143, allocations: 0.6086 MB / 330.3 MB, free: 1.816 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002732/0.1434, allocations: 4 kB / 330.3 MB, free: 1.812 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002254/0.1436, allocations: 27.78 kB / 330.3 MB, free: 1.785 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001836/0.1438, allocations: 67.45 kB / 330.4 MB, free: 1.719 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003325/0.1442, allocations: 43.97 kB / 330.4 MB, free: 1.676 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003459/0.1445, allocations: 250.9 kB / 330.7 MB, free: 1.43 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002601/0.1448, allocations: 85.77 kB / 330.8 MB, free: 1.348 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001817/0.145, allocations: 95.58 kB / 330.9 MB, free: 1.254 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.1452, allocations: 99.55 kB / 331 MB, free: 1.156 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.753e-05/0.1452, allocations: 12 kB / 331 MB, free: 1.145 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.217e-05/0.1453, allocations: 16 kB / 331 MB, free: 1.129 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.202e-05/0.1453, allocations: 43.83 kB / 331 MB, free: 1.086 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.1455, allocations: 115.4 kB / 331.1 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.1458, allocations: 187.7 kB / 331.3 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.1458, allocations: 0 / 331.3 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.567e-06/0.1458, allocations: 0 / 331.3 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.1458, allocations: 3.938 kB / 331.3 MB, free: 0.7852 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009952/0.1468, allocations: 0.5146 MB / 331.8 MB, free: 224 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.913e-05/0.1469, allocations: 16.03 kB / 331.9 MB, free: 208 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.005e-05/0.1469, allocations: 24.66 kB / 331.9 MB, free: 184 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003457/0.1473, allocations: 240.6 kB / 332.1 MB, free: 15.91 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.1473, allocations: 16.81 kB / 332.1 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.167e-05/0.1474, allocations: 20.38 kB / 332.2 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004702/0.1479, allocations: 221.2 kB / 332.4 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.1479, allocations: 4 kB / 332.4 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.542e-05/0.1479, allocations: 8 kB / 332.4 MB, free: 15.63 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.1479, allocations: 8 kB / 332.4 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003405/0.1483, allocations: 143.9 kB / 332.5 MB, free: 15.48 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.1497, allocations: 0.7869 MB / 333.3 MB, free: 14.63 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005042/0.1502, allocations: 209 kB / 333.5 MB, free: 14.41 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002514/0.1505, allocations: 105.6 kB / 333.6 MB, free: 14.3 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.1505, allocations: 4 kB / 333.6 MB, free: 14.29 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.1506, allocations: 38.62 kB / 333.7 MB, free: 14.25 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.643e-06/0.1506, allocations: 4 kB / 333.7 MB, free: 14.24 MB / 286.1 MB Notification: Performance of matching and sorting (n=26): time 0.001856/0.1524, allocations: 0.8527 MB / 334.5 MB, free: 13.3 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.838e-05/0.1525, allocations: 81.11 kB / 334.6 MB, free: 13.2 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.1527, allocations: 186.1 kB / 334.8 MB, free: 13.01 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.1528, allocations: 29.7 kB / 334.8 MB, free: 12.97 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.1529, allocations: 140.4 kB / 335 MB, free: 12.83 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.898e-05/0.153, allocations: 90.64 kB / 335 MB, free: 12.74 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.939e-05/0.1531, allocations: 53.7 kB / 335.1 MB, free: 12.68 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.1533, allocations: 330.8 kB / 335.4 MB, free: 12.35 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.1534, allocations: 63.97 kB / 335.5 MB, free: 12.29 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.1536, allocations: 108.2 kB / 335.6 MB, free: 12.17 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003496/0.154, allocations: 188.1 kB / 335.8 MB, free: 11.97 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.154, allocations: 4 kB / 335.8 MB, free: 11.96 MB / 286.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.00045/0.1545, allocations: 237.3 kB / 336 MB, free: 11.73 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.1545, allocations: 11.44 kB / 336 MB, free: 11.72 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.1545, allocations: 0 / 336 MB, free: 11.72 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/0.1545, allocations: 7.938 kB / 336 MB, free: 11.71 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.1548, allocations: 59.91 kB / 336.1 MB, free: 11.65 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.1548, allocations: 4 kB / 336.1 MB, free: 11.65 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.155, allocations: 23.92 kB / 336.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.155, allocations: 8 kB / 336.1 MB, free: 11.62 MB / 286.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001514/0.1551, allocations: 142.2 kB / 336.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.297e-05/0.1552, allocations: 15.81 kB / 336.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.23e-05/0.1553, allocations: 29.86 kB / 336.3 MB, free: 11.42 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1553, allocations: 4 kB / 336.3 MB, free: 11.42 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.1553, allocations: 0 / 336.3 MB, free: 11.42 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.1553, allocations: 3.938 kB / 336.3 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009004/0.1562, allocations: 0.5942 MB / 336.9 MB, free: 10.75 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1563, allocations: 0 / 336.9 MB, free: 10.75 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002727/0.1565, allocations: 51.97 kB / 337 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.1566, allocations: 12.03 kB / 337 MB, free: 10.69 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.1566, allocations: 11.94 kB / 337 MB, free: 10.68 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.1566, allocations: 0 / 337 MB, free: 10.68 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.237e-06/0.1566, allocations: 11.94 kB / 337 MB, free: 10.67 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007931/0.1574, allocations: 489 kB / 337.5 MB, free: 10.16 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.613e-05/0.1575, allocations: 104.8 kB / 337.6 MB, free: 10.04 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.1576, allocations: 4 kB / 337.6 MB, free: 10.04 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.1577, allocations: 12.03 kB / 337.6 MB, free: 10.03 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.722e-05/0.1578, allocations: 19.92 kB / 337.6 MB, free: 10.01 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.1578, allocations: 4 kB / 337.6 MB, free: 10 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001039/0.1579, allocations: 140.3 kB / 337.7 MB, free: 9.867 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1579, allocations: 0 / 337.7 MB, free: 9.867 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003318/0.1583, allocations: 52 kB / 337.8 MB, free: 9.816 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (damper1.s_rel,damper1.v_rel,mass1.s,mass1.v) * 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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001684/0.1584, allocations: 103.2 kB / 337.9 MB, free: 9.707 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004002/0.1589, allocations: 172 kB / 338.1 MB, free: 9.539 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.1589, allocations: 4 kB / 338.1 MB, free: 9.535 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000171/0.159, allocations: 100.8 kB / 338.2 MB, free: 9.438 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006094/0.1597, allocations: 31.98 kB / 338.2 MB, free: 9.406 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.161, allocations: 0.7969 MB / 339 MB, free: 8.566 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.1614, allocations: 0.7598 MB / 339.8 MB, free: 7.781 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.35e-05/0.1614, allocations: 27.38 kB / 339.8 MB, free: 7.754 MB / 286.1 MB Notification: Performance of SimCode: time 8.72e-07/0.1615, allocations: 0 / 339.8 MB, free: 7.754 MB / 286.1 MB Notification: Performance of Templates: time 0.00558/0.167, allocations: 2.597 MB / 342.4 MB, free: 5.148 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.OscillatorCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.OscillatorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.OscillatorCalcHelperMain.o] Error 1