Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008003/0.0008004, allocations: 92.06 kB / 17.58 MB, free: 6.168 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.0007774/0.0007774, allocations: 184.1 kB / 18.47 MB, free: 5.336 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.839/1.839, allocations: 205.4 MB / 224.6 MB, free: 13.07 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.0005036/0.0005036, allocations: 8 kB / 281.4 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1269, allocations: 47.58 MB / 329 MB, free: 4.074 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.008915/0.1359, allocations: 6.98 MB / 336 MB, free: 13.06 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006028/0.142, allocations: 2.433 MB / 338.4 MB, free: 10.61 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001175/0.1432, allocations: 23.94 kB / 338.4 MB, free: 10.59 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001604/0.1448, allocations: 421.6 kB / 338.8 MB, free: 10.18 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001228/0.1461, allocations: 337.5 kB / 339.2 MB, free: 9.844 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005376/0.1466, allocations: 139.8 kB / 339.3 MB, free: 9.707 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001467/0.1481, allocations: 1.12 MB / 340.4 MB, free: 8.582 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007095/0.1488, allocations: 388.1 kB / 340.8 MB, free: 8.184 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008226/0.1496, allocations: 398.3 kB / 341.2 MB, free: 7.793 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006272/0.1503, allocations: 430 kB / 341.6 MB, free: 7.371 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.1504, allocations: 56 kB / 341.7 MB, free: 7.316 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000293/0.1507, allocations: 87.98 kB / 341.7 MB, free: 7.23 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000156/0.1509, allocations: 163.2 kB / 341.9 MB, free: 7.07 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002629/0.1511, allocations: 233.1 kB / 342.1 MB, free: 6.836 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001249/0.1524, allocations: 1.129 MB / 343.3 MB, free: 5.703 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.147e-05/0.1524, allocations: 0 / 343.3 MB, free: 5.703 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.115e-06/0.1524, allocations: 0 / 343.3 MB, free: 5.703 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.031e-05/0.1525, allocations: 0 / 343.3 MB, free: 5.703 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002235/0.1547, allocations: 1.173 MB / 344.4 MB, free: 4.48 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.1548, allocations: 8.031 kB / 344.4 MB, free: 4.473 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005342/0.1553, allocations: 150.6 kB / 344.6 MB, free: 4.324 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.1564, allocations: 0.6095 MB / 345.2 MB, free: 3.668 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.598e-05/0.1565, allocations: 62 kB / 345.3 MB, free: 3.609 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.1566, allocations: 87.98 kB / 345.3 MB, free: 3.523 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/0.1583, allocations: 0.8184 MB / 346.2 MB, free: 2.672 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.268e-05/0.1583, allocations: 7.906 kB / 346.2 MB, free: 2.664 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.849e-05/0.1584, allocations: 35.98 kB / 346.2 MB, free: 2.629 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.425e-05/0.1584, allocations: 20 kB / 346.2 MB, free: 2.609 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.1596, allocations: 0.5543 MB / 346.8 MB, free: 2.059 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004891/0.1645, allocations: 3.59 MB / 350.4 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005325/0.165, allocations: 254 kB / 350.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002447/0.1653, allocations: 120.8 kB / 350.7 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.215e-05/0.1653, allocations: 4 kB / 350.7 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.702e-05/0.1654, allocations: 42.5 kB / 350.8 MB, free: 13.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 3.497e-06/0.1654, allocations: 0 / 350.8 MB, free: 13.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002469/0.1679, allocations: 1.106 MB / 351.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.594e-05/0.168, allocations: 89.05 kB / 352 MB, free: 12.51 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.1691, allocations: 0.7545 MB / 352.7 MB, free: 11.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.652e-05/0.1691, allocations: 33.7 kB / 352.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004426/0.1695, allocations: 0.5097 MB / 353.3 MB, free: 11.19 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.079e-05/0.1696, allocations: 114.4 kB / 353.4 MB, free: 11.08 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.967e-05/0.1697, allocations: 19.94 kB / 353.4 MB, free: 11.06 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002103/0.1699, allocations: 382.8 kB / 353.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002802/0.1702, allocations: 129.2 kB / 353.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005499/0.1708, allocations: 454.2 kB / 354.4 MB, free: 9.957 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003995/0.1712, allocations: 212.1 kB / 354.6 MB, free: 9.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.1712, allocations: 4 kB / 354.6 MB, free: 9.746 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001153/0.1723, allocations: 0.6575 MB / 355.2 MB, free: 9.078 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/0.1724, allocations: 15.94 kB / 355.2 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/0.1724, allocations: 12 kB / 355.2 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001976/0.1726, allocations: 32.84 kB / 355.3 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000488/0.1731, allocations: 160.2 kB / 355.4 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001143/0.1743, allocations: 1.284 MB / 356.7 MB, free: 7.445 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005373/0.1748, allocations: 44.05 kB / 356.8 MB, free: 7.402 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.185e-05/0.1749, allocations: 36 kB / 356.8 MB, free: 7.367 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (78): * Single equations (assignments): 77 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004683/0.1753, allocations: 241.5 kB / 357 MB, free: 7.121 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.1755, allocations: 79.06 kB / 357.1 MB, free: 7.043 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007338/0.1762, allocations: 342 kB / 357.4 MB, free: 6.691 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.1762, allocations: 11.94 kB / 357.5 MB, free: 6.68 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1763, allocations: 0 / 357.5 MB, free: 6.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.1763, allocations: 3.984 kB / 357.5 MB, free: 6.676 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001792/0.1781, allocations: 1.132 MB / 358.6 MB, free: 5.465 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.1781, allocations: 4.219 kB / 358.6 MB, free: 5.461 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002682/0.1784, allocations: 67.91 kB / 358.7 MB, free: 5.395 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.75e-05/0.1785, allocations: 28.8 kB / 358.7 MB, free: 5.363 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.1785, allocations: 8 kB / 358.7 MB, free: 5.355 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009529/0.1794, allocations: 1.272 MB / 360 MB, free: 3.949 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.1795, allocations: 4.031 kB / 360 MB, free: 3.945 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009616/0.1804, allocations: 0.5999 MB / 360.6 MB, free: 3.305 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002448/0.1807, allocations: 180.2 kB / 360.8 MB, free: 3.109 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.499e-05/0.1808, allocations: 8 kB / 360.8 MB, free: 3.102 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003045/0.1811, allocations: 27.98 kB / 360.8 MB, free: 3.074 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.471e-05/0.1812, allocations: 23.91 kB / 360.8 MB, free: 3.051 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.1812, allocations: 11.98 kB / 360.8 MB, free: 3.039 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006878/0.1819, allocations: 0.5108 MB / 361.3 MB, free: 2.535 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.1819, allocations: 0 / 361.3 MB, free: 2.535 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007524/0.1827, allocations: 172 kB / 361.5 MB, free: 2.367 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi) * 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 (28): * Single equations (assignments): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002757/0.183, allocations: 131.1 kB / 361.6 MB, free: 2.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009208/0.1839, allocations: 487.9 kB / 362.1 MB, free: 1.742 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.1839, allocations: 0 / 362.1 MB, free: 1.742 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003494/0.1843, allocations: 255.8 kB / 362.4 MB, free: 1.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009445/0.1852, allocations: 171.3 kB / 362.5 MB, free: 1.309 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002752/0.188, allocations: 1.842 MB / 364.4 MB, free: 15.41 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005184/0.1885, allocations: 0.9565 MB / 365.3 MB, free: 14.42 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.1886, allocations: 51.44 kB / 365.4 MB, free: 14.37 MB / 318.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1887, allocations: 0 / 365.4 MB, free: 14.37 MB / 318.1 MB Notification: Performance of Templates: time 0.0208/0.2095, allocations: 13.68 MB / 379.1 MB, free: 0.6758 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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.Electrical.Machines.Examples.DCMachines.DCPM_TemperatureCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_TemperatureCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_TemperatureCalcHelperMain.o] Error 1