Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.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.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 91.75 kB / 17.58 MB, free: 5.797 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.001015/0.001015, allocations: 185.7 kB / 18.48 MB, free: 5.254 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.673/1.673, 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.0004615/0.0004615, allocations: 12 kB / 281.4 MB, free: 3.719 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1087, allocations: 47.57 MB / 329 MB, free: 4.078 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002477/0.1112, allocations: 2.016 MB / 331 MB, free: 2.051 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004204/0.1116, allocations: 231.1 kB / 331.2 MB, free: 1.824 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.1118, allocations: 11.94 kB / 331.2 MB, free: 1.812 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001224/0.1119, allocations: 27.77 kB / 331.2 MB, free: 1.785 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001338/0.112, allocations: 75.39 kB / 331.3 MB, free: 1.711 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/0.1122, allocations: 39.97 kB / 331.4 MB, free: 1.672 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002794/0.1125, allocations: 274.6 kB / 331.6 MB, free: 1.402 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001748/0.1127, allocations: 65.7 kB / 331.7 MB, free: 1.34 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.62e-05/0.1128, allocations: 95.64 kB / 331.8 MB, free: 1.246 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.1129, allocations: 103.5 kB / 331.9 MB, free: 1.145 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.01e-05/0.113, allocations: 19.94 kB / 331.9 MB, free: 1.125 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.484e-05/0.113, allocations: 12 kB / 331.9 MB, free: 1.113 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.924e-05/0.1131, allocations: 43.83 kB / 332 MB, free: 1.07 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.425e-05/0.1131, allocations: 69.58 kB / 332 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.1134, allocations: 207.7 kB / 332.2 MB, free: 0.793 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.1134, allocations: 0 / 332.2 MB, free: 0.793 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1134, allocations: 0 / 332.2 MB, free: 0.793 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.1134, allocations: 0 / 332.2 MB, free: 0.793 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0007056/0.1141, allocations: 0.5067 MB / 332.7 MB, free: 244 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.1142, allocations: 12.03 kB / 332.8 MB, free: 232 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.552e-05/0.1142, allocations: 23.72 kB / 332.8 MB, free: 208 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.1145, allocations: 247.5 kB / 333 MB, free: 15.91 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.1146, allocations: 20.52 kB / 333 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.084e-05/0.1146, allocations: 31.92 kB / 333.1 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004161/0.1151, allocations: 243.5 kB / 333.3 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.1151, allocations: 0 / 333.3 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/0.1151, allocations: 12 kB / 333.3 MB, free: 15.6 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.1151, allocations: 4 kB / 333.3 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002584/0.1154, allocations: 155.8 kB / 333.5 MB, free: 15.44 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.1165, allocations: 0.8049 MB / 334.3 MB, free: 14.58 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004895/0.117, allocations: 283.8 kB / 334.6 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002429/0.1172, allocations: 138.5 kB / 334.7 MB, free: 14.13 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.1173, allocations: 4 kB / 334.7 MB, free: 14.12 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.1173, allocations: 38.78 kB / 334.7 MB, free: 14.08 MB / 286.1 MB Notification: Performance of pre-optimization done (n=33): time 1.533e-06/0.1173, allocations: 3.938 kB / 334.7 MB, free: 14.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=45): time 0.002776/0.1201, allocations: 1.948 MB / 336.7 MB, free: 11.86 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.693e-05/0.1202, allocations: 106.8 kB / 336.8 MB, free: 11.73 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.1204, allocations: 190.6 kB / 337 MB, free: 11.53 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.1204, allocations: 33.7 kB / 337 MB, free: 11.49 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.1205, allocations: 140.7 kB / 337.1 MB, free: 11.35 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.1207, allocations: 157.7 kB / 337.3 MB, free: 11.19 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.662e-05/0.1207, allocations: 8 kB / 337.3 MB, free: 11.18 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1208, allocations: 346.8 kB / 337.6 MB, free: 10.84 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.121, allocations: 88.84 kB / 337.7 MB, free: 10.75 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/0.1212, allocations: 162.2 kB / 337.9 MB, free: 10.57 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.1214, allocations: 114.8 kB / 338 MB, free: 10.46 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1214, allocations: 0 / 338 MB, free: 10.46 MB / 286.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004802/0.1219, allocations: 333 kB / 338.3 MB, free: 10.12 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.1219, allocations: 12.09 kB / 338.3 MB, free: 10.11 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.122, allocations: 0 / 338.3 MB, free: 10.11 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.122, allocations: 4 kB / 338.3 MB, free: 10.11 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000324/0.1223, allocations: 99.83 kB / 338.4 MB, free: 10.01 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.1223, allocations: 0 / 338.4 MB, free: 10.01 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.562e-05/0.1224, allocations: 12 kB / 338.5 MB, free: 10 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-05/0.1225, allocations: 16 kB / 338.5 MB, free: 9.984 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (54): * Single equations (assignments): 54 * 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.0001713/0.1227, allocations: 153.7 kB / 338.6 MB, free: 9.824 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.049e-05/0.1227, allocations: 27.72 kB / 338.6 MB, free: 9.797 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.448e-05/0.1228, allocations: 41.86 kB / 338.7 MB, free: 9.758 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.1229, allocations: 4 kB / 338.7 MB, free: 9.754 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.1229, allocations: 4 kB / 338.7 MB, free: 9.75 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.1229, allocations: 3.984 kB / 338.7 MB, free: 9.746 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001384/0.1243, allocations: 1.064 MB / 339.8 MB, free: 8.598 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.1243, allocations: 7.953 kB / 339.8 MB, free: 8.59 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003341/0.1246, allocations: 87.83 kB / 339.9 MB, free: 8.504 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.1247, allocations: 4 kB / 339.9 MB, free: 8.5 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.623e-05/0.1247, allocations: 16 kB / 339.9 MB, free: 8.484 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.1247, allocations: 4.094 kB / 339.9 MB, free: 8.48 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.1247, allocations: 7.938 kB / 339.9 MB, free: 8.473 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007867/0.1255, allocations: 0.7174 MB / 340.6 MB, free: 7.711 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.414e-05/0.1256, allocations: 112.8 kB / 340.7 MB, free: 7.582 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.35e-05/0.1256, allocations: 16.06 kB / 340.7 MB, free: 7.566 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/0.1259, allocations: 8 kB / 340.7 MB, free: 7.559 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/0.1259, allocations: 31.95 kB / 340.8 MB, free: 7.527 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.126, allocations: 20 kB / 340.8 MB, free: 7.508 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.808e-05/0.1261, allocations: 128.5 kB / 340.9 MB, free: 7.383 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1261, allocations: 0 / 340.9 MB, free: 7.383 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000434/0.1265, allocations: 72 kB / 341 MB, free: 7.312 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.v_rel) * 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 (45): * Single equations (assignments): 45 * 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.000148/0.1267, allocations: 123 kB / 341.1 MB, free: 7.184 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004273/0.1271, allocations: 255.7 kB / 341.4 MB, free: 6.934 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1271, allocations: 192 / 341.4 MB, free: 6.934 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002135/0.1273, allocations: 148 kB / 341.5 MB, free: 6.789 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006894/0.128, allocations: 59.31 kB / 341.6 MB, free: 6.734 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.1296, allocations: 1.118 MB / 342.7 MB, free: 5.547 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004075/0.1301, allocations: 0.7725 MB / 343.4 MB, free: 4.746 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.907e-05/0.1301, allocations: 31.44 kB / 343.5 MB, free: 4.715 MB / 286.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1302, allocations: 0 / 343.5 MB, free: 4.715 MB / 286.1 MB Notification: Performance of Templates: time 0.005677/0.1358, allocations: 3.403 MB / 346.9 MB, free: 1.312 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.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.DamperCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.DamperCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.DamperCalcHelperMain.o] Error 1