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.0008905/0.0008906, allocations: 92.72 kB / 17.58 MB, free: 6.168 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.001053/0.001053, allocations: 184.1 kB / 18.47 MB, free: 5.336 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.693/1.693, allocations: 205.4 MB / 224.6 MB, free: 13.06 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.0004897/0.0004897, allocations: 16 kB / 281.4 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1084, allocations: 47.58 MB / 329 MB, free: 4.078 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.002402/0.1108, allocations: 2.011 MB / 331 MB, free: 2.051 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008931/0.1117, allocations: 0.5894 MB / 331.6 MB, free: 1.453 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.1119, allocations: 4 kB / 331.6 MB, free: 1.449 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000121/0.112, allocations: 27.77 kB / 331.6 MB, free: 1.422 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.1121, allocations: 67.47 kB / 331.7 MB, free: 1.355 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002072/0.1123, allocations: 43.95 kB / 331.7 MB, free: 1.312 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002531/0.1126, allocations: 230.9 kB / 331.9 MB, free: 1.086 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001885/0.1128, allocations: 81.33 kB / 332 MB, free: 1.008 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.1129, allocations: 75.72 kB / 332.1 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.1131, allocations: 95.55 kB / 332.2 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.799e-05/0.1131, allocations: 11.94 kB / 332.2 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.164e-05/0.1132, allocations: 12 kB / 332.2 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.452e-05/0.1132, allocations: 31.84 kB / 332.2 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.702e-05/0.1133, allocations: 69.58 kB / 332.3 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.1135, allocations: 183.7 kB / 332.5 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.1135, allocations: 0 / 332.5 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.647e-06/0.1135, allocations: 0 / 332.5 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.1135, allocations: 7.938 kB / 332.5 MB, free: 0.5234 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007579/0.1143, allocations: 491 kB / 333 MB, free: 15.99 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.1143, allocations: 12.03 kB / 333 MB, free: 15.98 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.801e-05/0.1144, allocations: 35.56 kB / 333 MB, free: 15.95 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.1147, allocations: 239.2 kB / 333.3 MB, free: 15.67 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.1147, allocations: 16.44 kB / 333.3 MB, free: 15.66 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.538e-05/0.1147, allocations: 20 kB / 333.3 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004029/0.1151, allocations: 217.3 kB / 333.5 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.1152, allocations: 0 / 333.5 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.1152, allocations: 12 kB / 333.5 MB, free: 15.4 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.1152, allocations: 8 kB / 333.5 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003067/0.1155, allocations: 148.4 kB / 333.7 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.1167, allocations: 0.7996 MB / 334.5 MB, free: 14.38 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003639/0.117, allocations: 201 kB / 334.7 MB, free: 14.17 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002164/0.1173, allocations: 109.7 kB / 334.8 MB, free: 14.05 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.1173, allocations: 4 kB / 334.8 MB, free: 14.05 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.1173, allocations: 34.56 kB / 334.8 MB, free: 14.01 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.192e-06/0.1173, allocations: 4 kB / 334.8 MB, free: 14 MB / 286.1 MB Notification: Performance of matching and sorting (n=26): time 0.001499/0.1188, allocations: 0.879 MB / 335.7 MB, free: 13.03 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.226e-05/0.1189, allocations: 89.03 kB / 335.8 MB, free: 12.93 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.1191, allocations: 182.1 kB / 336 MB, free: 12.74 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.1191, allocations: 29.7 kB / 336 MB, free: 12.7 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.526e-05/0.1192, allocations: 140.4 kB / 336.1 MB, free: 12.56 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.256e-05/0.1193, allocations: 86.66 kB / 336.2 MB, free: 12.48 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.406e-05/0.1193, allocations: 8 kB / 336.2 MB, free: 12.47 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1194, allocations: 330.8 kB / 336.5 MB, free: 12.14 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.1196, allocations: 63.97 kB / 336.6 MB, free: 12.07 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.1197, allocations: 116.2 kB / 336.7 MB, free: 11.95 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.1199, allocations: 83.95 kB / 336.8 MB, free: 11.86 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1199, allocations: 3.938 kB / 336.8 MB, free: 11.86 MB / 286.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004051/0.1203, allocations: 257.2 kB / 337.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.335e-05/0.1204, allocations: 4 kB / 337.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.1204, allocations: 7.953 kB / 337.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.1204, allocations: 0 / 337.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.1206, allocations: 63.91 kB / 337.1 MB, free: 11.53 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.1207, allocations: 8.312 kB / 337.1 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.1208, allocations: 15.94 kB / 337.2 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.1208, allocations: 16 kB / 337.2 MB, free: 11.49 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001273/0.1209, allocations: 137.8 kB / 337.3 MB, free: 11.34 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.877e-05/0.121, allocations: 23.72 kB / 337.3 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.157e-05/0.1211, allocations: 29.86 kB / 337.4 MB, free: 11.29 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.1211, allocations: 7.953 kB / 337.4 MB, free: 11.28 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1211, allocations: 0 / 337.4 MB, free: 11.28 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1211, allocations: 0 / 337.4 MB, free: 11.28 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007859/0.1219, allocations: 0.5826 MB / 337.9 MB, free: 10.63 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1219, allocations: 0 / 337.9 MB, free: 10.63 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002605/0.1222, allocations: 63.91 kB / 338 MB, free: 10.57 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.1222, allocations: 96 / 338 MB, free: 10.57 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.1222, allocations: 12 kB / 338 MB, free: 10.56 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1222, allocations: 0 / 338 MB, free: 10.56 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.1222, allocations: 11.92 kB / 338 MB, free: 10.55 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006263/0.1229, allocations: 0.4931 MB / 338.5 MB, free: 10.03 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.043e-05/0.1229, allocations: 88.92 kB / 338.6 MB, free: 9.922 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.24e-05/0.123, allocations: 8 kB / 338.6 MB, free: 9.914 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.1231, allocations: 16.03 kB / 338.6 MB, free: 9.898 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.625e-05/0.1232, allocations: 23.86 kB / 338.7 MB, free: 9.875 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.1232, allocations: 8 kB / 338.7 MB, free: 9.867 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.977e-05/0.1233, allocations: 132.3 kB / 338.8 MB, free: 9.738 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1233, allocations: 0 / 338.8 MB, free: 9.738 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003163/0.1236, allocations: 52 kB / 338.8 MB, free: 9.688 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001137/0.1238, allocations: 99.25 kB / 338.9 MB, free: 9.582 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003607/0.1241, allocations: 188 kB / 339.1 MB, free: 9.398 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1241, allocations: 0 / 339.1 MB, free: 9.398 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.1243, allocations: 99.83 kB / 339.2 MB, free: 9.301 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004991/0.1248, allocations: 48.52 kB / 339.3 MB, free: 9.254 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.1261, allocations: 0.8703 MB / 340.1 MB, free: 8.344 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.1264, allocations: 0.7523 MB / 340.9 MB, free: 7.566 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.249e-05/0.1265, allocations: 19.44 kB / 340.9 MB, free: 7.547 MB / 286.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1265, allocations: 0 / 340.9 MB, free: 7.547 MB / 286.1 MB Notification: Performance of Templates: time 0.004422/0.1309, allocations: 2.57 MB / 343.5 MB, free: 4.977 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++ NOTFOUND -Winvalid-pch -O0 -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/c/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