Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.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.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate") translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 98.08 kB / 17.96 MB, free: 5.77 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.001249/0.001249, allocations: 178 kB / 18.86 MB, free: 4.906 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.874/1.874, allocations: 205.4 MB / 225 MB, free: 13.08 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.0005687/0.0005688, allocations: 11.98 kB / 282 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1366, allocations: 47.58 MB / 329.6 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002622/0.1393, allocations: 1.34 MB / 330.9 MB, free: 2.418 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004197/0.1398, allocations: 79.7 kB / 331 MB, free: 2.34 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.1399, allocations: 4 kB / 331 MB, free: 2.336 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001361/0.1401, allocations: 7.922 kB / 331 MB, free: 2.328 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.752e-05/0.1402, allocations: 15.86 kB / 331 MB, free: 2.312 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001882/0.1404, allocations: 11.98 kB / 331.1 MB, free: 2.301 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.1406, allocations: 59.73 kB / 331.1 MB, free: 2.242 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.1408, allocations: 19.98 kB / 331.1 MB, free: 2.223 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.573e-05/0.1408, allocations: 15.94 kB / 331.2 MB, free: 2.207 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.651e-05/0.1409, allocations: 27.84 kB / 331.2 MB, free: 2.18 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.141, allocations: 4 kB / 331.2 MB, free: 2.176 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.998e-05/0.141, allocations: 4 kB / 331.2 MB, free: 2.172 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.481e-05/0.141, allocations: 11.92 kB / 331.2 MB, free: 2.16 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.299e-05/0.1411, allocations: 53.58 kB / 331.3 MB, free: 2.102 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.1412, allocations: 52.11 kB / 331.3 MB, free: 2.051 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1413, allocations: 0 / 331.3 MB, free: 2.051 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.028e-06/0.1413, allocations: 0 / 331.3 MB, free: 2.051 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.774e-06/0.1413, allocations: 0 / 331.3 MB, free: 2.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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000592/0.1419, allocations: 351.4 kB / 331.6 MB, free: 1.656 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.015e-05/0.142, allocations: 12.03 kB / 331.7 MB, free: 1.645 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.711e-05/0.142, allocations: 8.844 kB / 331.7 MB, free: 1.637 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.1423, allocations: 180.2 kB / 331.8 MB, free: 1.422 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.1423, allocations: 8.375 kB / 331.9 MB, free: 1.414 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.762e-05/0.1423, allocations: 8.281 kB / 331.9 MB, free: 1.406 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.1425, allocations: 70.23 kB / 331.9 MB, free: 1.332 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.1426, allocations: 192 / 331.9 MB, free: 1.332 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.1426, allocations: 7.938 kB / 331.9 MB, free: 1.324 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.1426, allocations: 7.938 kB / 331.9 MB, free: 1.316 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.383e-05/0.1427, allocations: 31.97 kB / 332 MB, free: 1.285 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008008/0.1435, allocations: 383.6 kB / 332.3 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.1436, allocations: 54.56 kB / 332.4 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.001e-05/0.1437, allocations: 28.78 kB / 332.4 MB, free: 0.7578 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.1437, allocations: 7.938 kB / 332.4 MB, free: 0.75 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.1437, allocations: 34.56 kB / 332.5 MB, free: 0.707 MB / 270.1 MB Notification: Performance of pre-optimization done (n=7): time 1.823e-06/0.1438, allocations: 0 / 332.5 MB, free: 0.707 MB / 270.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008962/0.1447, allocations: 0.5091 MB / 333 MB, free: 108 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/0.1447, allocations: 55.41 kB / 333 MB, free: 40 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.1449, allocations: 117.8 kB / 333.2 MB, free: 15.91 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.1449, allocations: 25.7 kB / 333.2 MB, free: 15.88 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.632e-05/0.145, allocations: 99.94 kB / 333.3 MB, free: 15.78 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.145, allocations: 35.48 kB / 333.3 MB, free: 15.75 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.979e-05/0.1451, allocations: 21.7 kB / 333.3 MB, free: 15.72 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.1452, allocations: 314.8 kB / 333.6 MB, free: 15.4 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.767e-05/0.1452, allocations: 19.98 kB / 333.7 MB, free: 15.38 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.732e-05/0.1453, allocations: 65.14 kB / 333.7 MB, free: 15.3 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.1454, allocations: 81.03 kB / 333.8 MB, free: 15.2 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1454, allocations: 4 kB / 333.8 MB, free: 15.2 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001865/0.1456, allocations: 113.4 kB / 333.9 MB, free: 15.08 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.1457, allocations: 10.66 kB / 333.9 MB, free: 15.07 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.1457, allocations: 0 / 333.9 MB, free: 15.07 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.1457, allocations: 4.469 kB / 333.9 MB, free: 15.07 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.507e-05/0.1458, allocations: 19.98 kB / 333.9 MB, free: 15.05 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.1458, allocations: 11.88 kB / 334 MB, free: 15.04 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.334e-05/0.1459, allocations: 0 / 334 MB, free: 15.04 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.261e-06/0.1459, allocations: 4 kB / 334 MB, free: 15.04 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (13): * Single equations (assignments): 13 * 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.0001074/0.146, allocations: 129.9 kB / 334.1 MB, free: 14.9 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.232e-05/0.146, allocations: 3.906 kB / 334.1 MB, free: 14.89 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.727e-05/0.1461, allocations: 12.38 kB / 334.1 MB, free: 14.88 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1461, allocations: 0 / 334.1 MB, free: 14.88 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/0.1461, allocations: 3.938 kB / 334.1 MB, free: 14.88 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.1461, allocations: 4.125 kB / 334.1 MB, free: 14.88 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006461/0.1468, allocations: 410.6 kB / 334.5 MB, free: 14.4 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1468, allocations: 0 / 334.5 MB, free: 14.4 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.924e-05/0.1469, allocations: 19.98 kB / 334.5 MB, free: 14.38 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.1469, allocations: 4 kB / 334.5 MB, free: 14.38 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/0.1469, allocations: 0 / 334.5 MB, free: 14.38 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.1469, allocations: 7.938 kB / 334.5 MB, free: 14.37 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.1469, allocations: 0 / 334.5 MB, free: 14.37 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003061/0.1473, allocations: 235.7 kB / 334.8 MB, free: 14.11 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.996e-05/0.1473, allocations: 93.03 kB / 334.9 MB, free: 14 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.1474, allocations: 4 kB / 334.9 MB, free: 14 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.522e-05/0.1474, allocations: 0 / 334.9 MB, free: 14 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.235e-05/0.1475, allocations: 12.06 kB / 334.9 MB, free: 13.98 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.1475, allocations: 4 kB / 334.9 MB, free: 13.98 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.541e-05/0.1475, allocations: 91.27 kB / 335 MB, free: 13.89 MB / 286.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1475, allocations: 0 / 335 MB, free: 13.89 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002629/0.1478, allocations: 20 kB / 335 MB, free: 13.87 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (accelerate.s,accelerate.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 (9): * Single equations (assignments): 9 * 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.0001182/0.1479, allocations: 95.19 kB / 335.1 MB, free: 13.77 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001631/0.1481, allocations: 67.84 kB / 335.2 MB, free: 13.7 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.1481, allocations: 0 / 335.2 MB, free: 13.7 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.947e-05/0.1482, allocations: 24.31 kB / 335.2 MB, free: 13.68 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.1485, allocations: 19.92 kB / 335.2 MB, free: 13.66 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007139/0.1493, allocations: 435.6 kB / 335.6 MB, free: 13.18 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.1496, allocations: 0.6926 MB / 336.3 MB, free: 12.46 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.84e-05/0.1497, allocations: 15.44 kB / 336.3 MB, free: 12.45 MB / 286.1 MB Notification: Performance of SimCode: time 1.072e-06/0.1497, allocations: 4 kB / 336.3 MB, free: 12.45 MB / 286.1 MB Notification: Performance of Templates: time 0.003399/0.1531, allocations: 0.9655 MB / 337.3 MB, free: 11.48 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.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.AccelerateCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.AccelerateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.AccelerateCalcHelperMain.o] Error 1