Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.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.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel") translateModel(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 105.5 kB / 17.81 MB, free: 5.695 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.00129/0.00129, allocations: 190 kB / 18.72 MB, free: 4.781 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.823/1.823, allocations: 205.1 MB / 224.6 MB, free: 12.49 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.001297/0.001297, allocations: 47.92 kB / 280.6 MB, free: 3.605 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1395, allocations: 46.65 MB / 327.3 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.005119/0.1447, allocations: 2.155 MB / 329.4 MB, free: 2.727 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.146, allocations: 0.5658 MB / 330 MB, free: 2.152 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001468/0.1461, allocations: 4 kB / 330 MB, free: 2.148 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002193/0.1464, allocations: 27.78 kB / 330 MB, free: 2.121 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001244/0.1465, allocations: 39.67 kB / 330 MB, free: 2.082 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002477/0.1468, allocations: 43.91 kB / 330.1 MB, free: 2.039 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003273/0.1471, allocations: 199.1 kB / 330.3 MB, free: 1.844 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00024/0.1474, allocations: 69.61 kB / 330.4 MB, free: 1.773 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.1475, allocations: 63.73 kB / 330.4 MB, free: 1.711 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.1477, allocations: 79.61 kB / 330.5 MB, free: 1.633 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.203e-05/0.1477, allocations: 12 kB / 330.5 MB, free: 1.621 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.369e-05/0.1478, allocations: 12 kB / 330.5 MB, free: 1.609 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.639e-05/0.1478, allocations: 35.84 kB / 330.5 MB, free: 1.574 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.148, allocations: 87.55 kB / 330.6 MB, free: 1.488 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002741/0.1483, allocations: 159.9 kB / 330.8 MB, free: 1.332 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1483, allocations: 7.938 kB / 330.8 MB, free: 1.324 MB / 270.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1483, allocations: 0 / 330.8 MB, free: 1.324 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.1483, allocations: 0 / 330.8 MB, free: 1.324 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.0009882/0.1493, allocations: 482.5 kB / 331.3 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.692e-05/0.1494, allocations: 8.031 kB / 331.3 MB, free: 0.7969 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.647e-05/0.1495, allocations: 20.73 kB / 331.3 MB, free: 0.7773 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003393/0.1498, allocations: 220 kB / 331.5 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.1499, allocations: 16.38 kB / 331.5 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.281e-05/0.1499, allocations: 20.38 kB / 331.5 MB, free: 500 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004598/0.1504, allocations: 149.7 kB / 331.7 MB, free: 344 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.1504, allocations: 3.984 kB / 331.7 MB, free: 340 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.038e-05/0.1505, allocations: 12 kB / 331.7 MB, free: 328 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.1505, allocations: 4 kB / 331.7 MB, free: 324 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003247/0.1508, allocations: 107.7 kB / 331.8 MB, free: 216 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/0.1521, allocations: 0.5965 MB / 332.4 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003381/0.1524, allocations: 118.6 kB / 332.5 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.1526, allocations: 44.83 kB / 332.6 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.1526, allocations: 256 / 332.6 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.1527, allocations: 30.56 kB / 332.6 MB, free: 15.34 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.1527, allocations: 0 / 332.6 MB, free: 15.34 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.002164/0.1548, allocations: 0.7946 MB / 333.4 MB, free: 14.46 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/0.1549, allocations: 55.41 kB / 333.5 MB, free: 14.39 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/0.1552, allocations: 158.1 kB / 333.6 MB, free: 14.23 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.78e-05/0.1553, allocations: 33.7 kB / 333.6 MB, free: 14.19 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/0.1554, allocations: 132.3 kB / 333.8 MB, free: 14.05 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.1556, allocations: 67.09 kB / 333.8 MB, free: 13.99 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-05/0.1556, allocations: 37.7 kB / 333.9 MB, free: 13.95 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.1558, allocations: 326.8 kB / 334.2 MB, free: 13.62 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.156, allocations: 43.97 kB / 334.2 MB, free: 13.57 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.1562, allocations: 75.41 kB / 334.3 MB, free: 13.49 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003137/0.1565, allocations: 127.4 kB / 334.4 MB, free: 13.35 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1565, allocations: 0 / 334.4 MB, free: 13.35 MB / 286.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005292/0.157, allocations: 218 kB / 334.6 MB, free: 13.13 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.1571, allocations: 7.938 kB / 334.7 MB, free: 13.12 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.1571, allocations: 0 / 334.7 MB, free: 13.12 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002418/0.1574, allocations: 44.89 kB / 334.7 MB, free: 13.07 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.1576, allocations: 35.92 kB / 334.7 MB, free: 13.04 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001686/0.1593, allocations: 1.425 MB / 336.2 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.1594, allocations: 11.97 kB / 336.2 MB, free: 11.47 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.1594, allocations: 4 kB / 336.2 MB, free: 11.46 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (18): * Single equations (assignments): 17 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001486/0.1596, allocations: 129.8 kB / 336.3 MB, free: 11.33 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.131e-05/0.1597, allocations: 11.91 kB / 336.3 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.436e-05/0.1597, allocations: 25.17 kB / 336.3 MB, free: 11.29 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1597, allocations: 4.062 kB / 336.3 MB, free: 11.29 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.1598, allocations: 4 kB / 336.3 MB, free: 11.28 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1598, allocations: 0 / 336.3 MB, free: 11.28 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.1608, allocations: 0.5799 MB / 336.9 MB, free: 10.64 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1608, allocations: 0 / 336.9 MB, free: 10.64 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002028/0.1611, allocations: 35.98 kB / 337 MB, free: 10.6 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001555/0.1612, allocations: 36.77 kB / 337 MB, free: 10.56 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.1613, allocations: 4 kB / 337 MB, free: 10.56 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001455/0.1627, allocations: 1.367 MB / 338.4 MB, free: 9.059 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/0.1628, allocations: 11.92 kB / 338.4 MB, free: 9.047 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006779/0.1634, allocations: 331.2 kB / 338.7 MB, free: 8.707 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.296e-05/0.1635, allocations: 97.06 kB / 338.8 MB, free: 8.594 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.1636, allocations: 7.938 kB / 338.8 MB, free: 8.586 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.1637, allocations: 8 kB / 338.8 MB, free: 8.578 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.188e-05/0.1638, allocations: 11.92 kB / 338.8 MB, free: 8.566 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.1638, allocations: 4 kB / 338.8 MB, free: 8.562 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001285/0.164, allocations: 119.2 kB / 338.9 MB, free: 8.445 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.164, allocations: 0 / 338.9 MB, free: 8.445 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004225/0.1644, allocations: 44 kB / 339 MB, free: 8.402 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.w) * 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 (15): * Single equations (assignments): 14 * 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.0001641/0.1646, allocations: 107.2 kB / 339.1 MB, free: 8.289 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006368/0.1652, allocations: 258.4 kB / 339.3 MB, free: 8.023 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1652, allocations: 0 / 339.3 MB, free: 8.023 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003509/0.1656, allocations: 190.5 kB / 339.5 MB, free: 7.824 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006121/0.1662, allocations: 33.19 kB / 339.6 MB, free: 7.793 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.1676, allocations: 0.578 MB / 340.1 MB, free: 7.184 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004233/0.1681, allocations: 0.7284 MB / 340.9 MB, free: 6.43 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.273e-05/0.1681, allocations: 15.44 kB / 340.9 MB, free: 6.414 MB / 286.1 MB Notification: Performance of SimCode: time 2.746e-06/0.1681, allocations: 0 / 340.9 MB, free: 6.414 MB / 286.1 MB Notification: Performance of Templates: time 0.006802/0.175, allocations: 2.873 MB / 343.8 MB, free: 3.535 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.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.RollingWheelCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheelCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheelCalcHelperMain.o] Error 1