Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(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_3.2.3_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_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 104.4 kB / 16.52 MB, free: 6.266 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.001551/0.001551, allocations: 195.2 kB / 17.44 MB, free: 5.887 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.882/1.882, allocations: 205.1 MB / 223.3 MB, free: 12.4 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2781/0.2781, allocations: 43.52 MB / 314.1 MB, free: 0.7383 MB / 254.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.001513/0.001513, allocations: 68.58 kB / 382.7 MB, free: 56.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1603, allocations: 57.78 MB / 440.5 MB, free: 7.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.006562/0.1669, allocations: 5.752 MB / 446.2 MB, free: 1.711 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004636/0.1716, allocations: 2.291 MB / 448.5 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/0.1727, allocations: 39.75 kB / 448.5 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005782/0.1733, allocations: 178.6 kB / 448.7 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004448/0.1739, allocations: 154.8 kB / 448.9 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.1751, allocations: 387.4 kB / 449.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001129/0.1762, allocations: 1.048 MB / 450.3 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009921/0.1772, allocations: 0.5558 MB / 450.8 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006251/0.1779, allocations: 326.6 kB / 451.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004967/0.1784, allocations: 366 kB / 451.5 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.1785, allocations: 52 kB / 451.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003523/0.1788, allocations: 111.9 kB / 451.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002018/0.1791, allocations: 171.3 kB / 451.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004311/0.1795, allocations: 429.6 kB / 452.3 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009822/0.1805, allocations: 0.9547 MB / 453.2 MB, free: 10.64 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.1805, allocations: 4 kB / 453.2 MB, free: 10.64 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.093e-06/0.1805, allocations: 0 / 453.2 MB, free: 10.64 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.1805, allocations: 0 / 453.2 MB, free: 10.64 MB / 334.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.001815/0.1824, allocations: 1.119 MB / 454.3 MB, free: 9.469 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.209e-05/0.1824, allocations: 8.031 kB / 454.4 MB, free: 9.461 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.1826, allocations: 111.6 kB / 454.5 MB, free: 9.352 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007939/0.1834, allocations: 0.5669 MB / 455 MB, free: 8.742 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.349e-05/0.1835, allocations: 70 kB / 455.1 MB, free: 8.676 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/0.1836, allocations: 91.98 kB / 455.2 MB, free: 8.586 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/0.1853, allocations: 0.8853 MB / 456.1 MB, free: 7.637 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.095e-05/0.1853, allocations: 11.89 kB / 456.1 MB, free: 7.625 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.387e-05/0.1854, allocations: 36 kB / 456.1 MB, free: 7.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.991e-05/0.1855, allocations: 24 kB / 456.1 MB, free: 7.566 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.1865, allocations: 0.5268 MB / 456.7 MB, free: 7.043 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004329/0.1908, allocations: 3.639 MB / 460.3 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005953/0.1915, allocations: 226.6 kB / 460.5 MB, free: 3.016 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.1917, allocations: 110 kB / 460.6 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004251/0.1921, allocations: 251.3 kB / 460.9 MB, free: 2.605 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.133e-05/0.1922, allocations: 39.05 kB / 460.9 MB, free: 2.559 MB / 334.1 MB Notification: Performance of pre-optimization done (n=30): time 2.685e-06/0.1922, allocations: 0 / 460.9 MB, free: 2.559 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.00267/0.1948, allocations: 1.29 MB / 462.2 MB, free: 1.176 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.1949, allocations: 63.28 kB / 462.3 MB, free: 1.102 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004489/0.1954, allocations: 401.8 kB / 462.7 MB, free: 0.707 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.1954, allocations: 29.7 kB / 462.7 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003295/0.1957, allocations: 474.1 kB / 463.2 MB, free: 204 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.1958, allocations: 138.1 kB / 463.3 MB, free: 64 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/0.196, allocations: 94.16 kB / 463.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.1962, allocations: 358.8 kB / 463.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002241/0.1964, allocations: 117.1 kB / 463.8 MB, free: 15.49 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003698/0.1968, allocations: 306.2 kB / 464.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006218/0.1974, allocations: 455.4 kB / 464.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.1974, allocations: 4 kB / 464.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008326/0.1983, allocations: 0.51 MB / 465.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.1983, allocations: 8.625 kB / 465.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.1983, allocations: 16.03 kB / 465.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002309/0.1986, allocations: 36.84 kB / 465.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003737/0.199, allocations: 127.8 kB / 465.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004868/0.1995, allocations: 0.5562 MB / 465.8 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.1997, allocations: 16 kB / 465.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.024e-05/0.1997, allocations: 32 kB / 465.9 MB, free: 13.23 MB / 350.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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003809/0.2001, allocations: 229.7 kB / 466.1 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.604e-05/0.2002, allocations: 51.28 kB / 466.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006713/0.2009, allocations: 327 kB / 466.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.2009, allocations: 4 kB / 466.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.2009, allocations: 0 / 466.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.64e-05/0.2009, allocations: 8 kB / 466.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/0.2027, allocations: 1.05 MB / 467.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.2027, allocations: 4.156 kB / 467.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003537/0.203, allocations: 83.91 kB / 467.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001291/0.2032, allocations: 36.77 kB / 467.7 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/0.2032, allocations: 11.94 kB / 467.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004075/0.2036, allocations: 0.5446 MB / 468.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.2036, allocations: 3.938 kB / 468.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008101/0.2045, allocations: 0.5682 MB / 468.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.2046, allocations: 124.5 kB / 468.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.213e-05/0.2046, allocations: 11.98 kB / 468.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.2048, allocations: 8 kB / 468.9 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.522e-05/0.2049, allocations: 27.91 kB / 469 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.2049, allocations: 11.98 kB / 469 MB, free: 9.961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000293/0.2052, allocations: 267.2 kB / 469.2 MB, free: 9.703 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.2052, allocations: 0 / 469.2 MB, free: 9.703 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005738/0.2058, allocations: 128 kB / 469.4 MB, free: 9.578 MB / 350.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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002372/0.206, allocations: 123.2 kB / 469.5 MB, free: 9.449 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000692/0.2067, allocations: 328.7 kB / 469.8 MB, free: 9.129 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.2067, allocations: 8.062 kB / 469.8 MB, free: 9.121 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002592/0.207, allocations: 143.8 kB / 470 MB, free: 8.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005572/0.2076, allocations: 70.3 kB / 470 MB, free: 8.914 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00303/0.2106, allocations: 2.04 MB / 472.1 MB, free: 6.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006463/0.2113, allocations: 0.9561 MB / 473 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.2114, allocations: 43.42 kB / 473.1 MB, free: 5.793 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2114, allocations: 0 / 473.1 MB, free: 5.793 MB / 350.1 MB Notification: Performance of Templates: time 0.01676/0.2282, allocations: 11.13 MB / 484.2 MB, free: 10.67 MB / 366.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.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 OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUsCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUsCalcHelperMain.o] Error 1