Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.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_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008112/0.0008179, allocations: 93.55 kB / 17.59 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.0008721/0.0008722, allocations: 182.7 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.87/1.87, allocations: 205.4 MB / 224.6 MB, free: 13.15 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.0004861/0.0004861, allocations: 8 kB / 281.4 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.13, allocations: 47.58 MB / 329 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01025/0.1403, allocations: 8.445 MB / 337.4 MB, free: 11.59 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006285/0.1467, allocations: 2.865 MB / 340.3 MB, free: 8.723 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001527/0.1483, allocations: 23.94 kB / 340.3 MB, free: 8.699 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001799/0.1501, allocations: 489.2 kB / 340.8 MB, free: 8.219 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002031/0.1521, allocations: 488.4 kB / 341.3 MB, free: 7.738 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008924/0.153, allocations: 211.7 kB / 341.5 MB, free: 7.531 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00274/0.1558, allocations: 1.584 MB / 343.1 MB, free: 5.941 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001013/0.1568, allocations: 0.4955 MB / 343.6 MB, free: 5.426 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001397/0.1582, allocations: 0.5563 MB / 344.1 MB, free: 4.867 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001167/0.1594, allocations: 0.6261 MB / 344.7 MB, free: 4.238 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001913/0.1596, allocations: 84 kB / 344.8 MB, free: 4.156 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004479/0.1601, allocations: 124 kB / 344.9 MB, free: 4.035 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002463/0.1603, allocations: 242.9 kB / 345.2 MB, free: 3.797 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006301/0.161, allocations: 313 kB / 345.5 MB, free: 3.484 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001818/0.1628, allocations: 1.515 MB / 347 MB, free: 1.965 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.1628, allocations: 0 / 347 MB, free: 1.965 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1628, allocations: 0 / 347 MB, free: 1.965 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.197e-05/0.1629, allocations: 0 / 347 MB, free: 1.965 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003354/0.1662, allocations: 1.567 MB / 348.6 MB, free: 336 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.1663, allocations: 8.031 kB / 348.6 MB, free: 328 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006268/0.1669, allocations: 206 kB / 348.8 MB, free: 120 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001586/0.1685, allocations: 0.7776 MB / 349.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001729/0.1687, allocations: 123.8 kB / 349.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/0.1689, allocations: 111.9 kB / 349.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002195/0.1711, allocations: 1.141 MB / 350.9 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.423e-05/0.1711, allocations: 4 kB / 350.9 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-05/0.1712, allocations: 47.94 kB / 351 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.778e-05/0.1713, allocations: 31.95 kB / 351 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001612/0.1729, allocations: 0.7766 MB / 351.8 MB, free: 12.97 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006754/0.1797, allocations: 3.949 MB / 355.7 MB, free: 8.824 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/0.1813, allocations: 0.6046 MB / 356.3 MB, free: 8.207 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004999/0.1818, allocations: 274.9 kB / 356.6 MB, free: 7.938 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.421e-05/0.1819, allocations: 12.55 kB / 356.6 MB, free: 7.926 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006778/0.1825, allocations: 303.4 kB / 356.9 MB, free: 7.617 MB / 302.1 MB Notification: Performance of pre-optimization done (n=62): time 3.286e-06/0.1826, allocations: 3.938 kB / 356.9 MB, free: 7.613 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.005057/0.1876, allocations: 2.12 MB / 359 MB, free: 5.398 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002777/0.1879, allocations: 475.2 kB / 359.5 MB, free: 4.824 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001665/0.1896, allocations: 1.094 MB / 360.6 MB, free: 3.719 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.486e-05/0.1897, allocations: 45.7 kB / 360.6 MB, free: 3.668 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005788/0.1903, allocations: 0.6428 MB / 361.3 MB, free: 3.016 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002294/0.1905, allocations: 232.7 kB / 361.5 MB, free: 2.785 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.823e-05/0.1906, allocations: 24 kB / 361.5 MB, free: 2.762 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.1907, allocations: 341.9 kB / 361.9 MB, free: 2.422 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000534/0.1913, allocations: 254.5 kB / 362.1 MB, free: 2.172 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.1923, allocations: 0.7169 MB / 362.8 MB, free: 1.246 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008471/0.1932, allocations: 418.3 kB / 363.2 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.1932, allocations: 0 / 363.2 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002306/0.1955, allocations: 1.134 MB / 364.4 MB, free: 15.66 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.425e-05/0.1956, allocations: 67.39 kB / 364.4 MB, free: 15.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.59e-05/0.1956, allocations: 12 kB / 364.5 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005987/0.1962, allocations: 177.7 kB / 364.6 MB, free: 15.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006711/0.1969, allocations: 207.6 kB / 364.8 MB, free: 15.19 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00409/0.201, allocations: 3.549 MB / 368.4 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/0.2023, allocations: 84.03 kB / 368.5 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.355e-05/0.2024, allocations: 44 kB / 368.5 MB, free: 11.25 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * 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: 1 {6 9} Notification: Performance of prepare postOptimizeDAE: time 0.0006193/0.203, allocations: 293.5 kB / 368.8 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002372/0.2032, allocations: 122.5 kB / 368.9 MB, free: 10.83 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/0.2048, allocations: 0.7272 MB / 369.6 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.2048, allocations: 8 kB / 369.6 MB, free: 10.08 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2048, allocations: 0 / 369.6 MB, free: 10.08 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001367/0.2062, allocations: 0.9647 MB / 370.6 MB, free: 9.004 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003236/0.2094, allocations: 1.81 MB / 372.4 MB, free: 7.113 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/0.2094, allocations: 0 / 372.4 MB, free: 7.113 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004699/0.2099, allocations: 120 kB / 372.5 MB, free: 6.996 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004385/0.2104, allocations: 125.6 kB / 372.7 MB, free: 6.867 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.21e-05/0.2104, allocations: 19.98 kB / 372.7 MB, free: 6.848 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003249/0.2137, allocations: 3.283 MB / 376 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.2137, allocations: 4.031 kB / 376 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001926/0.2156, allocations: 1.065 MB / 377 MB, free: 2.184 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005224/0.2162, allocations: 259.5 kB / 377.3 MB, free: 1.91 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/0.2163, allocations: 20 kB / 377.3 MB, free: 1.891 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005737/0.2169, allocations: 43.97 kB / 377.3 MB, free: 1.848 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.2171, allocations: 56.47 kB / 377.4 MB, free: 1.793 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.58e-05/0.2171, allocations: 24 kB / 377.4 MB, free: 1.77 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001089/0.2182, allocations: 0.7367 MB / 378.2 MB, free: 1.027 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2182, allocations: 0 / 378.2 MB, free: 1.027 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001175/0.2194, allocations: 312 kB / 378.5 MB, free: 0.7227 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi,armature.T,core.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * 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: 1 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002732/0.2197, allocations: 127.1 kB / 378.6 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.1884/0.4081, allocations: 1.105 MB / 379.7 MB, free: 51.42 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/0.4082, allocations: 5.312 kB / 379.7 MB, free: 51.42 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001114/0.4093, allocations: 0.5507 MB / 380.3 MB, free: 51.2 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001869/0.4112, allocations: 317.8 kB / 380.6 MB, free: 51.19 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004623/0.4158, allocations: 2.747 MB / 383.3 MB, free: 49.78 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007795/0.4166, allocations: 1.086 MB / 384.4 MB, free: 49.05 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002939/0.4169, allocations: 81.58 kB / 384.5 MB, free: 49.05 MB / 318.1 MB Notification: Performance of SimCode: time 1.764e-06/0.4169, allocations: 0 / 384.5 MB, free: 49.05 MB / 318.1 MB Notification: Performance of Templates: time 0.04075/0.4577, allocations: 26.02 MB / 410.5 MB, free: 32.34 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.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_CoolingCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CoolingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CoolingCalcHelperMain.o] Error 1