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.001/0.001, allocations: 94.31 kB / 17.58 MB, free: 5.797 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.001213/0.001213, allocations: 182.7 kB / 18.48 MB, free: 5.254 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.731/1.731, allocations: 205.4 MB / 224.6 MB, free: 13.16 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.0004958/0.0004958, allocations: 10.19 kB / 281.4 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1221, allocations: 47.58 MB / 329 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002116/0.1242, allocations: 1.451 MB / 330.4 MB, free: 2.637 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009927/0.1253, allocations: 0.6247 MB / 331.1 MB, free: 2.004 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.994e-05/0.1253, allocations: 4 kB / 331.1 MB, free: 2 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001161/0.1255, allocations: 11.86 kB / 331.1 MB, free: 1.988 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.057e-05/0.1255, allocations: 31.75 kB / 331.1 MB, free: 1.957 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.1258, allocations: 43.83 kB / 331.1 MB, free: 1.914 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.1259, allocations: 115.4 kB / 331.3 MB, free: 1.801 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.1261, allocations: 27.95 kB / 331.3 MB, free: 1.773 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.387e-05/0.1261, allocations: 35.86 kB / 331.3 MB, free: 1.738 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.373e-05/0.1262, allocations: 35.86 kB / 331.4 MB, free: 1.703 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.1263, allocations: 7.938 kB / 331.4 MB, free: 1.695 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.998e-05/0.1264, allocations: 23.98 kB / 331.4 MB, free: 1.672 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.874e-05/0.1264, allocations: 15.91 kB / 331.4 MB, free: 1.656 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.24e-05/0.1264, allocations: 45.64 kB / 331.4 MB, free: 1.605 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.1266, allocations: 88.06 kB / 331.5 MB, free: 1.52 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1266, allocations: 0 / 331.5 MB, free: 1.52 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1266, allocations: 0 / 331.5 MB, free: 1.52 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.107e-06/0.1266, allocations: 0 / 331.5 MB, free: 1.52 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.0005396/0.1272, allocations: 395.2 kB / 331.9 MB, free: 1.086 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.1272, allocations: 8.031 kB / 331.9 MB, free: 1.078 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001883/0.1274, allocations: 27.8 kB / 332 MB, free: 1.051 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.1276, allocations: 190.9 kB / 332.1 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.1276, allocations: 8.188 kB / 332.1 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.1277, allocations: 8 kB / 332.2 MB, free: 0.8086 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.1279, allocations: 95.16 kB / 332.2 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.1279, allocations: 0 / 332.2 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.1279, allocations: 4 kB / 332.2 MB, free: 0.707 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.1279, allocations: 4 kB / 332.3 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.1281, allocations: 56.47 kB / 332.3 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007376/0.1288, allocations: 490 kB / 332.8 MB, free: 108 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000242/0.1291, allocations: 82.62 kB / 332.9 MB, free: 16 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.221e-05/0.1291, allocations: 20.86 kB / 332.9 MB, free: 15.99 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.1292, allocations: 11.94 kB / 332.9 MB, free: 15.98 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.1292, allocations: 38.5 kB / 332.9 MB, free: 15.93 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.1292, allocations: 4 kB / 332.9 MB, free: 15.93 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002301/0.1294, allocations: 93.73 kB / 333 MB, free: 15.83 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.1295, allocations: 55.41 kB / 333.1 MB, free: 15.77 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.1296, allocations: 113.8 kB / 333.2 MB, free: 15.64 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.1296, allocations: 29.64 kB / 333.2 MB, free: 15.61 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.23e-05/0.1297, allocations: 115.9 kB / 333.3 MB, free: 15.49 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.1298, allocations: 35.55 kB / 333.4 MB, free: 15.46 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-06/0.1298, allocations: 0 / 333.4 MB, free: 15.46 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1299, allocations: 318.8 kB / 333.7 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.2e-05/0.13, allocations: 27.94 kB / 333.7 MB, free: 15.11 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.494e-05/0.1301, allocations: 51.36 kB / 333.8 MB, free: 15.05 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.643e-05/0.1301, allocations: 28 kB / 333.8 MB, free: 15.02 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.1301, allocations: 3.984 kB / 333.8 MB, free: 15.02 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001602/0.1303, allocations: 113.5 kB / 333.9 MB, free: 14.9 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1303, allocations: 7.953 kB / 333.9 MB, free: 14.89 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.1303, allocations: 4 kB / 333.9 MB, free: 14.89 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.1303, allocations: 0 / 333.9 MB, free: 14.89 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.1305, allocations: 23.98 kB / 333.9 MB, free: 14.86 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.1305, allocations: 4 kB / 333.9 MB, free: 14.86 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.036e-05/0.1305, allocations: 11.84 kB / 334 MB, free: 14.85 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.1306, allocations: 8 kB / 334 MB, free: 14.84 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.1307, allocations: 121.8 kB / 334.1 MB, free: 14.71 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.1307, allocations: 7.906 kB / 334.1 MB, free: 14.7 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.585e-05/0.1308, allocations: 24.31 kB / 334.1 MB, free: 14.68 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1308, allocations: 0 / 334.1 MB, free: 14.68 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1308, allocations: 0 / 334.1 MB, free: 14.68 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1308, allocations: 0 / 334.1 MB, free: 14.68 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.131, allocations: 193.6 kB / 334.3 MB, free: 14.44 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.131, allocations: 3.984 kB / 334.3 MB, free: 14.44 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.1311, allocations: 16 kB / 334.3 MB, free: 14.42 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1311, allocations: 0 / 334.3 MB, free: 14.42 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.1312, allocations: 4 kB / 334.3 MB, free: 14.42 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.1312, allocations: 11.95 kB / 334.3 MB, free: 14.41 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1312, allocations: 0 / 334.3 MB, free: 14.41 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.1314, allocations: 207.7 kB / 334.5 MB, free: 14.19 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.776e-05/0.1315, allocations: 89.05 kB / 334.6 MB, free: 14.08 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.1315, allocations: 0 / 334.6 MB, free: 14.08 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.442e-05/0.1316, allocations: 4 kB / 334.6 MB, free: 14.08 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.204e-05/0.1316, allocations: 11.89 kB / 334.6 MB, free: 14.07 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.1316, allocations: 96 / 334.6 MB, free: 14.07 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.381e-05/0.1317, allocations: 99.2 kB / 334.7 MB, free: 13.97 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1317, allocations: 4 kB / 334.7 MB, free: 13.96 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002376/0.1319, allocations: 27.94 kB / 334.8 MB, free: 13.94 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 (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.0001161/0.1321, allocations: 91.25 kB / 334.9 MB, free: 13.84 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001464/0.1322, allocations: 63.91 kB / 334.9 MB, free: 13.77 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1322, allocations: 0 / 334.9 MB, free: 13.77 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.923e-05/0.1323, allocations: 27.94 kB / 335 MB, free: 13.75 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.1326, allocations: 20.17 kB / 335 MB, free: 13.73 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008159/0.1335, allocations: 0.5416 MB / 335.5 MB, free: 13.15 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.1338, allocations: 0.7004 MB / 336.2 MB, free: 12.43 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.1339, allocations: 11.44 kB / 336.2 MB, free: 12.41 MB / 286.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1339, allocations: 0 / 336.2 MB, free: 12.41 MB / 286.1 MB Notification: Performance of Templates: time 0.002706/0.1366, allocations: 1.263 MB / 337.5 MB, free: 11.15 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++ 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.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