Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.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.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention") translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009016/0.0009016, allocations: 92.33 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.001103/0.001103, allocations: 183.7 kB / 18.86 MB, free: 4.766 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.878/1.878, allocations: 205.4 MB / 225 MB, free: 13 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.000522/0.000522, allocations: 12 kB / 282 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1336, allocations: 47.59 MB / 329.6 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002529/0.1362, allocations: 1.788 MB / 331.4 MB, free: 1.961 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003615/0.1366, allocations: 167.4 kB / 331.6 MB, free: 1.797 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.1367, allocations: 4 kB / 331.6 MB, free: 1.793 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.1368, allocations: 15.84 kB / 331.6 MB, free: 1.777 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.83e-05/0.1369, allocations: 47.62 kB / 331.6 MB, free: 1.73 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001606/0.1371, allocations: 31.97 kB / 331.7 MB, free: 1.699 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002492/0.1374, allocations: 175.2 kB / 331.8 MB, free: 1.527 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.1375, allocations: 50.16 kB / 331.9 MB, free: 1.473 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.413e-05/0.1376, allocations: 51.8 kB / 331.9 MB, free: 1.422 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.1377, allocations: 67.64 kB / 332 MB, free: 1.355 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.598e-05/0.1378, allocations: 8 kB / 332 MB, free: 1.348 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.492e-05/0.1378, allocations: 8 kB / 332 MB, free: 1.34 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.594e-05/0.1379, allocations: 27.91 kB / 332 MB, free: 1.312 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.754e-05/0.138, allocations: 105.2 kB / 332.1 MB, free: 1.203 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.1381, allocations: 127.9 kB / 332.3 MB, free: 1.078 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1382, allocations: 0 / 332.3 MB, free: 1.078 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1382, allocations: 0 / 332.3 MB, free: 1.078 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.1382, allocations: 0 / 332.3 MB, free: 1.078 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006167/0.1388, allocations: 442.7 kB / 332.7 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.1389, allocations: 12.03 kB / 332.7 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.836e-05/0.1389, allocations: 16.75 kB / 332.7 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.1392, allocations: 219.7 kB / 332.9 MB, free: 328 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.1392, allocations: 16.38 kB / 333 MB, free: 312 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.1392, allocations: 16.38 kB / 333 MB, free: 296 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003528/0.1396, allocations: 190.2 kB / 333.2 MB, free: 84 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.893e-05/0.1396, allocations: 15.84 kB / 333.2 MB, free: 68 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.1397, allocations: 4 kB / 333.2 MB, free: 64 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.1397, allocations: 7.938 kB / 333.2 MB, free: 56 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002011/0.1399, allocations: 103.9 kB / 333.3 MB, free: 15.95 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00142/0.1413, allocations: 0.9545 MB / 334.2 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.1415, allocations: 107.7 kB / 334.3 MB, free: 14.78 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.586e-05/0.1416, allocations: 42.75 kB / 334.4 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.1416, allocations: 0 / 334.4 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.1416, allocations: 34.56 kB / 334.4 MB, free: 14.69 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 3.747e-06/0.1416, allocations: 3.984 kB / 334.4 MB, free: 14.68 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003094/0.1419, allocations: 133.3 kB / 334.6 MB, free: 14.55 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.969e-05/0.142, allocations: 106.8 kB / 334.7 MB, free: 14.42 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.1423, allocations: 203.8 kB / 334.9 MB, free: 14.21 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.1423, allocations: 25.7 kB / 334.9 MB, free: 14.18 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.1424, allocations: 143.8 kB / 335 MB, free: 14.03 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.041e-05/0.1424, allocations: 47.27 kB / 335.1 MB, free: 13.98 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-05/0.1425, allocations: 25.7 kB / 335.1 MB, free: 13.95 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.1426, allocations: 334.8 kB / 335.4 MB, free: 13.62 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.048e-05/0.1427, allocations: 40.45 kB / 335.5 MB, free: 13.58 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.1429, allocations: 142.6 kB / 335.6 MB, free: 13.39 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002476/0.1431, allocations: 209.5 kB / 335.8 MB, free: 13.14 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1431, allocations: 0 / 335.8 MB, free: 13.14 MB / 286.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003003/0.1434, allocations: 213.1 kB / 336 MB, free: 12.92 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.074e-05/0.1435, allocations: 8 kB / 336 MB, free: 12.91 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.1435, allocations: 4 kB / 336 MB, free: 12.91 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.1435, allocations: 4 kB / 336 MB, free: 12.91 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.1437, allocations: 52.33 kB / 336.1 MB, free: 12.86 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.1437, allocations: 7.938 kB / 336.1 MB, free: 12.85 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.1438, allocations: 31.62 kB / 336.1 MB, free: 12.82 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.1439, allocations: 12.7 kB / 336.1 MB, free: 12.8 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (28): * Single equations (assignments): 28 * 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.0001574/0.144, allocations: 141.7 kB / 336.3 MB, free: 12.66 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.576e-05/0.1441, allocations: 15.81 kB / 336.3 MB, free: 12.64 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.033e-05/0.1441, allocations: 16.94 kB / 336.3 MB, free: 12.62 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.1442, allocations: 4 kB / 336.3 MB, free: 12.62 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1442, allocations: 0 / 336.3 MB, free: 12.62 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.1442, allocations: 7.922 kB / 336.3 MB, free: 12.61 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004304/0.1446, allocations: 237.6 kB / 336.5 MB, free: 12.33 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.1446, allocations: 3.984 kB / 336.5 MB, free: 12.32 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.1448, allocations: 31.92 kB / 336.6 MB, free: 12.29 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1448, allocations: 0 / 336.6 MB, free: 12.29 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.1448, allocations: 11.98 kB / 336.6 MB, free: 12.28 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1448, allocations: 0 / 336.6 MB, free: 12.28 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1448, allocations: 0 / 336.6 MB, free: 12.28 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003536/0.1452, allocations: 389.7 kB / 337 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.083e-05/0.1453, allocations: 100.8 kB / 337.1 MB, free: 11.77 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/0.1453, allocations: 8.062 kB / 337.1 MB, free: 11.76 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.1455, allocations: 0 / 337.1 MB, free: 11.76 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/0.1455, allocations: 19.86 kB / 337.1 MB, free: 11.74 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.1455, allocations: 4 kB / 337.1 MB, free: 11.73 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001209/0.1456, allocations: 145.5 kB / 337.2 MB, free: 11.59 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1457, allocations: 0 / 337.2 MB, free: 11.59 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003501/0.146, allocations: 36 kB / 337.3 MB, free: 11.56 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.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 (12): * Single equations (assignments): 12 * 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.0001451/0.1462, allocations: 104.2 kB / 337.4 MB, free: 11.45 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002122/0.1464, allocations: 103.8 kB / 337.5 MB, free: 11.35 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1464, allocations: 0 / 337.5 MB, free: 11.35 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.099e-05/0.1464, allocations: 40.73 kB / 337.5 MB, free: 11.31 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005635/0.147, allocations: 27.98 kB / 337.6 MB, free: 11.28 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.1482, allocations: 0.7948 MB / 338.3 MB, free: 10.45 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005104/0.1487, allocations: 0.7284 MB / 339.1 MB, free: 9.691 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.142e-05/0.1488, allocations: 15.44 kB / 339.1 MB, free: 9.676 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1488, allocations: 0 / 339.1 MB, free: 9.676 MB / 286.1 MB Notification: Performance of Templates: time 0.004096/0.1529, allocations: 1.958 MB / 341 MB, free: 7.715 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.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.SignConventionCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConventionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConventionCalcHelperMain.o] Error 1