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.0009639/0.0009641, allocations: 91.73 kB / 17.58 MB, free: 6.168 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.0009431/0.0009434, allocations: 184.1 kB / 18.47 MB, free: 5.336 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.716/1.716, allocations: 205.4 MB / 224.6 MB, free: 13.14 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.000461/0.000461, allocations: 8 kB / 281.4 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1099, allocations: 47.58 MB / 329 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.005447/0.1154, allocations: 4.652 MB / 333.6 MB, free: 15.41 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003568/0.119, allocations: 1.964 MB / 335.6 MB, free: 13.44 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005792/0.1196, allocations: 35.81 kB / 335.6 MB, free: 13.4 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003583/0.1199, allocations: 142.8 kB / 335.8 MB, free: 13.26 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003196/0.1203, allocations: 142.8 kB / 335.9 MB, free: 13.12 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007023/0.121, allocations: 247.4 kB / 336.2 MB, free: 12.88 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008659/0.1219, allocations: 0.8919 MB / 337 MB, free: 11.98 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006045/0.1225, allocations: 421.5 kB / 337.5 MB, free: 11.55 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002723/0.1228, allocations: 227 kB / 337.7 MB, free: 11.33 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002948/0.1231, allocations: 266.5 kB / 337.9 MB, free: 11.07 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.488e-05/0.1231, allocations: 32 kB / 338 MB, free: 11.04 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001961/0.1233, allocations: 83.97 kB / 338 MB, free: 10.95 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.1235, allocations: 123.5 kB / 338.2 MB, free: 10.83 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001496/0.1236, allocations: 173.3 kB / 338.3 MB, free: 10.66 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000797/0.1244, allocations: 0.8728 MB / 339.2 MB, free: 9.781 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.1244, allocations: 4 kB / 339.2 MB, free: 9.777 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1244, allocations: 4 kB / 339.2 MB, free: 9.773 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.1245, allocations: 0 / 339.2 MB, free: 9.773 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.001203/0.1257, allocations: 0.889 MB / 340.1 MB, free: 8.832 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.1257, allocations: 12.03 kB / 340.1 MB, free: 8.82 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.1258, allocations: 90.97 kB / 340.2 MB, free: 8.73 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006356/0.1265, allocations: 497.5 kB / 340.7 MB, free: 8.199 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.31e-05/0.1266, allocations: 66 kB / 340.8 MB, free: 8.137 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.1267, allocations: 84 kB / 340.8 MB, free: 8.055 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001341/0.128, allocations: 0.7927 MB / 341.6 MB, free: 7.223 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.612e-05/0.1281, allocations: 15.83 kB / 341.6 MB, free: 7.207 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.756e-05/0.1281, allocations: 32 kB / 341.7 MB, free: 7.176 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.258e-05/0.1281, allocations: 24 kB / 341.7 MB, free: 7.152 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009023/0.1291, allocations: 0.4918 MB / 342.2 MB, free: 6.664 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003132/0.1322, allocations: 2.907 MB / 345.1 MB, free: 3.629 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005124/0.1327, allocations: 219.3 kB / 345.3 MB, free: 3.406 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.1329, allocations: 104.8 kB / 345.4 MB, free: 3.301 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002913/0.1332, allocations: 251.2 kB / 345.7 MB, free: 3 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.1333, allocations: 38.56 kB / 345.7 MB, free: 2.953 MB / 286.1 MB Notification: Performance of pre-optimization done (n=30): time 3.176e-06/0.1333, allocations: 3.938 kB / 345.7 MB, free: 2.949 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.002376/0.1357, allocations: 1.283 MB / 347 MB, free: 1.57 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.1357, allocations: 55.41 kB / 347 MB, free: 1.504 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003617/0.1361, allocations: 296.6 kB / 347.3 MB, free: 1.207 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.1361, allocations: 33.7 kB / 347.4 MB, free: 1.168 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003173/0.1364, allocations: 394.5 kB / 347.8 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.666e-05/0.1366, allocations: 138.1 kB / 347.9 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.826e-05/0.1366, allocations: 12 kB / 347.9 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.1367, allocations: 346.8 kB / 348.2 MB, free: 288 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.1369, allocations: 105.1 kB / 348.3 MB, free: 184 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002983/0.1372, allocations: 258.5 kB / 348.6 MB, free: 15.87 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002446/0.1375, allocations: 151.7 kB / 348.7 MB, free: 15.72 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1375, allocations: 0 / 348.7 MB, free: 15.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006675/0.1382, allocations: 457.1 kB / 349.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.1382, allocations: 8 kB / 349.2 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.1382, allocations: 7.938 kB / 349.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002224/0.1385, allocations: 41.42 kB / 349.2 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003393/0.1388, allocations: 111.8 kB / 349.4 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004903/0.1393, allocations: 0.5446 MB / 349.9 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/0.1395, allocations: 16 kB / 349.9 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.726e-05/0.1396, allocations: 24 kB / 349.9 MB, free: 14.49 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.0003255/0.1399, allocations: 229.7 kB / 350.2 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.057e-05/0.14, allocations: 35.53 kB / 350.2 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005759/0.1406, allocations: 326 kB / 350.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.1406, allocations: 4 kB / 350.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.371e-06/0.1406, allocations: 3.984 kB / 350.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.1406, allocations: 4 kB / 350.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/0.1421, allocations: 1.03 MB / 351.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.1421, allocations: 0 / 351.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003277/0.1424, allocations: 79.89 kB / 351.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001218/0.1426, allocations: 36.84 kB / 351.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.1426, allocations: 8 kB / 351.7 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003247/0.1429, allocations: 0.5446 MB / 352.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.1429, allocations: 4.188 kB / 352.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007019/0.1436, allocations: 0.5556 MB / 352.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.726e-05/0.1437, allocations: 104.6 kB / 352.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.358e-05/0.1438, allocations: 8 kB / 352.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.1439, allocations: 12 kB / 352.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.094e-05/0.144, allocations: 24.11 kB / 352.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.528e-05/0.144, allocations: 23.92 kB / 352.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001856/0.1442, allocations: 211.1 kB / 353.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1442, allocations: 0 / 353.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005514/0.1448, allocations: 116 kB / 353.3 MB, free: 10.97 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.0001788/0.1449, allocations: 115.2 kB / 353.4 MB, free: 10.85 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005701/0.1455, allocations: 320 kB / 353.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1455, allocations: 0 / 353.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002341/0.1458, allocations: 138.1 kB / 353.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004721/0.1463, allocations: 61.06 kB / 353.9 MB, free: 10.35 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002641/0.1489, allocations: 2.059 MB / 355.9 MB, free: 8.242 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004914/0.1494, allocations: 0.9249 MB / 356.9 MB, free: 7.289 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.488e-05/0.1495, allocations: 35.44 kB / 356.9 MB, free: 7.254 MB / 302.1 MB Notification: Performance of SimCode: time 3.066e-06/0.1495, allocations: 0 / 356.9 MB, free: 7.254 MB / 302.1 MB Notification: Performance of Templates: time 0.01187/0.1614, allocations: 9.617 MB / 366.5 MB, free: 13.62 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++ 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_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