Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.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.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001959/0.001959, allocations: 109.5 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.00252/0.002521, 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.752/1.752, allocations: 205.1 MB / 224.6 MB, free: 12.46 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.001277/0.001277, allocations: 51.92 kB / 280.6 MB, free: 3.574 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1168, allocations: 46.62 MB / 327.2 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003822/0.1206, allocations: 2.387 MB / 329.6 MB, free: 2.477 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009929/0.1217, allocations: 0.6203 MB / 330.2 MB, free: 1.848 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.1218, allocations: 7.938 kB / 330.3 MB, free: 1.84 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001497/0.1219, allocations: 23.78 kB / 330.3 MB, free: 1.816 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.1221, allocations: 67.45 kB / 330.3 MB, free: 1.75 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001995/0.1223, allocations: 47.97 kB / 330.4 MB, free: 1.703 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002789/0.1226, allocations: 262.7 kB / 330.6 MB, free: 1.445 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001991/0.1228, allocations: 87.3 kB / 330.7 MB, free: 1.359 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.1229, allocations: 103.6 kB / 330.8 MB, free: 1.258 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.1231, allocations: 107.5 kB / 330.9 MB, free: 1.152 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.369e-05/0.1231, allocations: 12 kB / 331 MB, free: 1.141 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.233e-05/0.1232, allocations: 16 kB / 331 MB, free: 1.125 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.731e-05/0.1232, allocations: 51.77 kB / 331 MB, free: 1.074 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.1234, allocations: 115.4 kB / 331.1 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.1236, allocations: 195.8 kB / 331.3 MB, free: 0.7695 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.1236, allocations: 0 / 331.3 MB, free: 0.7695 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1236, allocations: 7.938 kB / 331.3 MB, free: 0.7617 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.1236, allocations: 0 / 331.3 MB, free: 0.7617 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0007784/0.1244, allocations: 0.5145 MB / 331.8 MB, free: 200 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.1244, allocations: 12.03 kB / 331.9 MB, free: 188 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.77e-05/0.1245, allocations: 28.66 kB / 331.9 MB, free: 160 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.1248, allocations: 236.6 kB / 332.1 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.1248, allocations: 20.81 kB / 332.1 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.39e-05/0.1249, allocations: 24.38 kB / 332.2 MB, free: 15.84 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003481/0.1252, allocations: 195.6 kB / 332.4 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.1253, allocations: 3.906 kB / 332.4 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.184e-05/0.1253, allocations: 8 kB / 332.4 MB, free: 15.63 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1253, allocations: 4 kB / 332.4 MB, free: 15.63 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002751/0.1256, allocations: 149.6 kB / 332.5 MB, free: 15.48 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009457/0.1266, allocations: 0.6346 MB / 333.1 MB, free: 14.8 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002998/0.1269, allocations: 182.3 kB / 333.3 MB, free: 14.61 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.127, allocations: 96.83 kB / 333.4 MB, free: 14.52 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.1271, allocations: 4.094 kB / 333.4 MB, free: 14.51 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.1271, allocations: 34.5 kB / 333.5 MB, free: 14.47 MB / 286.1 MB Notification: Performance of pre-optimization done (n=24): time 1.232e-06/0.1271, allocations: 0 / 333.5 MB, free: 14.47 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.001917/0.129, allocations: 1.072 MB / 334.5 MB, free: 13.3 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.1291, allocations: 63.28 kB / 334.6 MB, free: 13.23 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.1293, allocations: 186.9 kB / 334.8 MB, free: 13.04 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.1293, allocations: 29.7 kB / 334.8 MB, free: 13 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.626e-05/0.1294, allocations: 140.7 kB / 334.9 MB, free: 12.86 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.747e-05/0.1295, allocations: 110.3 kB / 335 MB, free: 12.75 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.402e-05/0.1296, allocations: 49.7 kB / 335.1 MB, free: 12.7 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1297, allocations: 338.8 kB / 335.4 MB, free: 12.36 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.1299, allocations: 63.97 kB / 335.5 MB, free: 12.3 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.13, allocations: 118.3 kB / 335.6 MB, free: 12.17 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003182/0.1304, allocations: 192.7 kB / 335.8 MB, free: 11.98 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1304, allocations: 0 / 335.8 MB, free: 11.98 MB / 286.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004906/0.1309, allocations: 294.1 kB / 336.1 MB, free: 11.68 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.1309, allocations: 4 kB / 336.1 MB, free: 11.68 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.1309, allocations: 4 kB / 336.1 MB, free: 11.67 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001689/0.1311, allocations: 44.77 kB / 336.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.1313, allocations: 59.91 kB / 336.2 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001426/0.1328, allocations: 1.565 MB / 337.8 MB, free: 9.863 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.1329, allocations: 12.03 kB / 337.8 MB, free: 9.852 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.1329, allocations: 8 kB / 337.8 MB, free: 9.844 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001358/0.133, allocations: 145.8 kB / 337.9 MB, free: 9.691 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.176e-05/0.1331, allocations: 19.72 kB / 337.9 MB, free: 9.672 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.633e-05/0.1332, allocations: 34.58 kB / 338 MB, free: 9.641 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.1332, allocations: 7.984 kB / 338 MB, free: 9.633 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1332, allocations: 0 / 338 MB, free: 9.633 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.1332, allocations: 0 / 338 MB, free: 9.633 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.1343, allocations: 0.7814 MB / 338.8 MB, free: 8.773 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.1343, allocations: 4 kB / 338.8 MB, free: 8.77 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002484/0.1345, allocations: 56 kB / 338.8 MB, free: 8.715 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001054/0.1347, allocations: 36.83 kB / 338.9 MB, free: 8.676 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.1347, allocations: 12 kB / 338.9 MB, free: 8.664 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001087/0.1358, allocations: 1.382 MB / 340.2 MB, free: 7.148 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.1358, allocations: 3.938 kB / 340.3 MB, free: 7.145 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006827/0.1365, allocations: 486.4 kB / 340.7 MB, free: 6.641 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.617e-05/0.1366, allocations: 100.9 kB / 340.8 MB, free: 6.523 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.1366, allocations: 8.234 kB / 340.8 MB, free: 6.516 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.1367, allocations: 8 kB / 340.8 MB, free: 6.508 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.594e-05/0.1368, allocations: 23.91 kB / 340.9 MB, free: 6.484 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.1368, allocations: 11.98 kB / 340.9 MB, free: 6.473 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001033/0.1369, allocations: 135.5 kB / 341 MB, free: 6.34 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1369, allocations: 4 kB / 341 MB, free: 6.336 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003595/0.1373, allocations: 64 kB / 341.1 MB, free: 6.273 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_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 (29): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001317/0.1374, allocations: 103.2 kB / 341.2 MB, free: 6.164 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000646/0.1381, allocations: 327.4 kB / 341.5 MB, free: 5.832 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1381, allocations: 0 / 341.5 MB, free: 5.832 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003814/0.1385, allocations: 258.8 kB / 341.7 MB, free: 5.566 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005666/0.1391, allocations: 35.92 kB / 341.8 MB, free: 5.531 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.1406, allocations: 0.8612 MB / 342.6 MB, free: 4.629 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004642/0.1411, allocations: 0.7561 MB / 343.4 MB, free: 3.848 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.84e-05/0.1411, allocations: 23.44 kB / 343.4 MB, free: 3.824 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1412, allocations: 0 / 343.4 MB, free: 3.824 MB / 286.1 MB Notification: Performance of Templates: time 0.006172/0.1473, allocations: 3.83 MB / 347.3 MB, free: 15.99 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.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.Rotational.Examples.FirstCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstCalcHelperMain.o] Error 1