Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 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.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_4.0.0_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_4.0.0_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.001072/0.001073, allocations: 95.52 kB / 16.95 MB, free: 5.953 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.00108/0.001081, allocations: 175.6 kB / 17.84 MB, free: 5.621 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.562/1.562, allocations: 223.3 MB / 241.9 MB, free: 332 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003155/0.0003157, allocations: 8 kB / 301.4 MB, free: 6.492 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1459, allocations: 50.42 MB / 351.9 MB, free: 4.055 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002457/0.1484, allocations: 1.443 MB / 353.3 MB, free: 2.602 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.1499, allocations: 0.6042 MB / 353.9 MB, free: 1.992 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.15, allocations: 0 / 353.9 MB, free: 1.992 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001488/0.1502, allocations: 7.922 kB / 353.9 MB, free: 1.984 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.81e-05/0.1503, allocations: 27.77 kB / 353.9 MB, free: 1.957 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.1506, allocations: 39.83 kB / 354 MB, free: 1.918 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.1508, allocations: 111.5 kB / 354.1 MB, free: 1.809 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001932/0.151, allocations: 27.89 kB / 354.1 MB, free: 1.781 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.393e-05/0.1511, allocations: 43.78 kB / 354.2 MB, free: 1.738 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.1512, allocations: 35.86 kB / 354.2 MB, free: 1.703 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.1512, allocations: 4 kB / 354.2 MB, free: 1.699 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.1513, allocations: 23.98 kB / 354.2 MB, free: 1.676 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.457e-05/0.1514, allocations: 11.92 kB / 354.2 MB, free: 1.664 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.355e-05/0.1515, allocations: 45.64 kB / 354.3 MB, free: 1.613 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.1517, allocations: 96.05 kB / 354.4 MB, free: 1.52 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.365e-06/0.1517, allocations: 0 / 354.4 MB, free: 1.52 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.1517, allocations: 4 kB / 354.4 MB, free: 1.516 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.295e-05/0.1517, allocations: 0 / 354.4 MB, free: 1.516 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.0007539/0.1525, allocations: 383.2 kB / 354.8 MB, free: 1.094 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.766e-05/0.1525, allocations: 8.031 kB / 354.8 MB, free: 1.086 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002424/0.1528, allocations: 35.77 kB / 354.8 MB, free: 1.051 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003521/0.1531, allocations: 186.9 kB / 355 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.1532, allocations: 8.188 kB / 355 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.068e-05/0.1532, allocations: 15.91 kB / 355 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.1535, allocations: 91.16 kB / 355.1 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.1535, allocations: 0 / 355.1 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.1535, allocations: 4 kB / 355.1 MB, free: 0.707 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.1535, allocations: 7.984 kB / 355.1 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002766/0.1538, allocations: 56.48 kB / 355.2 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009459/0.1548, allocations: 486 kB / 355.6 MB, free: 108 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003168/0.1551, allocations: 86.52 kB / 355.7 MB, free: 12 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.377e-05/0.1552, allocations: 20.95 kB / 355.7 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.1552, allocations: 4 kB / 355.7 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.1553, allocations: 42.5 kB / 355.8 MB, free: 15.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.1553, allocations: 3.938 kB / 355.8 MB, free: 15.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002771/0.1556, allocations: 97.52 kB / 355.9 MB, free: 15.83 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.258e-05/0.1556, allocations: 55.41 kB / 355.9 MB, free: 15.76 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.1558, allocations: 117.8 kB / 356.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.1558, allocations: 25.7 kB / 356.1 MB, free: 15.61 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.693e-05/0.1559, allocations: 107.9 kB / 356.2 MB, free: 15.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.823e-05/0.1559, allocations: 31.56 kB / 356.2 MB, free: 15.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-06/0.1559, allocations: 4 kB / 356.2 MB, free: 15.46 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002022/0.1562, allocations: 326.8 kB / 356.5 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.186e-05/0.1562, allocations: 27.98 kB / 356.6 MB, free: 15.11 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.143e-05/0.1563, allocations: 47.42 kB / 356.6 MB, free: 15.05 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.25e-05/0.1564, allocations: 28 kB / 356.6 MB, free: 15.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1564, allocations: 0 / 356.6 MB, free: 15.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001739/0.1566, allocations: 113.5 kB / 356.7 MB, free: 14.9 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1566, allocations: 4 kB / 356.8 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.1566, allocations: 4 kB / 356.8 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.1566, allocations: 0 / 356.8 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.1568, allocations: 27.92 kB / 356.8 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.1568, allocations: 7.938 kB / 356.8 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.21e-05/0.1568, allocations: 7.906 kB / 356.8 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.1569, allocations: 4 kB / 356.8 MB, free: 14.85 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 (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.0001266/0.157, allocations: 129.8 kB / 356.9 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/0.157, allocations: 7.891 kB / 356.9 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.41e-05/0.1571, allocations: 16.38 kB / 357 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1571, allocations: 0 / 357 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.1571, allocations: 0 / 357 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1571, allocations: 0 / 357 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002408/0.1573, allocations: 205.7 kB / 357.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1574, allocations: 0 / 357.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.1575, allocations: 19.94 kB / 357.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1575, allocations: 4.094 kB / 357.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.1575, allocations: 7.922 kB / 357.2 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1575, allocations: 4 kB / 357.2 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/0.1575, allocations: 4 kB / 357.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002945/0.1578, allocations: 203.4 kB / 357.4 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.158, allocations: 85.02 kB / 357.5 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.158, allocations: 0 / 357.5 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.339e-05/0.1581, allocations: 4 kB / 357.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.205e-05/0.1581, allocations: 8 kB / 357.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.1581, allocations: 4.031 kB / 357.5 MB, free: 14.06 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.37e-05/0.1582, allocations: 99.59 kB / 357.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1582, allocations: 0 / 357.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002428/0.1585, allocations: 27.94 kB / 357.6 MB, free: 13.94 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 (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.000139/0.1586, allocations: 99.23 kB / 357.7 MB, free: 13.83 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001578/0.1588, allocations: 59.91 kB / 357.8 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.1588, allocations: 8.188 kB / 357.8 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.02e-05/0.1588, allocations: 24 kB / 357.8 MB, free: 13.74 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.1592, allocations: 15.22 kB / 357.8 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.1603, allocations: 0.561 MB / 358.4 MB, free: 13.13 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004583/0.1607, allocations: 0.7004 MB / 359.1 MB, free: 12.4 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.533e-05/0.1608, allocations: 11.44 kB / 359.1 MB, free: 12.39 MB / 302.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1608, allocations: 0 / 359.1 MB, free: 12.39 MB / 302.1 MB Notification: Performance of Templates: time 0.003626/0.1644, allocations: 1.251 MB / 360.3 MB, free: 11.14 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrakeCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrakeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrakeCalcHelperMain.o] Error 1