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.001517/0.001517, allocations: 107.8 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.001602/0.001602, 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.863/1.863, 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.0014/0.0014, allocations: 51.92 kB / 280.6 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.13, allocations: 46.62 MB / 327.2 MB, free: 4.91 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.004414/0.1345, allocations: 2.147 MB / 329.4 MB, free: 2.742 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007499/0.1353, allocations: 159.4 kB / 329.5 MB, free: 2.586 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003064/0.1357, allocations: 7.938 kB / 329.6 MB, free: 2.578 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002466/0.1359, allocations: 19.84 kB / 329.6 MB, free: 2.559 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001909/0.1361, allocations: 35.69 kB / 329.6 MB, free: 2.523 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002737/0.1364, allocations: 39.91 kB / 329.6 MB, free: 2.484 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000365/0.1368, allocations: 171.2 kB / 329.8 MB, free: 2.316 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001917/0.137, allocations: 54.16 kB / 329.9 MB, free: 2.262 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.1371, allocations: 55.8 kB / 329.9 MB, free: 2.207 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.1373, allocations: 63.64 kB / 330 MB, free: 2.145 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.607e-05/0.1373, allocations: 12 kB / 330 MB, free: 2.133 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.101e-05/0.1373, allocations: 8 kB / 330 MB, free: 2.125 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.416e-05/0.1374, allocations: 39.83 kB / 330 MB, free: 2.086 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.929e-05/0.1375, allocations: 75.61 kB / 330.1 MB, free: 2.012 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.1377, allocations: 135.9 kB / 330.2 MB, free: 1.879 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.1378, allocations: 0 / 330.2 MB, free: 1.879 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1378, allocations: 0 / 330.2 MB, free: 1.879 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.1378, allocations: 3.938 kB / 330.3 MB, free: 1.875 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.000832/0.1386, allocations: 470.6 kB / 330.7 MB, free: 1.367 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.1387, allocations: 8.031 kB / 330.7 MB, free: 1.359 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.12e-05/0.1388, allocations: 20.75 kB / 330.7 MB, free: 1.34 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003042/0.1391, allocations: 226 kB / 331 MB, free: 1.082 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.1391, allocations: 12.38 kB / 331 MB, free: 1.07 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.329e-05/0.1392, allocations: 20.38 kB / 331 MB, free: 1.051 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003415/0.1395, allocations: 182.2 kB / 331.2 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.1395, allocations: 15.88 kB / 331.2 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.1396, allocations: 4 kB / 331.2 MB, free: 0.832 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.1396, allocations: 8 kB / 331.2 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002009/0.1398, allocations: 99.88 kB / 331.3 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.1413, allocations: 0.9507 MB / 332.2 MB, free: 15.69 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.1414, allocations: 103.8 kB / 332.3 MB, free: 15.56 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.071e-05/0.1415, allocations: 38.52 kB / 332.4 MB, free: 15.52 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.1415, allocations: 4 kB / 332.4 MB, free: 15.51 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.1416, allocations: 46.56 kB / 332.4 MB, free: 15.46 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 2.154e-06/0.1416, allocations: 0 / 332.4 MB, free: 15.46 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003792/0.142, allocations: 125.8 kB / 332.6 MB, free: 15.33 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.787e-05/0.142, allocations: 114.8 kB / 332.7 MB, free: 15.19 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/0.1423, allocations: 203.8 kB / 332.9 MB, free: 14.98 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.1423, allocations: 29.7 kB / 332.9 MB, free: 14.95 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.1425, allocations: 139.9 kB / 333 MB, free: 14.8 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.651e-05/0.1426, allocations: 47.34 kB / 333.1 MB, free: 14.76 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.77e-05/0.1427, allocations: 45.86 kB / 333.1 MB, free: 14.71 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002466/0.1429, allocations: 334.8 kB / 333.4 MB, free: 14.37 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.765e-05/0.143, allocations: 36.45 kB / 333.5 MB, free: 14.34 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/0.1432, allocations: 142.6 kB / 333.6 MB, free: 14.15 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.1434, allocations: 205.6 kB / 333.8 MB, free: 13.9 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1435, allocations: 0 / 333.8 MB, free: 13.9 MB / 286.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003558/0.1438, allocations: 217.1 kB / 334 MB, free: 13.68 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.1438, allocations: 4 kB / 334 MB, free: 13.68 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.1439, allocations: 4 kB / 334 MB, free: 13.67 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.1439, allocations: 8 kB / 334.1 MB, free: 13.66 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.1441, allocations: 47.91 kB / 334.1 MB, free: 13.62 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.664e-05/0.1441, allocations: 11.94 kB / 334.1 MB, free: 13.61 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.1442, allocations: 32.03 kB / 334.1 MB, free: 13.57 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.1442, allocations: 12 kB / 334.2 MB, free: 13.56 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.0001366/0.1444, allocations: 133.7 kB / 334.3 MB, free: 13.42 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.251e-05/0.1445, allocations: 19.81 kB / 334.3 MB, free: 13.4 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.365e-05/0.1445, allocations: 24.92 kB / 334.3 MB, free: 13.38 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1445, allocations: 0 / 334.3 MB, free: 13.38 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.1446, allocations: 7.938 kB / 334.3 MB, free: 13.37 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.1446, allocations: 3.938 kB / 334.3 MB, free: 13.36 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004445/0.145, allocations: 237.5 kB / 334.6 MB, free: 13.08 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.145, allocations: 4 kB / 334.6 MB, free: 13.08 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.1452, allocations: 31.98 kB / 334.6 MB, free: 13.05 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1452, allocations: 0 / 334.6 MB, free: 13.05 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.1452, allocations: 4 kB / 334.6 MB, free: 13.04 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.1452, allocations: 3.938 kB / 334.6 MB, free: 13.04 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1452, allocations: 0 / 334.6 MB, free: 13.04 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003966/0.1456, allocations: 385.8 kB / 335 MB, free: 12.64 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.547e-05/0.1457, allocations: 100.9 kB / 335.1 MB, free: 12.53 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.1458, allocations: 3.984 kB / 335.1 MB, free: 12.52 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.1459, allocations: 4.062 kB / 335.1 MB, free: 12.52 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.43e-05/0.1459, allocations: 12.2 kB / 335.1 MB, free: 12.51 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.146, allocations: 7.984 kB / 335.1 MB, free: 12.5 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001313/0.1461, allocations: 149.5 kB / 335.3 MB, free: 12.36 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1461, allocations: 4 kB / 335.3 MB, free: 12.35 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003773/0.1465, allocations: 40 kB / 335.3 MB, free: 12.31 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.0001184/0.1466, allocations: 100.2 kB / 335.4 MB, free: 12.21 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002353/0.1469, allocations: 107.8 kB / 335.5 MB, free: 12.1 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1469, allocations: 3.938 kB / 335.5 MB, free: 12.1 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.071e-05/0.1469, allocations: 35.92 kB / 335.5 MB, free: 12.06 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006025/0.1475, allocations: 24.8 kB / 335.6 MB, free: 12.04 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.1487, allocations: 0.699 MB / 336.3 MB, free: 11.3 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.1491, allocations: 0.7322 MB / 337 MB, free: 10.54 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.759e-05/0.1492, allocations: 15.44 kB / 337 MB, free: 10.53 MB / 286.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1492, allocations: 0 / 337 MB, free: 10.53 MB / 286.1 MB Notification: Performance of Templates: time 0.004959/0.1542, allocations: 1.98 MB / 339 MB, free: 8.543 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