Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 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.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_3.2.3_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_3.2.3_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.001146/0.001146, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001305/0.001305, allocations: 194 kB / 18.72 MB, free: 4.762 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.747/1.747, allocations: 205.1 MB / 224.6 MB, free: 12.41 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.001384/0.001384, allocations: 51.92 kB / 280.6 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1465, allocations: 46.63 MB / 327.2 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.004486/0.1511, allocations: 2.455 MB / 329.7 MB, free: 2.418 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005003/0.1516, allocations: 231.1 kB / 329.9 MB, free: 2.191 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.1518, allocations: 12 kB / 329.9 MB, free: 2.18 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001997/0.152, allocations: 31.7 kB / 330 MB, free: 2.148 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001552/0.1521, allocations: 67.45 kB / 330 MB, free: 2.082 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.1523, allocations: 43.91 kB / 330.1 MB, free: 2.039 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003131/0.1527, allocations: 282.6 kB / 330.4 MB, free: 1.762 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002533/0.1529, allocations: 90.23 kB / 330.4 MB, free: 1.676 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.153, allocations: 99.59 kB / 330.5 MB, free: 1.578 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.1532, allocations: 111.5 kB / 330.7 MB, free: 1.469 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.66e-05/0.1533, allocations: 16 kB / 330.7 MB, free: 1.453 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.087e-05/0.1533, allocations: 12 kB / 330.7 MB, free: 1.441 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.868e-05/0.1534, allocations: 47.83 kB / 330.7 MB, free: 1.395 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.1536, allocations: 131.3 kB / 330.9 MB, free: 1.266 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002984/0.1539, allocations: 211.7 kB / 331.1 MB, free: 1.059 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.1539, allocations: 7.984 kB / 331.1 MB, free: 1.051 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1539, allocations: 0 / 331.1 MB, free: 1.051 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.226e-06/0.1539, allocations: 0 / 331.1 MB, free: 1.051 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0009536/0.1549, allocations: 0.5342 MB / 331.6 MB, free: 476 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/0.1549, allocations: 12.03 kB / 331.6 MB, free: 464 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.085e-05/0.155, allocations: 24.66 kB / 331.6 MB, free: 440 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003885/0.1554, allocations: 256.4 kB / 331.9 MB, free: 140 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.467e-05/0.1555, allocations: 16.94 kB / 331.9 MB, free: 124 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.274e-05/0.1556, allocations: 28.31 kB / 331.9 MB, free: 96 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005306/0.1561, allocations: 240 kB / 332.2 MB, free: 15.84 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.1561, allocations: 4.094 kB / 332.2 MB, free: 15.84 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.878e-05/0.1562, allocations: 15.94 kB / 332.2 MB, free: 15.82 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.1562, allocations: 11.94 kB / 332.2 MB, free: 15.81 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002914/0.1565, allocations: 155.9 kB / 332.4 MB, free: 15.66 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.1577, allocations: 0.8008 MB / 333.2 MB, free: 14.8 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005403/0.1582, allocations: 287.7 kB / 333.4 MB, free: 14.49 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002582/0.1585, allocations: 134.5 kB / 333.6 MB, free: 14.35 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.1585, allocations: 4 kB / 333.6 MB, free: 14.35 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.1586, allocations: 38.56 kB / 333.6 MB, free: 14.3 MB / 286.1 MB Notification: Performance of pre-optimization done (n=33): time 1.432e-06/0.1586, allocations: 0 / 333.6 MB, free: 14.3 MB / 286.1 MB Notification: Performance of matching and sorting (n=45): time 0.002817/0.1614, allocations: 1.946 MB / 335.6 MB, free: 12.09 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.691e-05/0.1615, allocations: 110.8 kB / 335.7 MB, free: 11.96 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.1617, allocations: 182.6 kB / 335.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.1617, allocations: 37.7 kB / 335.9 MB, free: 11.72 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.1618, allocations: 140.6 kB / 336 MB, free: 11.58 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.162, allocations: 165.9 kB / 336.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.1621, allocations: 70.14 kB / 336.2 MB, free: 11.34 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.1623, allocations: 338.8 kB / 336.6 MB, free: 11 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.1624, allocations: 100.8 kB / 336.7 MB, free: 10.9 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.1626, allocations: 150.3 kB / 336.8 MB, free: 10.73 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004229/0.1631, allocations: 282.1 kB / 337.1 MB, free: 10.43 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1631, allocations: 0 / 337.1 MB, free: 10.43 MB / 286.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004947/0.1636, allocations: 337 kB / 337.4 MB, free: 10.1 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.1636, allocations: 15.06 kB / 337.4 MB, free: 10.09 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1636, allocations: 0 / 337.4 MB, free: 10.09 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.1637, allocations: 4 kB / 337.4 MB, free: 10.08 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003288/0.164, allocations: 99.83 kB / 337.5 MB, free: 9.984 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.164, allocations: 8.094 kB / 337.5 MB, free: 9.977 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.1641, allocations: 8 kB / 337.6 MB, free: 9.969 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/0.1642, allocations: 16 kB / 337.6 MB, free: 9.953 MB / 286.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001584/0.1643, allocations: 145.7 kB / 337.7 MB, free: 9.801 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.764e-05/0.1644, allocations: 35.66 kB / 337.7 MB, free: 9.766 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.239e-05/0.1645, allocations: 37.86 kB / 337.8 MB, free: 9.73 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.309e-06/0.1645, allocations: 4 kB / 337.8 MB, free: 9.727 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.1645, allocations: 4 kB / 337.8 MB, free: 9.723 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.1646, allocations: 11.98 kB / 337.8 MB, free: 9.711 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001458/0.166, allocations: 1.058 MB / 338.9 MB, free: 8.566 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.166, allocations: 4 kB / 338.9 MB, free: 8.562 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003508/0.1664, allocations: 80.19 kB / 338.9 MB, free: 8.484 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/0.1664, allocations: 15.94 kB / 339 MB, free: 8.469 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.929e-05/0.1664, allocations: 15.98 kB / 339 MB, free: 8.453 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.1665, allocations: 7.938 kB / 339 MB, free: 8.445 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.1665, allocations: 4 kB / 339 MB, free: 8.441 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008375/0.1673, allocations: 0.7169 MB / 339.7 MB, free: 7.684 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.493e-05/0.1674, allocations: 104.8 kB / 339.8 MB, free: 7.562 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.247e-05/0.1674, allocations: 20 kB / 339.8 MB, free: 7.543 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.1677, allocations: 8 kB / 339.8 MB, free: 7.535 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.945e-05/0.1677, allocations: 31.91 kB / 339.9 MB, free: 7.504 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.1677, allocations: 19.98 kB / 339.9 MB, free: 7.484 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001285/0.1679, allocations: 132.2 kB / 340 MB, free: 7.355 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1679, allocations: 3.938 kB / 340 MB, free: 7.352 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004204/0.1683, allocations: 75.94 kB / 340.1 MB, free: 7.277 MB / 286.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 (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.0001703/0.1685, allocations: 119.3 kB / 340.2 MB, free: 7.152 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000437/0.1689, allocations: 263.5 kB / 340.5 MB, free: 6.895 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.169, allocations: 0 / 340.5 MB, free: 6.895 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001916/0.1692, allocations: 144.4 kB / 340.6 MB, free: 6.754 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008208/0.17, allocations: 61.36 kB / 340.7 MB, free: 6.695 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.1718, allocations: 1.053 MB / 341.7 MB, free: 5.57 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004522/0.1722, allocations: 0.7761 MB / 342.5 MB, free: 4.766 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.587e-05/0.1723, allocations: 31.44 kB / 342.5 MB, free: 4.734 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1723, allocations: 0 / 342.5 MB, free: 4.734 MB / 286.1 MB Notification: Performance of Templates: time 0.005775/0.1781, allocations: 3.446 MB / 346 MB, free: 1.285 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.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.DamperCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.DamperCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.DamperCalcHelperMain.o] Error 1