Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.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.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009795/0.0009797, allocations: 98.39 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.001303/0.001303, allocations: 177.3 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.876/1.876, allocations: 205.4 MB / 225 MB, free: 13.08 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.0004886/0.0004887, allocations: 19.92 kB / 282 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1241, allocations: 47.58 MB / 329.6 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002929/0.1271, allocations: 1.478 MB / 331.1 MB, free: 2.281 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001578/0.1287, allocations: 0.6593 MB / 331.7 MB, free: 1.613 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.1289, allocations: 8 kB / 331.8 MB, free: 1.605 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001708/0.129, allocations: 11.86 kB / 331.8 MB, free: 1.594 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.792e-05/0.1291, allocations: 31.77 kB / 331.8 MB, free: 1.562 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003177/0.1295, allocations: 35.89 kB / 331.8 MB, free: 1.527 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002205/0.1297, allocations: 119.4 kB / 331.9 MB, free: 1.41 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001893/0.1299, allocations: 23.97 kB / 332 MB, free: 1.387 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.843e-05/0.13, allocations: 43.8 kB / 332 MB, free: 1.344 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.1301, allocations: 43.78 kB / 332.1 MB, free: 1.301 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.767e-05/0.1302, allocations: 11.98 kB / 332.1 MB, free: 1.289 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.522e-05/0.1303, allocations: 15.98 kB / 332.1 MB, free: 1.273 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.105e-05/0.1303, allocations: 15.94 kB / 332.1 MB, free: 1.258 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.363e-05/0.1304, allocations: 69.5 kB / 332.2 MB, free: 1.184 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.1306, allocations: 88.06 kB / 332.3 MB, free: 1.098 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1306, allocations: 0 / 332.3 MB, free: 1.098 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.1306, allocations: 0 / 332.3 MB, free: 1.098 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1307, allocations: 4 kB / 332.3 MB, free: 1.094 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.0006879/0.1314, allocations: 383.4 kB / 332.6 MB, free: 0.6719 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.1314, allocations: 15.97 kB / 332.6 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002125/0.1316, allocations: 28.73 kB / 332.7 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002858/0.1319, allocations: 192.2 kB / 332.9 MB, free: 412 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.132, allocations: 8.562 kB / 332.9 MB, free: 404 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.274e-05/0.132, allocations: 16.28 kB / 332.9 MB, free: 388 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002794/0.1323, allocations: 89.59 kB / 333 MB, free: 292 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.1323, allocations: 7.938 kB / 333 MB, free: 284 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.1324, allocations: 4 kB / 333 MB, free: 280 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.1324, allocations: 4 kB / 333 MB, free: 276 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.1325, allocations: 59.95 kB / 333 MB, free: 216 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008278/0.1334, allocations: 481.2 kB / 333.5 MB, free: 15.68 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002654/0.1337, allocations: 94.55 kB / 333.6 MB, free: 15.57 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.963e-05/0.1337, allocations: 20.86 kB / 333.6 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.1337, allocations: 4.156 kB / 333.6 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.1338, allocations: 42.53 kB / 333.7 MB, free: 15.5 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.1338, allocations: 0 / 333.7 MB, free: 15.5 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002494/0.134, allocations: 97.58 kB / 333.8 MB, free: 15.39 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.1341, allocations: 55.34 kB / 333.8 MB, free: 15.33 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.652e-05/0.1342, allocations: 121.8 kB / 333.9 MB, free: 15.2 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.1342, allocations: 29.69 kB / 334 MB, free: 15.16 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.932e-05/0.1343, allocations: 107.8 kB / 334.1 MB, free: 15.05 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.1343, allocations: 35.55 kB / 334.1 MB, free: 15.02 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.089e-05/0.1344, allocations: 17.7 kB / 334.1 MB, free: 15 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1345, allocations: 314.8 kB / 334.4 MB, free: 14.68 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.696e-05/0.1346, allocations: 23.98 kB / 334.5 MB, free: 14.66 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.26e-05/0.1347, allocations: 67.36 kB / 334.5 MB, free: 14.58 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.1348, allocations: 71.38 kB / 334.6 MB, free: 14.5 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1348, allocations: 0 / 334.6 MB, free: 14.5 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001801/0.135, allocations: 117.5 kB / 334.7 MB, free: 14.38 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.135, allocations: 8.094 kB / 334.7 MB, free: 14.37 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.135, allocations: 0 / 334.7 MB, free: 14.37 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.1351, allocations: 7.938 kB / 334.7 MB, free: 14.36 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.1352, allocations: 23.98 kB / 334.8 MB, free: 14.34 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.1352, allocations: 3.938 kB / 334.8 MB, free: 14.33 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.63e-05/0.1353, allocations: 19.88 kB / 334.8 MB, free: 14.31 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.1353, allocations: 4 kB / 334.8 MB, free: 14.31 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 (13): * Single equations (assignments): 13 * 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.0001156/0.1354, allocations: 117.8 kB / 334.9 MB, free: 14.18 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/0.1354, allocations: 7.906 kB / 334.9 MB, free: 14.18 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.499e-05/0.1355, allocations: 20.38 kB / 334.9 MB, free: 14.16 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.1355, allocations: 0 / 334.9 MB, free: 14.16 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.1355, allocations: 7.938 kB / 334.9 MB, free: 14.15 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.1355, allocations: 3.984 kB / 334.9 MB, free: 14.14 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002271/0.1357, allocations: 193.6 kB / 335.1 MB, free: 13.91 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1358, allocations: 0 / 335.1 MB, free: 13.91 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.1359, allocations: 23.98 kB / 335.1 MB, free: 13.88 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1359, allocations: 0 / 335.1 MB, free: 13.88 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.1359, allocations: 4 kB / 335.1 MB, free: 13.88 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1359, allocations: 0 / 335.1 MB, free: 13.88 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.1359, allocations: 7.938 kB / 335.2 MB, free: 13.87 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.1362, allocations: 203.4 kB / 335.4 MB, free: 13.66 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.719e-05/0.1362, allocations: 81.02 kB / 335.4 MB, free: 13.56 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.1363, allocations: 8 kB / 335.4 MB, free: 13.55 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.338e-05/0.1364, allocations: 4.031 kB / 335.4 MB, free: 13.55 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.432e-05/0.1364, allocations: 7.938 kB / 335.5 MB, free: 13.54 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.1364, allocations: 0 / 335.5 MB, free: 13.54 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.007e-05/0.1365, allocations: 95.7 kB / 335.5 MB, free: 13.45 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1365, allocations: 0 / 335.5 MB, free: 13.45 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002423/0.1367, allocations: 35.84 kB / 335.6 MB, free: 13.41 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (eddyCurrentTorque.phi,inertia.w,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 (8): * Single equations (assignments): 8 * 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.0001221/0.1368, allocations: 91.25 kB / 335.7 MB, free: 13.31 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001564/0.137, allocations: 63.91 kB / 335.7 MB, free: 13.25 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.137, allocations: 0 / 335.7 MB, free: 13.25 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.353e-05/0.1371, allocations: 32.2 kB / 335.8 MB, free: 13.21 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.1375, allocations: 24.44 kB / 335.8 MB, free: 13.19 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008254/0.1383, allocations: 0.5495 MB / 336.3 MB, free: 12.61 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.1386, allocations: 0.7005 MB / 337 MB, free: 11.88 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.269e-05/0.1387, allocations: 11.44 kB / 337.1 MB, free: 11.87 MB / 286.1 MB Notification: Performance of SimCode: time 2e-07/0.1387, allocations: 0 / 337.1 MB, free: 11.87 MB / 286.1 MB Notification: Performance of Templates: time 0.00331/0.142, allocations: 1.274 MB / 338.3 MB, free: 10.59 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.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.Rotational.Examples.EddyCurrentBrakeCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrakeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrakeCalcHelperMain.o] Error 1