Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.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) 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.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="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") translateModel(Modelica.Mechanics.Rotational.Examples.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="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 108.2 kB / 17.81 MB, free: 5.559 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.001073/0.001073, allocations: 197.9 kB / 18.73 MB, free: 4.641 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.765/1.765, allocations: 205.1 MB / 224.6 MB, free: 12.47 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.001348/0.001348, allocations: 51.88 kB / 280.6 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1236, allocations: 46.62 MB / 327.2 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.007299/0.1309, allocations: 5.399 MB / 332.6 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004892/0.1359, allocations: 2.065 MB / 334.7 MB, free: 13.38 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006684/0.1366, allocations: 39.81 kB / 334.7 MB, free: 13.34 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006996/0.1373, allocations: 158.8 kB / 334.9 MB, free: 13.19 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006267/0.138, allocations: 146.8 kB / 335 MB, free: 13.04 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.1392, allocations: 327.5 kB / 335.4 MB, free: 12.72 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001607/0.1408, allocations: 0.9664 MB / 336.3 MB, free: 11.75 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001283/0.1421, allocations: 0.5475 MB / 336.9 MB, free: 11.18 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007257/0.1429, allocations: 290.9 kB / 337.2 MB, free: 10.9 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006571/0.1435, allocations: 342.2 kB / 337.5 MB, free: 10.56 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001305/0.1437, allocations: 56 kB / 337.6 MB, free: 10.51 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003868/0.1441, allocations: 103.9 kB / 337.7 MB, free: 10.41 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002961/0.1444, allocations: 167.3 kB / 337.8 MB, free: 10.24 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005939/0.145, allocations: 394 kB / 338.2 MB, free: 9.855 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001278/0.1463, allocations: 0.9004 MB / 339.1 MB, free: 8.953 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.1463, allocations: 4 kB / 339.1 MB, free: 8.949 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1463, allocations: 0 / 339.1 MB, free: 8.949 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.1464, allocations: 0 / 339.1 MB, free: 8.949 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002417/0.1488, allocations: 1.03 MB / 340.1 MB, free: 7.867 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.235e-05/0.1489, allocations: 8.031 kB / 340.1 MB, free: 7.859 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002363/0.1491, allocations: 91.91 kB / 340.2 MB, free: 7.77 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009591/0.1501, allocations: 0.5024 MB / 340.7 MB, free: 7.227 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001611/0.1503, allocations: 62.38 kB / 340.8 MB, free: 7.168 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001736/0.1504, allocations: 84.28 kB / 340.9 MB, free: 7.086 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002028/0.1525, allocations: 0.8087 MB / 341.7 MB, free: 6.238 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.062e-05/0.1526, allocations: 7.984 kB / 341.7 MB, free: 6.23 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.515e-05/0.1527, allocations: 36 kB / 341.7 MB, free: 6.195 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.643e-05/0.1527, allocations: 23.94 kB / 341.8 MB, free: 6.172 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001539/0.1542, allocations: 0.4918 MB / 342.2 MB, free: 5.684 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006077/0.1603, allocations: 2.899 MB / 345.1 MB, free: 2.652 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000837/0.1612, allocations: 214.7 kB / 345.4 MB, free: 2.434 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003269/0.1615, allocations: 108.8 kB / 345.5 MB, free: 2.324 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000442/0.162, allocations: 247.3 kB / 345.7 MB, free: 2.027 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.838e-05/0.1621, allocations: 38.56 kB / 345.7 MB, free: 1.98 MB / 286.1 MB Notification: Performance of pre-optimization done (n=30): time 3.166e-06/0.1621, allocations: 7.938 kB / 345.7 MB, free: 1.973 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.003761/0.1658, allocations: 1.252 MB / 347 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/0.1659, allocations: 59.39 kB / 347.1 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005023/0.1664, allocations: 304.5 kB / 347.4 MB, free: 252 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.1665, allocations: 29.7 kB / 347.4 MB, free: 216 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003527/0.1668, allocations: 402.6 kB / 347.8 MB, free: 15.81 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/0.167, allocations: 142 kB / 347.9 MB, free: 15.67 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/0.1672, allocations: 82.17 kB / 348 MB, free: 15.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002761/0.1675, allocations: 358.7 kB / 348.3 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002806/0.1678, allocations: 105.1 kB / 348.4 MB, free: 15.12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004555/0.1682, allocations: 258.5 kB / 348.7 MB, free: 14.81 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007629/0.169, allocations: 388.7 kB / 349.1 MB, free: 14.37 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.169, allocations: 0 / 349.1 MB, free: 14.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001056/0.1701, allocations: 464.9 kB / 349.5 MB, free: 13.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.1701, allocations: 4 kB / 349.5 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.1701, allocations: 4 kB / 349.5 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000266/0.1704, allocations: 37.44 kB / 349.6 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004021/0.1708, allocations: 115.8 kB / 349.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000557/0.1714, allocations: 0.5601 MB / 350.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.1716, allocations: 8 kB / 350.3 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.958e-05/0.1717, allocations: 24 kB / 350.3 MB, free: 13.13 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (60): * Single equations (assignments): 59 * 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.0003958/0.1721, allocations: 217.7 kB / 350.5 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.903e-05/0.1721, allocations: 39.59 kB / 350.5 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006875/0.1728, allocations: 318 kB / 350.8 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.1728, allocations: 4 kB / 350.8 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.1729, allocations: 0 / 350.8 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.1729, allocations: 7.984 kB / 350.9 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/0.1744, allocations: 1.018 MB / 351.9 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.1744, allocations: 0 / 351.9 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003594/0.1748, allocations: 75.91 kB / 351.9 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001376/0.1749, allocations: 40.94 kB / 352 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.816e-05/0.175, allocations: 11.98 kB / 352 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004276/0.1754, allocations: 0.5483 MB / 352.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.1754, allocations: 4.031 kB / 352.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008636/0.1763, allocations: 0.5399 MB / 353.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.1764, allocations: 120.7 kB / 353.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.244e-05/0.1765, allocations: 12 kB / 353.2 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.1767, allocations: 11.98 kB / 353.2 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.075e-05/0.1767, allocations: 32 kB / 353.3 MB, free: 9.965 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.1768, allocations: 8 kB / 353.3 MB, free: 9.957 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002669/0.177, allocations: 211 kB / 353.5 MB, free: 9.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1771, allocations: 4 kB / 353.5 MB, free: 9.746 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005681/0.1776, allocations: 116 kB / 353.6 MB, free: 9.633 MB / 302.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.phi,inertia2b.w,torqueToAngle2b.phi,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.0002457/0.1779, allocations: 123 kB / 353.7 MB, free: 9.504 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006304/0.1785, allocations: 303.5 kB / 354 MB, free: 9.207 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1785, allocations: 0 / 354 MB, free: 9.207 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002727/0.1788, allocations: 142.2 kB / 354.2 MB, free: 9.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005388/0.1794, allocations: 73.8 kB / 354.2 MB, free: 9 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003101/0.1825, allocations: 1.972 MB / 356.2 MB, free: 6.977 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006349/0.1831, allocations: 0.9287 MB / 357.1 MB, free: 6.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.242e-05/0.1832, allocations: 31.44 kB / 357.2 MB, free: 5.988 MB / 302.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1832, allocations: 4 kB / 357.2 MB, free: 5.984 MB / 302.1 MB Notification: Performance of Templates: time 0.01438/0.1976, allocations: 9.714 MB / 366.9 MB, free: 12.26 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.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 OMCppModelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUsCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUsCalcHelperMain.o] Error 1