Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008744/0.0008743, allocations: 89.61 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001039/0.001039, allocations: 197.9 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.518/1.518, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2456/0.2456, allocations: 45.91 MB / 344.7 MB, free: 12.36 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002664/0.0002664, allocations: 11.98 kB / 418.6 MB, free: 20.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1571, allocations: 63.47 MB / 482.1 MB, free: 5.441 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.006296/0.1635, allocations: 4.974 MB / 487.1 MB, free: 452 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004774/0.1683, allocations: 2.166 MB / 489.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001295/0.1697, allocations: 35.75 kB / 489.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005046/0.1702, allocations: 166.6 kB / 489.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004487/0.1706, allocations: 146.8 kB / 489.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.1717, allocations: 303.3 kB / 489.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001123/0.1729, allocations: 0.9698 MB / 490.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006737/0.1736, allocations: 429.9 kB / 491.3 MB, free: 12.22 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004649/0.174, allocations: 262.8 kB / 491.5 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003654/0.1744, allocations: 294.4 kB / 491.8 MB, free: 11.67 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.669e-05/0.1745, allocations: 32 kB / 491.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002602/0.1748, allocations: 87.92 kB / 491.9 MB, free: 11.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001746/0.1749, allocations: 131.4 kB / 492.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002035/0.1752, allocations: 185.3 kB / 492.2 MB, free: 11.24 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001212/0.1764, allocations: 0.939 MB / 493.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.468e-05/0.1764, allocations: 3.984 kB / 493.2 MB, free: 10.29 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.228e-06/0.1764, allocations: 0 / 493.2 MB, free: 10.29 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.397e-05/0.1764, allocations: 0 / 493.2 MB, free: 10.29 MB / 366.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.002113/0.1786, allocations: 0.9628 MB / 494.2 MB, free: 9.277 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/0.1786, allocations: 12.03 kB / 494.2 MB, free: 9.266 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003305/0.179, allocations: 114.7 kB / 494.3 MB, free: 9.152 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008868/0.1799, allocations: 0.5432 MB / 494.8 MB, free: 8.566 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.849e-05/0.18, allocations: 70 kB / 494.9 MB, free: 8.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/0.1801, allocations: 95.91 kB / 495 MB, free: 8.406 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/0.1818, allocations: 0.8853 MB / 495.9 MB, free: 7.457 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.162e-05/0.1818, allocations: 3.906 kB / 495.9 MB, free: 7.453 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.581e-05/0.1819, allocations: 43.94 kB / 495.9 MB, free: 7.41 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.084e-05/0.1819, allocations: 20 kB / 495.9 MB, free: 7.391 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.183, allocations: 0.5268 MB / 496.5 MB, free: 6.863 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003992/0.187, allocations: 3.647 MB / 0.4884 GB, free: 3.062 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005754/0.1876, allocations: 226.8 kB / 0.4886 GB, free: 2.832 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.1878, allocations: 105.3 kB / 0.4887 GB, free: 2.727 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000253/0.188, allocations: 251.3 kB / 0.4889 GB, free: 2.426 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.1881, allocations: 38.56 kB / 0.489 GB, free: 2.379 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 2.465e-06/0.1881, allocations: 4 kB / 0.489 GB, free: 2.375 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002469/0.1905, allocations: 1.307 MB / 0.4903 GB, free: 0.9688 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.1906, allocations: 59.34 kB / 0.4903 GB, free: 0.8984 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004402/0.1911, allocations: 397.8 kB / 0.4907 GB, free: 0.5039 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.678e-05/0.1911, allocations: 33.7 kB / 0.4907 GB, free: 476 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000317/0.1914, allocations: 462.1 kB / 0.4912 GB, free: 4 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/0.1916, allocations: 134 kB / 0.4913 GB, free: 15.87 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.149e-05/0.1916, allocations: 16 kB / 0.4913 GB, free: 15.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.1918, allocations: 362.8 kB / 0.4917 GB, free: 15.49 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.192, allocations: 113.1 kB / 0.4918 GB, free: 15.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003572/0.1923, allocations: 306.2 kB / 0.4921 GB, free: 15 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/0.1926, allocations: 164.7 kB / 0.4922 GB, free: 14.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1926, allocations: 4 kB / 0.4922 GB, free: 14.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007771/0.1934, allocations: 0.5089 MB / 0.4927 GB, free: 14.31 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.1935, allocations: 8 kB / 0.4927 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.1935, allocations: 8 kB / 0.4927 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002066/0.1937, allocations: 48.73 kB / 0.4928 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003897/0.1941, allocations: 128.3 kB / 0.4929 GB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004118/0.1945, allocations: 0.5563 MB / 0.4934 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/0.1947, allocations: 16 kB / 0.4935 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.255e-05/0.1948, allocations: 27.98 kB / 0.4935 GB, free: 13.5 MB / 382.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.0003551/0.1951, allocations: 233.6 kB / 0.4937 GB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.495e-05/0.1952, allocations: 47.39 kB / 0.4938 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006234/0.1958, allocations: 335 kB / 0.4941 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.1959, allocations: 7.938 kB / 0.4941 GB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.1959, allocations: 0 / 0.4941 GB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.1959, allocations: 3.984 kB / 0.4941 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/0.1974, allocations: 1.05 MB / 0.4951 GB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.1974, allocations: 4 kB / 0.4951 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000337/0.1977, allocations: 80.05 kB / 0.4952 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001354/0.1979, allocations: 32.84 kB / 0.4952 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.1979, allocations: 12 kB / 0.4952 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003533/0.1983, allocations: 0.5484 MB / 0.4958 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1983, allocations: 0 / 0.4958 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007477/0.199, allocations: 0.5675 MB / 0.4963 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.392e-05/0.1991, allocations: 120.5 kB / 0.4964 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.641e-05/0.1992, allocations: 8 kB / 0.4964 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.1993, allocations: 12 kB / 0.4965 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.128e-05/0.1994, allocations: 24.05 kB / 0.4965 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.298e-05/0.1994, allocations: 16 kB / 0.4965 GB, free: 10.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003084/0.1998, allocations: 267.2 kB / 0.4968 GB, free: 9.973 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1998, allocations: 3.938 kB / 0.4968 GB, free: 9.969 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005422/0.2003, allocations: 124 kB / 0.4969 GB, free: 9.848 MB / 382.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.0002102/0.2005, allocations: 123.6 kB / 0.497 GB, free: 9.719 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006324/0.2012, allocations: 329.7 kB / 0.4973 GB, free: 9.398 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2012, allocations: 0 / 0.4973 GB, free: 9.398 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002618/0.2014, allocations: 147.8 kB / 0.4974 GB, free: 9.254 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004948/0.2019, allocations: 70.33 kB / 0.4975 GB, free: 9.184 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002924/0.2049, allocations: 2.105 MB / 0.4996 GB, free: 7.027 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005881/0.2055, allocations: 0.9561 MB / 0.5005 GB, free: 6.047 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.2056, allocations: 39.44 kB / 0.5005 GB, free: 6.008 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2056, allocations: 0 / 0.5005 GB, free: 6.008 MB / 382.1 MB Notification: Performance of Templates: time 0.2754/0.481, allocations: 10.99 MB / 0.5113 GB, free: 40.78 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.makefile make -j1 -f ModelicaTest_trunk_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_trunk_ModelicaTest.Rotational.GenerationOfFMUsCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUsCalcHelperMain.o] Error 1