Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) 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(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_4.0.0_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_4.0.0_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.001184/0.001184, allocations: 95.2 kB / 16.95 MB, free: 5.953 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.001652/0.001652, allocations: 178.4 kB / 17.84 MB, free: 5.617 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.566/1.566, allocations: 223.2 MB / 241.9 MB, free: 356 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003285/0.0003285, allocations: 12 kB / 301.4 MB, free: 6.469 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1585, allocations: 50.41 MB / 351.9 MB, free: 4.047 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.007546/0.1662, allocations: 4.67 MB / 356.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00547/0.1717, allocations: 1.924 MB / 358.5 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001623/0.1734, allocations: 35.75 kB / 358.5 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009292/0.1743, allocations: 142.8 kB / 358.6 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001315/0.1757, allocations: 146.8 kB / 358.8 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.177, allocations: 247.4 kB / 359 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00138/0.1784, allocations: 0.8996 MB / 359.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008057/0.1792, allocations: 417.5 kB / 360.3 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005065/0.1797, allocations: 235 kB / 360.5 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000342/0.1801, allocations: 258.6 kB / 360.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.891e-05/0.1801, allocations: 32 kB / 360.8 MB, free: 11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002543/0.1804, allocations: 87.91 kB / 360.9 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.1805, allocations: 123.5 kB / 361 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001685/0.1807, allocations: 173.3 kB / 361.2 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008961/0.1816, allocations: 0.8884 MB / 362.1 MB, free: 9.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1816, allocations: 0 / 362.1 MB, free: 9.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1816, allocations: 0 / 362.1 MB, free: 9.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.505e-05/0.1816, allocations: 0 / 362.1 MB, free: 9.73 MB / 302.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.001451/0.1831, allocations: 0.8813 MB / 363 MB, free: 8.797 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.1832, allocations: 8.031 kB / 363 MB, free: 8.789 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001383/0.1833, allocations: 86.97 kB / 363.1 MB, free: 8.703 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007277/0.184, allocations: 0.4897 MB / 363.6 MB, free: 8.176 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.974e-05/0.1841, allocations: 65.94 kB / 363.6 MB, free: 8.113 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.1842, allocations: 87.91 kB / 363.7 MB, free: 8.027 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/0.1858, allocations: 0.7927 MB / 364.5 MB, free: 7.195 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.692e-05/0.1858, allocations: 11.98 kB / 364.5 MB, free: 7.184 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.734e-05/0.1859, allocations: 35.95 kB / 364.6 MB, free: 7.148 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/0.1859, allocations: 20 kB / 364.6 MB, free: 7.129 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.187, allocations: 0.4957 MB / 365.1 MB, free: 6.637 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004358/0.1914, allocations: 2.899 MB / 368 MB, free: 3.613 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006543/0.1921, allocations: 232.1 kB / 368.2 MB, free: 3.375 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002271/0.1923, allocations: 104.8 kB / 368.3 MB, free: 3.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004423/0.1928, allocations: 251.3 kB / 368.5 MB, free: 2.969 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.1928, allocations: 38.5 kB / 368.6 MB, free: 2.922 MB / 302.1 MB Notification: Performance of pre-optimization done (n=30): time 3.818e-06/0.1928, allocations: 0 / 368.6 MB, free: 2.922 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002865/0.1957, allocations: 1.273 MB / 369.9 MB, free: 1.551 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.1958, allocations: 55.41 kB / 369.9 MB, free: 1.484 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004879/0.1962, allocations: 308.3 kB / 370.2 MB, free: 1.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.1963, allocations: 29.7 kB / 370.2 MB, free: 1.145 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004686/0.1968, allocations: 398.6 kB / 370.6 MB, free: 0.75 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.1969, allocations: 134.1 kB / 370.8 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.877e-05/0.1969, allocations: 8 kB / 370.8 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.1971, allocations: 350.8 kB / 371.1 MB, free: 264 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.1973, allocations: 109.1 kB / 371.2 MB, free: 156 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2893/0.4865, allocations: 244.9 kB / 371.5 MB, free: 24.08 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006172/0.4872, allocations: 147.7 kB / 371.6 MB, free: 24.08 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.4872, allocations: 1.812 kB / 371.6 MB, free: 24.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001231/0.4885, allocations: 468 kB / 372.1 MB, free: 24.01 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.251e-05/0.4885, allocations: 7.359 kB / 372.1 MB, free: 24.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.045e-05/0.4885, allocations: 5.25 kB / 372.1 MB, free: 24.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004731/0.489, allocations: 34.88 kB / 372.1 MB, free: 24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004307/0.4895, allocations: 110.8 kB / 372.2 MB, free: 24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004628/0.4899, allocations: 0.5596 MB / 372.8 MB, free: 23.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002581/0.4902, allocations: 16.02 kB / 372.8 MB, free: 23.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-05/0.4903, allocations: 21.58 kB / 372.8 MB, free: 23.48 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 (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.0004336/0.4907, allocations: 220.4 kB / 373 MB, free: 23.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.4908, allocations: 40.03 kB / 373.1 MB, free: 23.36 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007812/0.4916, allocations: 322.6 kB / 373.4 MB, free: 23.31 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.4917, allocations: 5.828 kB / 373.4 MB, free: 23.31 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/0.4917, allocations: 1.141 kB / 373.4 MB, free: 23.31 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.4917, allocations: 1.906 kB / 373.4 MB, free: 23.31 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002086/0.4938, allocations: 1.015 MB / 374.4 MB, free: 22.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.4938, allocations: 9.375 kB / 374.4 MB, free: 22.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004169/0.4942, allocations: 79.95 kB / 374.5 MB, free: 22.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000235/0.4945, allocations: 36.31 kB / 374.5 MB, free: 22.93 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.587e-05/0.4945, allocations: 14.55 kB / 374.5 MB, free: 22.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003461/0.4949, allocations: 0.5474 MB / 375.1 MB, free: 22.41 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.4949, allocations: 1.281 kB / 375.1 MB, free: 22.41 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008946/0.4958, allocations: 0.5578 MB / 375.6 MB, free: 22.21 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.672e-05/0.4959, allocations: 113.2 kB / 375.8 MB, free: 22.11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.845e-05/0.4959, allocations: 9.031 kB / 375.8 MB, free: 22.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.4961, allocations: 10.73 kB / 375.8 MB, free: 22.11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.164e-05/0.4962, allocations: 30.3 kB / 375.8 MB, free: 22.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.374e-05/0.4962, allocations: 14.48 kB / 375.8 MB, free: 22.11 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000256/0.4965, allocations: 202.5 kB / 376 MB, free: 22.03 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4965, allocations: 5.828 kB / 376 MB, free: 22.03 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005978/0.4971, allocations: 120.1 kB / 376.1 MB, free: 22.03 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 (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.0002319/0.4973, allocations: 123.6 kB / 376.3 MB, free: 21.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00077/0.4981, allocations: 301.7 kB / 376.6 MB, free: 21.84 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4981, allocations: 0 / 376.6 MB, free: 21.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003337/0.4985, allocations: 145.1 kB / 376.7 MB, free: 21.79 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005687/0.499, allocations: 72.75 kB / 376.8 MB, free: 21.76 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003174/0.5022, allocations: 2.05 MB / 378.8 MB, free: 20.33 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008508/0.5031, allocations: 0.9239 MB / 379.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.5032, allocations: 36.12 kB / 379.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of SimCode: time 7.91e-07/0.5032, allocations: 1.562 kB / 379.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of Templates: time 0.02098/0.5242, allocations: 9.597 MB / 389.4 MB, free: 16.21 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.makefile make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.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 OMCppModelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUsCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUsCalcHelperMain.o] Error 1