Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.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.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 94.75 kB / 16.95 MB, free: 5.672 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.001535/0.001535, allocations: 187.5 kB / 17.85 MB, free: 5.32 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.601/1.601, allocations: 223.2 MB / 241.9 MB, free: 14.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000385/0.0003852, allocations: 8 kB / 301.5 MB, free: 6.188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1596, allocations: 50.41 MB / 351.9 MB, free: 3.758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002609/0.1623, allocations: 1.458 MB / 353.3 MB, free: 2.289 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.1638, allocations: 0.5926 MB / 353.9 MB, free: 1.691 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.1639, allocations: 3.938 kB / 353.9 MB, free: 1.688 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.164, allocations: 7.922 kB / 353.9 MB, free: 1.68 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.1641, allocations: 27.77 kB / 354 MB, free: 1.652 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002868/0.1644, allocations: 39.89 kB / 354 MB, free: 1.613 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.1646, allocations: 119.4 kB / 354.1 MB, free: 1.496 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.1648, allocations: 21.3 kB / 354.1 MB, free: 1.469 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.212e-05/0.1649, allocations: 39.84 kB / 354.2 MB, free: 1.43 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.535e-05/0.165, allocations: 43.78 kB / 354.2 MB, free: 1.387 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.165, allocations: 4 kB / 354.2 MB, free: 1.383 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.377e-05/0.1651, allocations: 23.98 kB / 354.2 MB, free: 1.359 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.005e-05/0.1651, allocations: 15.92 kB / 354.3 MB, free: 1.344 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.037e-05/0.1652, allocations: 41.64 kB / 354.3 MB, free: 1.297 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.1654, allocations: 104 kB / 354.4 MB, free: 1.195 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1654, allocations: 0 / 354.4 MB, free: 1.195 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1654, allocations: 0 / 354.4 MB, free: 1.195 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.1655, allocations: 0 / 354.4 MB, free: 1.195 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006837/0.1662, allocations: 395.2 kB / 354.8 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.1662, allocations: 8.031 kB / 354.8 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002651/0.1665, allocations: 23.89 kB / 354.8 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.1668, allocations: 206.8 kB / 355 MB, free: 500 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.1668, allocations: 8.188 kB / 355 MB, free: 492 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.765e-05/0.1669, allocations: 8 kB / 355 MB, free: 484 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002733/0.1671, allocations: 94.16 kB / 355.1 MB, free: 388 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.1672, allocations: 0 / 355.1 MB, free: 388 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.1672, allocations: 4 kB / 355.1 MB, free: 384 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.158e-05/0.1672, allocations: 11.89 kB / 355.1 MB, free: 372 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001973/0.1674, allocations: 56.53 kB / 355.2 MB, free: 316 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008458/0.1683, allocations: 452.4 kB / 355.6 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000364/0.1687, allocations: 98.58 kB / 355.7 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.1688, allocations: 32.86 kB / 355.8 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.1688, allocations: 7.984 kB / 355.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.1689, allocations: 30.56 kB / 355.8 MB, free: 15.62 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.522e-06/0.1689, allocations: 0 / 355.8 MB, free: 15.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001874/0.1708, allocations: 0.5311 MB / 356.3 MB, free: 15.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.904e-05/0.1709, allocations: 55.41 kB / 356.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.1711, allocations: 125.2 kB / 356.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.1711, allocations: 25.7 kB / 356.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.1712, allocations: 107.9 kB / 356.6 MB, free: 14.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.013e-05/0.1713, allocations: 43.45 kB / 356.7 MB, free: 14.64 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.239e-05/0.1713, allocations: 4 kB / 356.7 MB, free: 14.63 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002197/0.1715, allocations: 318.8 kB / 357 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.652e-05/0.1716, allocations: 27.98 kB / 357 MB, free: 14.29 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.1718, allocations: 75.19 kB / 357.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.1719, allocations: 28 kB / 357.1 MB, free: 14.17 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.1719, allocations: 4 kB / 357.1 MB, free: 14.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003569/0.1723, allocations: 133.5 kB / 357.3 MB, free: 14.03 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/0.1723, allocations: 8 kB / 357.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.1724, allocations: 0 / 357.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.1724, allocations: 4 kB / 357.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.1726, allocations: 35.92 kB / 357.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.1726, allocations: 0 / 357.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.1727, allocations: 4 kB / 357.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.1728, allocations: 4 kB / 357.3 MB, free: 13.98 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (17): * Single equations (assignments): 17 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001415/0.1729, allocations: 125.9 kB / 357.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.416e-05/0.173, allocations: 11.84 kB / 357.5 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.848e-05/0.1731, allocations: 20.36 kB / 357.5 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1731, allocations: 0 / 357.5 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.1731, allocations: 7.938 kB / 357.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-05/0.1731, allocations: 4 kB / 357.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009006/0.174, allocations: 428 kB / 357.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.174, allocations: 4 kB / 357.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.1743, allocations: 31.92 kB / 357.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/0.1743, allocations: 4 kB / 357.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.1743, allocations: 0 / 357.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.1743, allocations: 0 / 357.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.1743, allocations: 4 kB / 358 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004408/0.1748, allocations: 261 kB / 358.2 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.959e-05/0.1749, allocations: 84.95 kB / 358.3 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.207e-05/0.1749, allocations: 4 kB / 358.3 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.175, allocations: 0 / 358.3 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.1751, allocations: 12.03 kB / 358.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.1751, allocations: 4 kB / 358.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.014e-05/0.1752, allocations: 95.27 kB / 358.4 MB, free: 12.78 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1752, allocations: 0 / 358.4 MB, free: 12.78 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005008/0.1757, allocations: 31.95 kB / 358.4 MB, free: 12.75 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mass.s,mass.v,heatCapacitor.T) * 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 (12): * Single equations (assignments): 12 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001516/0.1759, allocations: 99.25 kB / 358.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002638/0.1762, allocations: 79.84 kB / 358.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1762, allocations: 0 / 358.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.297e-05/0.1763, allocations: 43.92 kB / 358.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.1767, allocations: 16.25 kB / 358.7 MB, free: 12.51 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.1778, allocations: 0.5706 MB / 359.2 MB, free: 11.9 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.1781, allocations: 0.7004 MB / 359.9 MB, free: 11.17 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.409e-05/0.1782, allocations: 15.44 kB / 360 MB, free: 11.16 MB / 302.1 MB Notification: Performance of SimCode: time 2.004e-06/0.1782, allocations: 0 / 360 MB, free: 11.16 MB / 302.1 MB Notification: Performance of Templates: time 0.003508/0.1817, allocations: 1.397 MB / 361.3 MB, free: 9.766 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.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.Translational.Examples.EddyCurrentBrakeCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrakeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrakeCalcHelperMain.o] Error 1