Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.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.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator") translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000746/0.0007459, allocations: 99.72 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.0007873/0.0007872, allocations: 176.7 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.949/1.949, 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.0004609/0.0004609, allocations: 15.94 kB / 282 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1263, allocations: 47.58 MB / 329.6 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003437/0.1298, allocations: 2.091 MB / 331.7 MB, free: 1.66 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.1309, allocations: 0.6048 MB / 332.3 MB, free: 1.047 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.131, allocations: 8 kB / 332.3 MB, free: 1.039 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001375/0.1312, allocations: 27.78 kB / 332.3 MB, free: 1.012 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001281/0.1313, allocations: 63.41 kB / 332.4 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002255/0.1315, allocations: 51.95 kB / 332.4 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002815/0.1318, allocations: 242.9 kB / 332.7 MB, free: 0.6602 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000203/0.132, allocations: 81.92 kB / 332.8 MB, free: 0.582 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.1322, allocations: 83.64 kB / 332.8 MB, free: 0.5 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.1323, allocations: 99.42 kB / 332.9 MB, free: 412 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.903e-05/0.1324, allocations: 12 kB / 333 MB, free: 400 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.212e-05/0.1324, allocations: 16 kB / 333 MB, free: 384 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.282e-05/0.1325, allocations: 31.84 kB / 333 MB, free: 352 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.1326, allocations: 129.1 kB / 333.1 MB, free: 216 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.1328, allocations: 187.6 kB / 333.3 MB, free: 28 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1328, allocations: 0 / 333.3 MB, free: 28 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1328, allocations: 0 / 333.3 MB, free: 28 kB / 270.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1328, allocations: 4 kB / 333.3 MB, free: 24 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008214/0.1337, allocations: 499.2 kB / 333.8 MB, free: 15.48 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.1337, allocations: 8.031 kB / 333.8 MB, free: 15.48 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.621e-05/0.1338, allocations: 28.56 kB / 333.8 MB, free: 15.45 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003165/0.1341, allocations: 240.6 kB / 334.1 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/0.1342, allocations: 16.81 kB / 334.1 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.559e-05/0.1342, allocations: 16.38 kB / 334.1 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004316/0.1347, allocations: 229.2 kB / 334.3 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.1347, allocations: 11.98 kB / 334.3 MB, free: 14.9 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/0.1347, allocations: 4 kB / 334.3 MB, free: 14.89 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.954e-06/0.1347, allocations: 4 kB / 334.3 MB, free: 14.89 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003302/0.1351, allocations: 155.9 kB / 334.5 MB, free: 14.74 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.1363, allocations: 0.7987 MB / 335.3 MB, free: 13.87 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004313/0.1367, allocations: 201 kB / 335.5 MB, free: 13.66 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002535/0.137, allocations: 109.7 kB / 335.6 MB, free: 13.54 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.137, allocations: 3.938 kB / 335.6 MB, free: 13.54 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.1371, allocations: 42.69 kB / 335.6 MB, free: 13.49 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.513e-06/0.1371, allocations: 0 / 335.6 MB, free: 13.49 MB / 286.1 MB Notification: Performance of matching and sorting (n=26): time 0.001723/0.1388, allocations: 0.8777 MB / 336.5 MB, free: 12.52 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.141e-05/0.1389, allocations: 85.09 kB / 336.6 MB, free: 12.42 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.1391, allocations: 178.1 kB / 336.8 MB, free: 12.23 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.1391, allocations: 37.69 kB / 336.8 MB, free: 12.19 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.165e-05/0.1392, allocations: 136.4 kB / 337 MB, free: 12.05 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.1e-05/0.1393, allocations: 90.66 kB / 337 MB, free: 11.96 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.29e-05/0.1393, allocations: 29.7 kB / 337.1 MB, free: 11.93 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.1395, allocations: 330.8 kB / 337.4 MB, free: 11.6 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.1396, allocations: 67.91 kB / 337.5 MB, free: 11.53 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/0.1398, allocations: 116.2 kB / 337.6 MB, free: 11.4 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003438/0.1402, allocations: 208.1 kB / 337.8 MB, free: 11.18 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1402, allocations: 0 / 337.8 MB, free: 11.18 MB / 286.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004316/0.1406, allocations: 253.2 kB / 338 MB, free: 10.93 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.1407, allocations: 7.984 kB / 338 MB, free: 10.92 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.1407, allocations: 4 kB / 338 MB, free: 10.92 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1407, allocations: 0 / 338 MB, free: 10.92 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.1409, allocations: 67.89 kB / 338.1 MB, free: 10.85 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.1409, allocations: 3.938 kB / 338.1 MB, free: 10.85 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.1411, allocations: 15.94 kB / 338.1 MB, free: 10.83 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.1411, allocations: 12 kB / 338.1 MB, free: 10.82 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (32): * Single equations (assignments): 32 * 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.0001226/0.1412, allocations: 138.4 kB / 338.3 MB, free: 10.68 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.201e-05/0.1413, allocations: 27.72 kB / 338.3 MB, free: 10.65 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.192e-05/0.1414, allocations: 25.81 kB / 338.3 MB, free: 10.62 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1414, allocations: 4 kB / 338.3 MB, free: 10.62 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1414, allocations: 0 / 338.3 MB, free: 10.62 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.1414, allocations: 3.984 kB / 338.3 MB, free: 10.61 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008433/0.1422, allocations: 0.5898 MB / 338.9 MB, free: 9.961 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.1423, allocations: 0 / 338.9 MB, free: 9.961 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003244/0.1426, allocations: 59.91 kB / 339 MB, free: 9.902 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.1426, allocations: 7.984 kB / 339 MB, free: 9.895 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.1426, allocations: 8.094 kB / 339 MB, free: 9.887 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1426, allocations: 0 / 339 MB, free: 9.887 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.1426, allocations: 7.938 kB / 339 MB, free: 9.879 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000683/0.1433, allocations: 0.4892 MB / 339.5 MB, free: 9.363 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.428e-05/0.1434, allocations: 104.8 kB / 339.6 MB, free: 9.242 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.894e-05/0.1434, allocations: 4.047 kB / 339.6 MB, free: 9.238 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.1436, allocations: 11.98 kB / 339.6 MB, free: 9.227 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.011e-05/0.1437, allocations: 27.91 kB / 339.6 MB, free: 9.199 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.1437, allocations: 8 kB / 339.6 MB, free: 9.191 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001062/0.1438, allocations: 132.3 kB / 339.8 MB, free: 9.062 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1438, allocations: 0 / 339.8 MB, free: 9.062 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003259/0.1442, allocations: 48 kB / 339.8 MB, free: 9.016 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (damper1.s_rel,damper1.v_rel,mass1.s,mass1.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 (26): * Single equations (assignments): 26 * 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.0001489/0.1443, allocations: 111.1 kB / 339.9 MB, free: 8.898 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004047/0.1447, allocations: 188 kB / 340.1 MB, free: 8.715 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1447, allocations: 0 / 340.1 MB, free: 8.715 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001798/0.1449, allocations: 96.44 kB / 340.2 MB, free: 8.621 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005402/0.1455, allocations: 44.23 kB / 340.2 MB, free: 8.578 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.1468, allocations: 0.8823 MB / 341.1 MB, free: 7.656 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/0.1472, allocations: 0.7559 MB / 341.9 MB, free: 6.875 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.443e-05/0.1473, allocations: 23.44 kB / 341.9 MB, free: 6.852 MB / 286.1 MB Notification: Performance of SimCode: time 6.22e-07/0.1473, allocations: 0 / 341.9 MB, free: 6.852 MB / 286.1 MB Notification: Performance of Templates: time 0.00527/0.1526, allocations: 2.568 MB / 344.5 MB, free: 4.281 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.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.OscillatorCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.OscillatorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.OscillatorCalcHelperMain.o] Error 1