Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.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.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1440000,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor") translateModel(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1440000,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 107.8 kB / 17.81 MB, free: 5.559 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.001308/0.001308, allocations: 197.9 kB / 18.73 MB, free: 4.641 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.867/1.867, allocations: 205.1 MB / 224.6 MB, free: 12.47 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.002212/0.002212, allocations: 51.92 kB / 280.6 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1578, allocations: 46.63 MB / 327.2 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.005541/0.1634, allocations: 2.278 MB / 329.5 MB, free: 2.59 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002063/0.1655, allocations: 0.9519 MB / 330.5 MB, free: 1.629 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002625/0.1658, allocations: 4 kB / 330.5 MB, free: 1.625 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005532/0.1664, allocations: 79.7 kB / 330.6 MB, free: 1.547 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004326/0.1669, allocations: 115.4 kB / 330.7 MB, free: 1.434 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004218/0.1673, allocations: 107.8 kB / 330.8 MB, free: 1.328 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003281/0.1676, allocations: 270.8 kB / 331 MB, free: 1.062 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002087/0.1678, allocations: 80.78 kB / 331.1 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.168, allocations: 107.6 kB / 331.2 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.1682, allocations: 119.5 kB / 331.3 MB, free: 0.7617 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.539e-05/0.1682, allocations: 19.94 kB / 331.4 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.1684, allocations: 43.98 kB / 331.4 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.98e-05/0.1685, allocations: 55.81 kB / 331.5 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.1686, allocations: 99.42 kB / 331.6 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00028/0.1689, allocations: 211.8 kB / 331.8 MB, free: 348 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.1689, allocations: 4 kB / 331.8 MB, free: 344 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1689, allocations: 0 / 331.8 MB, free: 344 kB / 270.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.1689, allocations: 4 kB / 331.8 MB, free: 340 kB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0009402/0.1699, allocations: 0.5458 MB / 332.3 MB, free: 15.74 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.1699, allocations: 11.97 kB / 332.3 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001729/0.1701, allocations: 32.66 kB / 332.4 MB, free: 15.7 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003369/0.1705, allocations: 248.7 kB / 332.6 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.1705, allocations: 20.38 kB / 332.6 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.937e-05/0.1705, allocations: 24.11 kB / 332.6 MB, free: 15.37 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003552/0.1709, allocations: 161.2 kB / 332.8 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.1709, allocations: 0 / 332.8 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.216e-05/0.171, allocations: 8 kB / 332.8 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.171, allocations: 4 kB / 332.8 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002624/0.1713, allocations: 111.9 kB / 332.9 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009782/0.1722, allocations: 0.5663 MB / 333.5 MB, free: 14.47 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003087/0.1726, allocations: 154.5 kB / 333.6 MB, free: 14.31 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.1727, allocations: 92.77 kB / 333.7 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.235e-05/0.1728, allocations: 7.984 kB / 333.7 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003262/0.1731, allocations: 127.5 kB / 333.9 MB, free: 14.07 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.643e-06/0.1731, allocations: 0 / 333.9 MB, free: 14.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005003/0.1736, allocations: 225.3 kB / 334.1 MB, free: 13.84 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.1737, allocations: 59.39 kB / 334.1 MB, free: 13.77 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/0.174, allocations: 253 kB / 334.4 MB, free: 13.52 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.174, allocations: 29.7 kB / 334.4 MB, free: 13.48 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.1741, allocations: 144.3 kB / 334.6 MB, free: 13.34 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.628e-05/0.1742, allocations: 71.05 kB / 334.6 MB, free: 13.27 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.965e-05/0.1743, allocations: 37.7 kB / 334.7 MB, free: 13.22 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1745, allocations: 342.8 kB / 335 MB, free: 12.88 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.1746, allocations: 51.97 kB / 335 MB, free: 12.83 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.1747, allocations: 79.41 kB / 335.1 MB, free: 12.74 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002459/0.175, allocations: 143.4 kB / 335.3 MB, free: 12.59 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.175, allocations: 4 kB / 335.3 MB, free: 12.58 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003394/0.1753, allocations: 205.2 kB / 335.5 MB, free: 12.38 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.1754, allocations: 4 kB / 335.5 MB, free: 12.37 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.1754, allocations: 8.078 kB / 335.5 MB, free: 12.36 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.1754, allocations: 4 kB / 335.5 MB, free: 12.36 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.1756, allocations: 43.92 kB / 335.5 MB, free: 12.32 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.1756, allocations: 3.938 kB / 335.5 MB, free: 12.31 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.1757, allocations: 23.83 kB / 335.6 MB, free: 12.29 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.1758, allocations: 15.98 kB / 335.6 MB, free: 12.27 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: 5 ($PRE.lossTable.nextTimeEvent,$whenCondition1,lossTable.nextTimeEventScaled,$PRE.lossTable.nextTimeEventScaled,lossTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001497/0.1759, allocations: 145.7 kB / 335.7 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.547e-05/0.176, allocations: 27.72 kB / 335.7 MB, free: 12.09 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.849e-05/0.176, allocations: 26.19 kB / 335.8 MB, free: 12.07 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.1761, allocations: 4 kB / 335.8 MB, free: 12.06 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.1761, allocations: 3.938 kB / 335.8 MB, free: 12.06 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.1761, allocations: 3.984 kB / 335.8 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002964/0.1764, allocations: 285.3 kB / 336.1 MB, free: 11.73 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1764, allocations: 0 / 336.1 MB, free: 11.73 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001786/0.1766, allocations: 39.92 kB / 336.1 MB, free: 11.69 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.1766, allocations: 8 kB / 336.1 MB, free: 11.68 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.1766, allocations: 0 / 336.1 MB, free: 11.68 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.1766, allocations: 4 kB / 336.1 MB, free: 11.68 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1766, allocations: 7.938 kB / 336.1 MB, free: 11.67 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005059/0.1771, allocations: 280.7 kB / 336.4 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.307e-05/0.1772, allocations: 92.89 kB / 336.5 MB, free: 11.27 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.841e-05/0.1773, allocations: 8 kB / 336.5 MB, free: 11.26 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.72e-05/0.1774, allocations: 11.92 kB / 336.5 MB, free: 11.25 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/0.1774, allocations: 11.98 kB / 336.5 MB, free: 11.23 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.1774, allocations: 8.062 kB / 336.5 MB, free: 11.23 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001719/0.1776, allocations: 192.5 kB / 336.7 MB, free: 11.04 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1776, allocations: 0 / 336.7 MB, free: 11.04 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002661/0.1779, allocations: 63.84 kB / 336.8 MB, free: 10.98 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (winding.T,core.T) * Number of discrete variables: 3 ($whenCondition1,lossTable.nextTimeEvent,lossTable.nextTimeEventScaled) * Number of discrete states: 2 (lossTable.nextTimeEventScaled,lossTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001074/0.179, allocations: 410.3 kB / 337.2 MB, free: 10.58 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003343/0.1793, allocations: 135.9 kB / 337.3 MB, free: 10.45 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.1793, allocations: 4.188 kB / 337.3 MB, free: 10.45 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.1795, allocations: 76.72 kB / 337.4 MB, free: 10.37 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.1798, allocations: 52.5 kB / 337.4 MB, free: 10.32 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.181, allocations: 0.6491 MB / 338.1 MB, free: 9.637 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/0.1815, allocations: 0.7482 MB / 338.8 MB, free: 8.863 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.221e-05/0.1816, allocations: 27.44 kB / 338.9 MB, free: 8.836 MB / 286.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1816, allocations: 0 / 338.9 MB, free: 8.836 MB / 286.1 MB Notification: Performance of Templates: time 0.006433/0.188, allocations: 3.127 MB / 342 MB, free: 5.703 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.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.Thermal.HeatTransfer.Examples.MotorCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.MotorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.MotorCalcHelperMain.o] Error 1