Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008365/0.0008364, allocations: 95.47 kB / 17.63 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008793/0.0008795, allocations: 195 kB / 18.54 MB, free: 5.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 227.3 MB / 246.6 MB, free: 12 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002776/0.0002779, allocations: 4 kB / 307.3 MB, free: 1.625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1166, allocations: 51.49 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.00235/0.119, allocations: 1.648 MB / 360.4 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.1203, allocations: 0.6473 MB / 361.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.544e-05/0.1204, allocations: 8 kB / 361.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.988e-05/0.1205, allocations: 15.8 kB / 361.1 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.591e-05/0.1205, allocations: 35.7 kB / 361.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000194/0.1207, allocations: 43.88 kB / 361.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002891/0.121, allocations: 131.3 kB / 361.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.1212, allocations: 29.08 kB / 361.3 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.695e-05/0.1213, allocations: 47.78 kB / 361.4 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.661e-05/0.1214, allocations: 55.78 kB / 361.4 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.1214, allocations: 4 kB / 361.4 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.625e-05/0.1215, allocations: 27.97 kB / 361.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.024e-05/0.1215, allocations: 19.92 kB / 361.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.094e-05/0.1216, allocations: 45.64 kB / 361.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.1218, allocations: 100 kB / 361.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.1218, allocations: 4 kB / 361.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1218, allocations: 0 / 361.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.1218, allocations: 0 / 361.6 MB, free: 11.26 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006425/0.1225, allocations: 426.9 kB / 362.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.1225, allocations: 8.031 kB / 362.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001964/0.1227, allocations: 27.8 kB / 362.1 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.123, allocations: 209 kB / 362.3 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.123, allocations: 4 kB / 362.3 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.578e-05/0.123, allocations: 15.95 kB / 362.3 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.1233, allocations: 122.7 kB / 362.4 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.1233, allocations: 0 / 362.4 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.1233, allocations: 4 kB / 362.4 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.1234, allocations: 4 kB / 362.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002573/0.1236, allocations: 99.88 kB / 362.5 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009997/0.1246, allocations: 0.5282 MB / 363.1 MB, free: 9.676 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002896/0.1249, allocations: 106.6 kB / 363.2 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.125, allocations: 44.84 kB / 363.2 MB, free: 9.516 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.1251, allocations: 4 kB / 363.2 MB, free: 9.512 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.1251, allocations: 46.58 kB / 363.3 MB, free: 9.457 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.1251, allocations: 0 / 363.3 MB, free: 9.457 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004198/0.1255, allocations: 165.4 kB / 363.4 MB, free: 9.289 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.1256, allocations: 51.41 kB / 363.5 MB, free: 9.227 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.1257, allocations: 141.8 kB / 363.6 MB, free: 9.078 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.1257, allocations: 25.7 kB / 363.6 MB, free: 9.047 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.502e-05/0.1258, allocations: 116.1 kB / 363.7 MB, free: 8.926 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.126, allocations: 35.55 kB / 363.8 MB, free: 8.891 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/0.126, allocations: 0 / 363.8 MB, free: 8.891 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.1261, allocations: 322.8 kB / 364.1 MB, free: 8.566 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.1263, allocations: 39.97 kB / 364.1 MB, free: 8.527 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.1264, allocations: 71.41 kB / 364.2 MB, free: 8.445 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.1265, allocations: 47.97 kB / 364.3 MB, free: 8.398 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1265, allocations: 0 / 364.3 MB, free: 8.398 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000307/0.1269, allocations: 165.3 kB / 364.4 MB, free: 8.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.1269, allocations: 4 kB / 364.4 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.056e-05/0.1269, allocations: 7.953 kB / 364.4 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.1269, allocations: 7.984 kB / 364.4 MB, free: 8.211 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.1271, allocations: 27.98 kB / 364.5 MB, free: 8.184 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.1271, allocations: 8.094 kB / 364.5 MB, free: 8.176 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.1272, allocations: 23.83 kB / 364.5 MB, free: 8.152 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.1272, allocations: 7.984 kB / 364.5 MB, free: 8.145 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 (14): * Single equations (assignments): 14 * 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.0001089/0.1273, allocations: 122.4 kB / 364.6 MB, free: 8.016 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.198e-05/0.1274, allocations: 11.91 kB / 364.6 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.85e-05/0.1274, allocations: 8.719 kB / 364.6 MB, free: 7.992 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/0.1275, allocations: 3.953 kB / 364.6 MB, free: 7.988 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.1275, allocations: 8 kB / 364.7 MB, free: 7.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.1275, allocations: 3.984 kB / 364.7 MB, free: 7.977 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002469/0.1277, allocations: 213.5 kB / 364.9 MB, free: 7.719 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1277, allocations: 0 / 364.9 MB, free: 7.719 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.1279, allocations: 31.97 kB / 364.9 MB, free: 7.688 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1279, allocations: 0 / 364.9 MB, free: 7.688 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.1279, allocations: 4 kB / 364.9 MB, free: 7.684 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.128, allocations: 0 / 364.9 MB, free: 7.684 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.128, allocations: 3.953 kB / 364.9 MB, free: 7.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000456/0.1284, allocations: 275.7 kB / 365.2 MB, free: 7.395 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001909/0.1286, allocations: 89 kB / 365.3 MB, free: 7.289 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.1287, allocations: 7.984 kB / 365.3 MB, free: 7.281 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.1288, allocations: 8 kB / 365.3 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.1288, allocations: 15.88 kB / 365.3 MB, free: 7.258 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.1288, allocations: 4 kB / 365.3 MB, free: 7.254 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.318e-05/0.1289, allocations: 101.8 kB / 365.4 MB, free: 7.156 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1289, allocations: 0 / 365.4 MB, free: 7.156 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002424/0.1292, allocations: 27.91 kB / 365.4 MB, free: 7.129 MB / 302.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 (9): * Single equations (assignments): 9 * 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.000174/0.1293, allocations: 107.2 kB / 365.5 MB, free: 7.012 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002702/0.1296, allocations: 99.83 kB / 365.6 MB, free: 6.914 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1296, allocations: 4.188 kB / 365.6 MB, free: 6.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.1297, allocations: 51.91 kB / 365.7 MB, free: 6.859 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.1301, allocations: 15.98 kB / 365.7 MB, free: 6.844 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008772/0.131, allocations: 0.5829 MB / 366.3 MB, free: 6.234 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004285/0.1314, allocations: 0.7082 MB / 367 MB, free: 5.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.84e-05/0.1315, allocations: 15.44 kB / 367 MB, free: 5.484 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1315, allocations: 0 / 367 MB, free: 5.484 MB / 302.1 MB Notification: Performance of Templates: time 0.00313/0.1346, allocations: 1.53 MB / 368.5 MB, free: 3.965 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrakeCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrakeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrakeCalcHelperMain.o] Error 1