Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.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.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directMass.mass.s|directMass.mass.v|mass2a.s|mass2a.v|mass2b.s|mass2b.v|mass3a.s|mass3a.v|mass3b.s|mass3b.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") translateModel(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directMass.mass.s|directMass.mass.v|mass2a.s|mass2a.v|mass2b.s|mass2b.v|mass3a.s|mass3a.v|mass3b.s|mass3b.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008249/0.0008248, allocations: 89.91 kB / 17.58 MB, free: 5.758 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.000877/0.0008772, allocations: 176.9 kB / 18.47 MB, free: 5.234 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.707/1.707, 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.0004967/0.0004969, allocations: 12 kB / 281.4 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1196, allocations: 47.58 MB / 329 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.005422/0.1251, allocations: 3.902 MB / 332.9 MB, free: 176 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00311/0.1282, allocations: 1.303 MB / 334.2 MB, free: 14.86 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.1293, allocations: 19.88 kB / 334.2 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006885/0.13, allocations: 130.9 kB / 334.3 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009861/0.131, allocations: 126.8 kB / 334.5 MB, free: 14.59 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.1323, allocations: 247.6 kB / 334.7 MB, free: 14.35 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001801/0.1341, allocations: 0.853 MB / 335.6 MB, free: 13.49 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009116/0.135, allocations: 288.3 kB / 335.8 MB, free: 13.2 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007557/0.1358, allocations: 246.7 kB / 336.1 MB, free: 12.95 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003885/0.1362, allocations: 270.3 kB / 336.3 MB, free: 12.69 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.177e-05/0.1363, allocations: 31.94 kB / 336.4 MB, free: 12.66 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002444/0.1366, allocations: 71.91 kB / 336.4 MB, free: 12.59 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.1367, allocations: 115.4 kB / 336.6 MB, free: 12.47 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001726/0.1369, allocations: 177.2 kB / 336.7 MB, free: 12.29 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008132/0.1377, allocations: 0.7638 MB / 337.5 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.1377, allocations: 0 / 337.5 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.417e-06/0.1377, allocations: 0 / 337.5 MB, free: 11.53 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.1377, allocations: 0 / 337.5 MB, free: 11.53 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.001522/0.1393, allocations: 0.9821 MB / 338.5 MB, free: 10.5 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.1393, allocations: 15.97 kB / 338.5 MB, free: 10.48 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.1395, allocations: 98.78 kB / 338.6 MB, free: 10.38 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008336/0.1403, allocations: 0.5764 MB / 339.2 MB, free: 9.762 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.829e-05/0.1404, allocations: 62 kB / 339.2 MB, free: 9.699 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.1405, allocations: 87.98 kB / 339.3 MB, free: 9.613 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001579/0.1421, allocations: 0.8364 MB / 340.1 MB, free: 8.672 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.245e-05/0.1422, allocations: 11.91 kB / 340.2 MB, free: 8.66 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.186e-05/0.1422, allocations: 32 kB / 340.2 MB, free: 8.629 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.1423, allocations: 20 kB / 340.2 MB, free: 8.609 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000854/0.1431, allocations: 479.2 kB / 340.7 MB, free: 8.141 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004142/0.1473, allocations: 4.404 MB / 345.1 MB, free: 3.543 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000557/0.1478, allocations: 303.4 kB / 345.4 MB, free: 3.238 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002251/0.1481, allocations: 149.5 kB / 345.5 MB, free: 3.09 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003094/0.1484, allocations: 166.6 kB / 345.7 MB, free: 2.891 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.1484, allocations: 38.94 kB / 345.7 MB, free: 2.844 MB / 286.1 MB Notification: Performance of pre-optimization done (n=46): time 2.715e-06/0.1484, allocations: 0 / 345.7 MB, free: 2.844 MB / 286.1 MB Notification: Performance of matching and sorting (n=57): time 0.003202/0.1517, allocations: 1.728 MB / 347.4 MB, free: 1.02 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.1517, allocations: 59.97 kB / 347.5 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006077/0.1523, allocations: 0.5391 MB / 348 MB, free: 408 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/0.1524, allocations: 33.7 kB / 348.1 MB, free: 368 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004193/0.1528, allocations: 482.6 kB / 348.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000223/0.153, allocations: 209 kB / 348.8 MB, free: 15.67 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.658e-05/0.1531, allocations: 16 kB / 348.8 MB, free: 15.65 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0003038/0.1534, allocations: 382.8 kB / 349.1 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002651/0.1536, allocations: 153.9 kB / 349.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006498/0.1543, allocations: 467.1 kB / 349.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004198/0.1547, allocations: 236.7 kB / 350 MB, free: 14.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1547, allocations: 0 / 350 MB, free: 14.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001114/0.1559, allocations: 0.7418 MB / 350.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.1559, allocations: 11.94 kB / 350.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.1559, allocations: 12 kB / 350.7 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001763/0.1561, allocations: 44.84 kB / 350.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005967/0.1567, allocations: 183.7 kB / 351 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/0.1588, allocations: 1.514 MB / 352.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002982/0.1591, allocations: 31.94 kB / 352.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.765e-05/0.1592, allocations: 36 kB / 352.5 MB, free: 11.59 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (101): * Single equations (assignments): 100 * 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: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003952/0.1596, allocations: 237.5 kB / 352.8 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.1597, allocations: 79.02 kB / 352.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001383/0.1598, allocations: 79.06 kB / 352.9 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1598, allocations: 4 kB / 352.9 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.1599, allocations: 4.188 kB / 352.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.1599, allocations: 0 / 352.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001946/0.1618, allocations: 1.423 MB / 354.4 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.1618, allocations: 4 kB / 354.4 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004581/0.1623, allocations: 124.2 kB / 354.5 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.834e-05/0.1624, allocations: 24.84 kB / 354.5 MB, free: 9.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.286e-05/0.1624, allocations: 16 kB / 354.5 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009189/0.1633, allocations: 1.268 MB / 355.8 MB, free: 8.082 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.1634, allocations: 7.938 kB / 355.8 MB, free: 8.074 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009958/0.1644, allocations: 0.7802 MB / 356.6 MB, free: 7.246 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.1645, allocations: 136.2 kB / 356.7 MB, free: 7.094 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.874e-05/0.1645, allocations: 12 kB / 356.7 MB, free: 7.082 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.1647, allocations: 16 kB / 356.7 MB, free: 7.066 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.045e-05/0.1648, allocations: 51.92 kB / 356.8 MB, free: 7.016 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.519e-05/0.1648, allocations: 20 kB / 356.8 MB, free: 6.996 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004837/0.1653, allocations: 351.1 kB / 357.2 MB, free: 6.656 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1653, allocations: 0 / 357.2 MB, free: 6.656 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000608/0.166, allocations: 140 kB / 357.3 MB, free: 6.52 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 10 (directMass.mass.s,directMass.mass.v,mass2a.s,mass2a.v,mass2b.s,mass2b.v,mass3a.s,mass3a.v,mass3b.s,mass3b.v) * 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 (56): * Single equations (assignments): 55 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001648/0.1661, allocations: 111.2 kB / 357.4 MB, free: 6.398 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009576/0.1671, allocations: 0.5963 MB / 358 MB, free: 5.789 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1671, allocations: 4.125 kB / 358 MB, free: 5.785 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003921/0.1675, allocations: 306.4 kB / 358.3 MB, free: 5.473 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005741/0.1681, allocations: 91.78 kB / 358.4 MB, free: 5.383 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003082/0.1712, allocations: 2.338 MB / 360.7 MB, free: 2.973 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006335/0.1718, allocations: 0.9613 MB / 361.7 MB, free: 1.98 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.172, allocations: 63.42 kB / 361.8 MB, free: 1.918 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.172, allocations: 0 / 361.8 MB, free: 1.918 MB / 302.1 MB Notification: Performance of Templates: time 0.01631/0.1883, allocations: 12.16 MB / 373.9 MB, free: 5.742 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.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.Translational.Examples.GenerationOfFMUsCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUsCalcHelperMain.o] Error 1