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.0009396/0.0009395, allocations: 101.4 kB / 17.96 MB, free: 5.621 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.001262/0.001262, allocations: 176.1 kB / 18.86 MB, free: 4.777 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.919/1.919, allocations: 205.4 MB / 225 MB, free: 13.07 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.000586/0.000586, allocations: 14.97 kB / 282 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1354, allocations: 47.59 MB / 329.6 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002746/0.1382, allocations: 2.093 MB / 331.7 MB, free: 1.664 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004688/0.1387, allocations: 231.1 kB / 331.9 MB, free: 1.438 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.1388, allocations: 7.938 kB / 331.9 MB, free: 1.43 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.139, allocations: 35.77 kB / 332 MB, free: 1.395 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001445/0.1391, allocations: 71.39 kB / 332 MB, free: 1.324 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002115/0.1394, allocations: 47.95 kB / 332.1 MB, free: 1.277 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003451/0.1397, allocations: 278.7 kB / 332.4 MB, free: 1.004 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002362/0.14, allocations: 82.25 kB / 332.4 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.1401, allocations: 91.59 kB / 332.5 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/0.1402, allocations: 107.4 kB / 332.6 MB, free: 0.7305 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.051e-05/0.1403, allocations: 12 kB / 332.6 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.611e-05/0.1403, allocations: 12 kB / 332.7 MB, free: 0.707 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.822e-05/0.1404, allocations: 43.83 kB / 332.7 MB, free: 0.6641 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001465/0.1405, allocations: 149 kB / 332.8 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.1408, allocations: 207.7 kB / 333.1 MB, free: 316 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1408, allocations: 4 kB / 333.1 MB, free: 312 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.1408, allocations: 0 / 333.1 MB, free: 312 kB / 270.1 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.1408, allocations: 0 / 333.1 MB, free: 312 kB / 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.0008188/0.1416, allocations: 0.4991 MB / 333.6 MB, free: 15.75 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.1417, allocations: 12.03 kB / 333.6 MB, free: 15.74 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.855e-05/0.1418, allocations: 28.66 kB / 333.6 MB, free: 15.71 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003382/0.1421, allocations: 248.5 kB / 333.8 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.1422, allocations: 20.94 kB / 333.9 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.31e-05/0.1422, allocations: 24.38 kB / 333.9 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004176/0.1426, allocations: 244 kB / 334.1 MB, free: 15.13 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.1427, allocations: 192 / 334.1 MB, free: 15.13 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.781e-05/0.1427, allocations: 15.94 kB / 334.1 MB, free: 15.12 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.1427, allocations: 8 kB / 334.1 MB, free: 15.11 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002801/0.143, allocations: 163.8 kB / 334.3 MB, free: 14.95 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.1441, allocations: 0.8086 MB / 335.1 MB, free: 14.08 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005094/0.1447, allocations: 287.7 kB / 335.4 MB, free: 13.77 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002325/0.1449, allocations: 134.5 kB / 335.5 MB, free: 13.63 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.1449, allocations: 8 kB / 335.5 MB, free: 13.62 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.145, allocations: 38.48 kB / 335.6 MB, free: 13.58 MB / 286.1 MB Notification: Performance of pre-optimization done (n=33): time 1.443e-06/0.145, allocations: 0 / 335.6 MB, free: 13.58 MB / 286.1 MB Notification: Performance of matching and sorting (n=45): time 0.002742/0.1477, allocations: 1.939 MB / 337.5 MB, free: 11.38 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.197e-05/0.1478, allocations: 106.8 kB / 337.6 MB, free: 11.25 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.148, allocations: 190.6 kB / 337.8 MB, free: 11.04 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.1481, allocations: 29.7 kB / 337.8 MB, free: 11.01 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.938e-05/0.1482, allocations: 148.6 kB / 338 MB, free: 10.86 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.1483, allocations: 157.7 kB / 338.1 MB, free: 10.7 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.388e-05/0.1483, allocations: 45.7 kB / 338.2 MB, free: 10.65 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1485, allocations: 338.8 kB / 338.5 MB, free: 10.31 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.1487, allocations: 88.83 kB / 338.6 MB, free: 10.22 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.1489, allocations: 162.3 kB / 338.7 MB, free: 10.04 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004581/0.1493, allocations: 285.3 kB / 339 MB, free: 9.742 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1493, allocations: 0 / 339 MB, free: 9.742 MB / 286.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005847/0.1499, allocations: 337.9 kB / 339.4 MB, free: 9.406 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.15, allocations: 7.938 kB / 339.4 MB, free: 9.398 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.15, allocations: 4 kB / 339.4 MB, free: 9.395 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.15, allocations: 8 kB / 339.4 MB, free: 9.387 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003407/0.1504, allocations: 99.92 kB / 339.5 MB, free: 9.289 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.1504, allocations: 4 kB / 339.5 MB, free: 9.285 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.1505, allocations: 12 kB / 339.5 MB, free: 9.273 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.525e-05/0.1505, allocations: 16 kB / 339.5 MB, free: 9.258 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.0001661/0.1507, allocations: 149.7 kB / 339.6 MB, free: 9.102 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.1508, allocations: 35.56 kB / 339.7 MB, free: 9.066 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.15e-05/0.1509, allocations: 45.8 kB / 339.7 MB, free: 9.023 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.1509, allocations: 4 kB / 339.7 MB, free: 9.02 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.1509, allocations: 0 / 339.7 MB, free: 9.02 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.1509, allocations: 11.98 kB / 339.7 MB, free: 9.008 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001438/0.1524, allocations: 1.043 MB / 340.8 MB, free: 7.879 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.1524, allocations: 4.281 kB / 340.8 MB, free: 7.875 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003471/0.1528, allocations: 91.84 kB / 340.9 MB, free: 7.785 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/0.1528, allocations: 11.94 kB / 340.9 MB, free: 7.773 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/0.1528, allocations: 15.98 kB / 340.9 MB, free: 7.758 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-06/0.1528, allocations: 4 kB / 340.9 MB, free: 7.754 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.1528, allocations: 4 kB / 340.9 MB, free: 7.75 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008016/0.1536, allocations: 0.7208 MB / 341.6 MB, free: 6.984 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.37e-05/0.1537, allocations: 108.8 kB / 341.7 MB, free: 6.859 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.1e-05/0.1538, allocations: 19.94 kB / 341.8 MB, free: 6.84 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.154, allocations: 8 kB / 341.8 MB, free: 6.832 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.154, allocations: 27.97 kB / 341.8 MB, free: 6.805 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/0.1541, allocations: 19.98 kB / 341.8 MB, free: 6.785 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001178/0.1542, allocations: 132.2 kB / 341.9 MB, free: 6.656 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1542, allocations: 3.938 kB / 342 MB, free: 6.652 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004419/0.1546, allocations: 79.94 kB / 342 MB, free: 6.574 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.0001502/0.1548, allocations: 119.1 kB / 342.1 MB, free: 6.449 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004818/0.1553, allocations: 251.7 kB / 342.4 MB, free: 6.203 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1553, allocations: 0 / 342.4 MB, free: 6.203 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002196/0.1555, allocations: 148.5 kB / 342.5 MB, free: 6.059 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000784/0.1563, allocations: 68.31 kB / 342.6 MB, free: 5.992 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.158, allocations: 1.148 MB / 343.8 MB, free: 4.773 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004657/0.1585, allocations: 0.7723 MB / 344.5 MB, free: 3.973 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.95e-05/0.1586, allocations: 27.44 kB / 344.5 MB, free: 3.945 MB / 286.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1586, allocations: 4 kB / 344.6 MB, free: 3.941 MB / 286.1 MB Notification: Performance of Templates: time 0.006236/0.1648, allocations: 3.415 MB / 348 MB, free: 0.5273 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