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.001162/0.001161, allocations: 93.19 kB / 16.66 MB, free: 5.684 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.001511/0.001511, allocations: 174.3 kB / 17.57 MB, free: 5.414 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.926/1.926, allocations: 205.4 MB / 223.8 MB, free: 13.05 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.2869/0.2869, allocations: 43.59 MB / 315.6 MB, free: 408 kB / 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.0005798/0.0005798, allocations: 25.23 kB / 385.2 MB, free: 56.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1573, allocations: 58.86 MB / 444.1 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.005372/0.1627, allocations: 5.282 MB / 449.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004768/0.1675, allocations: 2.252 MB / 451.6 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006927/0.1683, allocations: 39.75 kB / 451.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004527/0.1687, allocations: 186.6 kB / 451.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004894/0.1692, allocations: 146.8 kB / 452 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.1702, allocations: 387.4 kB / 452.4 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001085/0.1713, allocations: 1.048 MB / 453.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007773/0.1721, allocations: 0.5517 MB / 454 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003827/0.1725, allocations: 270.7 kB / 454.2 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004514/0.173, allocations: 302.2 kB / 454.5 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.61e-05/0.1731, allocations: 32 kB / 454.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002378/0.1733, allocations: 91.91 kB / 454.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001764/0.1735, allocations: 139.3 kB / 454.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003942/0.1739, allocations: 411.4 kB / 455.2 MB, free: 9.977 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.175, allocations: 0.9272 MB / 456.1 MB, free: 9.047 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.175, allocations: 0 / 456.1 MB, free: 9.047 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.4e-06/0.175, allocations: 0 / 456.1 MB, free: 9.047 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.175, allocations: 3.938 kB / 456.1 MB, free: 9.043 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.001456/0.1765, allocations: 0.9553 MB / 457.1 MB, free: 8.035 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.1765, allocations: 8.031 kB / 457.1 MB, free: 8.027 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/0.1767, allocations: 111.6 kB / 457.2 MB, free: 7.918 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009056/0.1776, allocations: 0.5669 MB / 457.7 MB, free: 7.309 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.731e-05/0.1777, allocations: 66 kB / 457.8 MB, free: 7.246 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/0.1778, allocations: 92 kB / 457.9 MB, free: 7.156 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001681/0.1795, allocations: 0.893 MB / 458.8 MB, free: 6.199 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.773e-05/0.1795, allocations: 8 kB / 458.8 MB, free: 6.191 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.318e-05/0.1796, allocations: 36 kB / 458.8 MB, free: 6.156 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.453e-05/0.1797, allocations: 27.98 kB / 458.9 MB, free: 6.129 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.1807, allocations: 0.5229 MB / 459.4 MB, free: 5.609 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004424/0.1852, allocations: 3.65 MB / 463 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005814/0.1858, allocations: 226.6 kB / 463.3 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.186, allocations: 106.1 kB / 463.4 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003004/0.1863, allocations: 251.3 kB / 463.6 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.1863, allocations: 35.06 kB / 463.6 MB, free: 1.121 MB / 334.1 MB Notification: Performance of pre-optimization done (n=30): time 2.225e-06/0.1863, allocations: 0 / 463.6 MB, free: 1.121 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.002519/0.1889, allocations: 1.306 MB / 464.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.208e-05/0.1889, allocations: 67.33 kB / 465 MB, free: 15.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004771/0.1894, allocations: 401.8 kB / 465.4 MB, free: 15.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.1895, allocations: 29.7 kB / 465.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003841/0.1899, allocations: 470.1 kB / 465.9 MB, free: 14.74 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.19, allocations: 134 kB / 466 MB, free: 14.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.185e-05/0.1901, allocations: 49.7 kB / 466.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002254/0.1903, allocations: 362.8 kB / 466.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/0.1905, allocations: 109.1 kB / 466.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004555/0.191, allocations: 310.3 kB / 466.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006692/0.1917, allocations: 467.4 kB / 467.3 MB, free: 13.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.1917, allocations: 0 / 467.3 MB, free: 13.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008914/0.1926, allocations: 0.5133 MB / 467.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.1926, allocations: 8 kB / 467.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/0.1927, allocations: 7.984 kB / 467.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002082/0.1929, allocations: 41.5 kB / 467.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000361/0.1932, allocations: 123.8 kB / 468 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004773/0.1937, allocations: 0.5756 MB / 468.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.1939, allocations: 16 kB / 468.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.472e-05/0.194, allocations: 28 kB / 468.6 MB, free: 11.8 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.0003732/0.1944, allocations: 229.6 kB / 468.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.331e-05/0.1944, allocations: 51.34 kB / 468.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006596/0.1951, allocations: 338.9 kB / 469.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.1951, allocations: 4 kB / 469.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.1951, allocations: 0 / 469.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.1952, allocations: 3.984 kB / 469.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001548/0.1967, allocations: 1.061 MB / 470.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.1967, allocations: 160 / 470.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003328/0.1971, allocations: 83.89 kB / 470.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001223/0.1972, allocations: 36.78 kB / 470.4 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/0.1972, allocations: 12 kB / 470.4 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003765/0.1976, allocations: 0.5407 MB / 470.9 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.1976, allocations: 3.938 kB / 471 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008609/0.1985, allocations: 0.5761 MB / 471.5 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.664e-05/0.1986, allocations: 116.5 kB / 471.6 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.459e-05/0.1987, allocations: 19.98 kB / 471.7 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.1988, allocations: 8 kB / 471.7 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.908e-05/0.1989, allocations: 23.91 kB / 471.7 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/0.1989, allocations: 12 kB / 471.7 MB, free: 8.516 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003054/0.1992, allocations: 271.1 kB / 472 MB, free: 8.254 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1992, allocations: 4 kB / 472 MB, free: 8.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000568/0.1998, allocations: 124 kB / 472.1 MB, free: 8.129 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.0002141/0.2, allocations: 123.2 kB / 472.2 MB, free: 8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000615/0.2007, allocations: 328.3 kB / 472.5 MB, free: 7.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.2007, allocations: 0 / 472.5 MB, free: 7.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000261/0.2009, allocations: 155.8 kB / 472.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005792/0.2015, allocations: 78.89 kB / 472.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003188/0.2047, allocations: 2.182 MB / 474.9 MB, free: 5.215 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007735/0.2055, allocations: 0.9561 MB / 475.9 MB, free: 4.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.2056, allocations: 51.36 kB / 476 MB, free: 4.18 MB / 350.1 MB Notification: Performance of SimCode: time 6.32e-07/0.2056, allocations: 0 / 476 MB, free: 4.18 MB / 350.1 MB Notification: Performance of Templates: time 0.01629/0.2219, allocations: 10.99 MB / 486.9 MB, free: 9.191 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