Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 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.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.001427/0.001427, allocations: 98.78 kB / 17.96 MB, free: 5.77 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.001922/0.001922, allocations: 175.8 kB / 18.86 MB, free: 4.906 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.966/1.966, allocations: 205.4 MB / 225 MB, free: 12.99 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.0005196/0.0005197, allocations: 8 kB / 282 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1392, allocations: 47.6 MB / 329.6 MB, free: 3.742 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002782/0.142, allocations: 1.482 MB / 331.1 MB, free: 2.25 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.1436, allocations: 0.6632 MB / 331.8 MB, free: 1.578 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001795/0.1438, allocations: 7.938 kB / 331.8 MB, free: 1.57 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001465/0.1439, allocations: 7.922 kB / 331.8 MB, free: 1.562 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.1441, allocations: 27.77 kB / 331.8 MB, free: 1.535 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003189/0.1444, allocations: 47.81 kB / 331.9 MB, free: 1.488 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002661/0.1447, allocations: 115.4 kB / 332 MB, free: 1.375 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.1449, allocations: 25.39 kB / 332 MB, free: 1.348 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.145, allocations: 39.86 kB / 332 MB, free: 1.309 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.1451, allocations: 47.77 kB / 332.1 MB, free: 1.262 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.904e-05/0.1451, allocations: 4 kB / 332.1 MB, free: 1.258 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.1453, allocations: 19.98 kB / 332.1 MB, free: 1.238 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.927e-05/0.1453, allocations: 19.92 kB / 332.1 MB, free: 1.219 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.14e-05/0.1454, allocations: 69.44 kB / 332.2 MB, free: 1.145 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.1456, allocations: 99.94 kB / 332.3 MB, free: 1.047 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.886e-06/0.1456, allocations: 4 kB / 332.3 MB, free: 1.043 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.1457, allocations: 4 kB / 332.3 MB, free: 1.039 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.186e-06/0.1457, allocations: 0 / 332.3 MB, free: 1.039 MB / 270.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.0006443/0.1463, allocations: 383.5 kB / 332.7 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.026e-05/0.1464, allocations: 15.97 kB / 332.7 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002569/0.1467, allocations: 28.72 kB / 332.7 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/0.147, allocations: 196.2 kB / 332.9 MB, free: 352 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.147, allocations: 8.562 kB / 332.9 MB, free: 344 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.73e-05/0.1471, allocations: 8.375 kB / 332.9 MB, free: 336 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/0.1474, allocations: 105.5 kB / 333 MB, free: 224 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.1474, allocations: 0 / 333 MB, free: 224 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.1474, allocations: 0 / 333 MB, free: 224 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.1474, allocations: 4 kB / 333 MB, free: 220 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001721/0.1476, allocations: 59.97 kB / 333.1 MB, free: 160 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008688/0.1485, allocations: 455.5 kB / 333.5 MB, free: 15.65 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003117/0.1488, allocations: 94.64 kB / 333.6 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.182e-05/0.1489, allocations: 40.95 kB / 333.7 MB, free: 15.51 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.1489, allocations: 0 / 333.7 MB, free: 15.51 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.149, allocations: 34.56 kB / 333.7 MB, free: 15.46 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.713e-06/0.149, allocations: 0 / 333.7 MB, free: 15.46 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.001602/0.1506, allocations: 0.5341 MB / 334.2 MB, free: 14.86 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.1507, allocations: 51.41 kB / 334.3 MB, free: 14.8 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.1508, allocations: 126 kB / 334.4 MB, free: 14.66 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.1508, allocations: 29.7 kB / 334.4 MB, free: 14.62 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.253e-05/0.1509, allocations: 103.9 kB / 334.5 MB, free: 14.52 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.558e-05/0.151, allocations: 39.39 kB / 334.6 MB, free: 14.48 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-05/0.151, allocations: 29.7 kB / 334.6 MB, free: 14.45 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.1512, allocations: 318.8 kB / 334.9 MB, free: 14.12 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.027e-05/0.1513, allocations: 27.91 kB / 334.9 MB, free: 14.1 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.618e-05/0.1514, allocations: 59.41 kB / 335 MB, free: 14.03 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.1515, allocations: 104.2 kB / 335.1 MB, free: 13.91 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1516, allocations: 0 / 335.1 MB, free: 13.91 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002358/0.1518, allocations: 137.3 kB / 335.2 MB, free: 13.77 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.1518, allocations: 4 kB / 335.2 MB, free: 13.77 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.1518, allocations: 4 kB / 335.2 MB, free: 13.77 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.1519, allocations: 4 kB / 335.2 MB, free: 13.76 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.152, allocations: 35.98 kB / 335.3 MB, free: 13.73 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.152, allocations: 0 / 335.3 MB, free: 13.73 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.129e-05/0.1521, allocations: 11.92 kB / 335.3 MB, free: 13.71 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.1521, allocations: 12 kB / 335.3 MB, free: 13.7 MB / 286.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001285/0.1523, allocations: 117.8 kB / 335.4 MB, free: 13.58 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.87e-05/0.1523, allocations: 7.906 kB / 335.4 MB, free: 13.57 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.995e-05/0.1524, allocations: 16.38 kB / 335.4 MB, free: 13.55 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1524, allocations: 3.938 kB / 335.4 MB, free: 13.55 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.1524, allocations: 0 / 335.4 MB, free: 13.55 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.1524, allocations: 3.938 kB / 335.5 MB, free: 13.55 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007273/0.1532, allocations: 428.1 kB / 335.9 MB, free: 13.07 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1532, allocations: 0 / 335.9 MB, free: 13.07 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/0.1533, allocations: 31.98 kB / 335.9 MB, free: 13.04 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.1533, allocations: 3.938 kB / 335.9 MB, free: 13.03 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.1534, allocations: 4 kB / 335.9 MB, free: 13.03 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1534, allocations: 0 / 335.9 MB, free: 13.03 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.1534, allocations: 3.938 kB / 335.9 MB, free: 13.02 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003368/0.1537, allocations: 249.1 kB / 336.2 MB, free: 12.76 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.908e-05/0.1538, allocations: 89.05 kB / 336.2 MB, free: 12.65 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.1538, allocations: 11.94 kB / 336.3 MB, free: 12.64 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.436e-05/0.1539, allocations: 0 / 336.3 MB, free: 12.64 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.912e-05/0.1539, allocations: 11.98 kB / 336.3 MB, free: 12.63 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.353e-06/0.154, allocations: 4 kB / 336.3 MB, free: 12.62 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.312e-05/0.154, allocations: 99.2 kB / 336.4 MB, free: 12.53 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.154, allocations: 0 / 336.4 MB, free: 12.53 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002663/0.1543, allocations: 28 kB / 336.4 MB, free: 12.5 MB / 286.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001461/0.1545, allocations: 91.25 kB / 336.5 MB, free: 12.4 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001902/0.1547, allocations: 79.86 kB / 336.6 MB, free: 12.32 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1547, allocations: 0 / 336.6 MB, free: 12.32 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.304e-05/0.1547, allocations: 44.11 kB / 336.6 MB, free: 12.28 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/0.1551, allocations: 28.86 kB / 336.6 MB, free: 12.25 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009212/0.1561, allocations: 0.5824 MB / 337.2 MB, free: 11.63 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.1564, allocations: 0.7004 MB / 337.9 MB, free: 10.91 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.027e-05/0.1565, allocations: 15.44 kB / 337.9 MB, free: 10.89 MB / 286.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1565, allocations: 3.938 kB / 337.9 MB, free: 10.89 MB / 286.1 MB Notification: Performance of Templates: time 0.003707/0.1602, allocations: 1.395 MB / 339.3 MB, free: 9.488 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.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.Translational.Examples.EddyCurrentBrakeCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrakeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrakeCalcHelperMain.o] Error 1