Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTest.Rotational.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs") translateModel(ModelicaTest.Rotational.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 87.53 kB / 17.63 MB, free: 5.719 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.001141/0.001141, allocations: 182.4 kB / 18.52 MB, free: 5.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.572/1.572, allocations: 223.2 MB / 242.5 MB, free: 340 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2392/0.2392, allocations: 44.22 MB / 337.9 MB, free: 2.828 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003195/0.0003195, allocations: 8 kB / 410.2 MB, free: 27.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1437, allocations: 61.93 MB / 472.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.005844/0.1496, allocations: 4.957 MB / 477.1 MB, free: 8.793 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003924/0.1535, allocations: 2.12 MB / 479.2 MB, free: 6.668 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007807/0.1544, allocations: 35.81 kB / 479.3 MB, free: 6.633 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004165/0.1548, allocations: 162.6 kB / 479.4 MB, free: 6.473 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003821/0.1552, allocations: 146.8 kB / 479.6 MB, free: 6.328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008952/0.1561, allocations: 311.3 kB / 479.9 MB, free: 6.023 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001031/0.1571, allocations: 0.9696 MB / 480.9 MB, free: 5.047 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000633/0.1578, allocations: 425.9 kB / 481.3 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003163/0.1581, allocations: 258.8 kB / 481.5 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003331/0.1584, allocations: 286.4 kB / 481.8 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.624e-05/0.1585, allocations: 36 kB / 481.8 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002106/0.1587, allocations: 87.91 kB / 481.9 MB, free: 3.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.1589, allocations: 131.4 kB / 482.1 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.1591, allocations: 189.2 kB / 482.2 MB, free: 3.645 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008457/0.1599, allocations: 0.9312 MB / 483.2 MB, free: 2.711 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.1599, allocations: 0 / 483.2 MB, free: 2.711 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1599, allocations: 0 / 483.2 MB, free: 2.711 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.1599, allocations: 0 / 483.2 MB, free: 2.711 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.001396/0.1613, allocations: 0.9651 MB / 484.1 MB, free: 1.695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.1614, allocations: 15.95 kB / 484.2 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.1615, allocations: 102.8 kB / 484.3 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007455/0.1623, allocations: 0.5394 MB / 484.8 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.076e-05/0.1624, allocations: 73.95 kB / 484.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/0.1625, allocations: 91.91 kB / 485 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/0.1641, allocations: 0.8893 MB / 485.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.188e-05/0.1641, allocations: 7.906 kB / 485.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-05/0.1642, allocations: 40 kB / 485.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.292e-05/0.1642, allocations: 23.94 kB / 485.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.1653, allocations: 0.523 MB / 486.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004092/0.1694, allocations: 3.647 MB / 490.1 MB, free: 11.49 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005237/0.17, allocations: 219.3 kB / 490.3 MB, free: 11.26 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.1702, allocations: 100.8 kB / 490.4 MB, free: 11.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002623/0.1704, allocations: 259.2 kB / 490.7 MB, free: 10.85 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/0.1705, allocations: 30.56 kB / 490.7 MB, free: 10.81 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 1.453e-06/0.1705, allocations: 0 / 490.7 MB, free: 10.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002347/0.1728, allocations: 1.311 MB / 492 MB, free: 9.402 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.1729, allocations: 55.41 kB / 492 MB, free: 9.336 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000408/0.1733, allocations: 397.8 kB / 492.4 MB, free: 8.934 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.1733, allocations: 29.7 kB / 492.5 MB, free: 8.898 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002986/0.1736, allocations: 470.1 kB / 492.9 MB, free: 8.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.318e-05/0.1737, allocations: 138 kB / 493.1 MB, free: 8.293 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.1738, allocations: 12 kB / 493.1 MB, free: 8.281 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.1739, allocations: 358.7 kB / 493.4 MB, free: 7.922 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.1742, allocations: 125.1 kB / 493.5 MB, free: 7.801 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003445/0.1745, allocations: 298.2 kB / 493.8 MB, free: 7.422 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000271/0.1748, allocations: 164.7 kB / 494 MB, free: 7.262 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.1748, allocations: 4 kB / 494 MB, free: 7.258 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007648/0.1756, allocations: 0.5129 MB / 494.5 MB, free: 6.734 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.1756, allocations: 11.94 kB / 494.5 MB, free: 6.723 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.1756, allocations: 8 kB / 494.5 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001881/0.1758, allocations: 40.84 kB / 494.6 MB, free: 6.672 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003657/0.1762, allocations: 127.8 kB / 494.7 MB, free: 6.547 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004257/0.1766, allocations: 0.5565 MB / 495.3 MB, free: 5.965 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.1768, allocations: 20 kB / 495.3 MB, free: 5.945 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.204e-05/0.1769, allocations: 24 kB / 495.3 MB, free: 5.922 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (68): * Single equations (assignments): 67 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003117/0.1772, allocations: 234.1 kB / 495.5 MB, free: 5.684 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.35e-05/0.1773, allocations: 47.44 kB / 495.6 MB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005937/0.1779, allocations: 339.3 kB / 495.9 MB, free: 5.297 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.1779, allocations: 8.031 kB / 495.9 MB, free: 5.289 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.1779, allocations: 0 / 495.9 MB, free: 5.289 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.1779, allocations: 0 / 495.9 MB, free: 5.289 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/0.1793, allocations: 1.058 MB / 497 MB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1793, allocations: 0 / 497 MB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003437/0.1797, allocations: 75.91 kB / 497 MB, free: 4.082 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001197/0.1798, allocations: 44.98 kB / 497.1 MB, free: 4.035 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.1799, allocations: 8 kB / 497.1 MB, free: 4.027 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003427/0.1802, allocations: 0.5484 MB / 497.6 MB, free: 3.453 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1802, allocations: 0 / 497.6 MB, free: 3.453 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007755/0.181, allocations: 0.5672 MB / 498.2 MB, free: 2.848 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.1811, allocations: 116.5 kB / 498.3 MB, free: 2.715 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.909e-05/0.1812, allocations: 12 kB / 498.3 MB, free: 2.703 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.1813, allocations: 15.95 kB / 498.3 MB, free: 2.688 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.725e-05/0.1814, allocations: 28 kB / 498.4 MB, free: 2.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.393e-05/0.1814, allocations: 11.98 kB / 498.4 MB, free: 2.648 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002852/0.1817, allocations: 267.2 kB / 498.6 MB, free: 2.391 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1817, allocations: 0 / 498.6 MB, free: 2.391 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005139/0.1822, allocations: 128 kB / 498.8 MB, free: 2.266 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (directInertia.inertia.w,directInertia.torqueToAngle.phi,inertia2a.w,torqueToAngle2a.y,inertia2b.w,torqueToAngle2b.y,inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.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 (33): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001764/0.1824, allocations: 119.1 kB / 498.9 MB, free: 2.141 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005942/0.183, allocations: 333.5 kB / 499.2 MB, free: 1.816 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.183, allocations: 0 / 499.2 MB, free: 1.816 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002524/0.1833, allocations: 141.1 kB / 499.4 MB, free: 1.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004974/0.1838, allocations: 75.03 kB / 499.4 MB, free: 1.613 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00276/0.1866, allocations: 2.112 MB / 0.4898 GB, free: 15.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005812/0.1872, allocations: 0.9522 MB / 0.4907 GB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.879e-05/0.1873, allocations: 43.42 kB / 0.4908 GB, free: 14.42 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1873, allocations: 0 / 0.4908 GB, free: 14.42 MB / 382.1 MB Notification: Performance of Templates: time 0.01532/0.2026, allocations: 10.99 MB / 0.5015 GB, free: 3.426 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.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 OMCppModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUsCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUsCalcHelperMain.o] Error 1