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.00106/0.00106, allocations: 95.94 kB / 17.96 MB, free: 5.77 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.001376/0.001376, allocations: 178.8 kB / 18.86 MB, free: 4.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.088/2.088, allocations: 205.4 MB / 225 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.000615/0.000615, allocations: 19.94 kB / 282 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1432, allocations: 47.58 MB / 329.6 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01101/0.1543, allocations: 7.398 MB / 337 MB, free: 12.32 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007098/0.1615, allocations: 2.564 MB / 339.6 MB, free: 9.738 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002129/0.1637, allocations: 27.94 kB / 339.6 MB, free: 9.711 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002564/0.1663, allocations: 457.6 kB / 340.1 MB, free: 9.262 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002367/0.1687, allocations: 349.5 kB / 340.4 MB, free: 8.918 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.1697, allocations: 183.9 kB / 340.6 MB, free: 8.738 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002668/0.1724, allocations: 1.179 MB / 341.8 MB, free: 7.559 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001362/0.1738, allocations: 459.9 kB / 342.2 MB, free: 7.09 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001281/0.1751, allocations: 398.1 kB / 342.6 MB, free: 6.699 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00133/0.1764, allocations: 453.7 kB / 343 MB, free: 6.254 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003791/0.1768, allocations: 60 kB / 343.1 MB, free: 6.195 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000788/0.1776, allocations: 95.95 kB / 343.2 MB, free: 6.102 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003454/0.178, allocations: 167.1 kB / 343.4 MB, free: 5.938 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001378/0.1794, allocations: 0.5186 MB / 343.9 MB, free: 5.41 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001986/0.1814, allocations: 1.133 MB / 345 MB, free: 4.273 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.668e-06/0.1814, allocations: 4 kB / 345 MB, free: 4.27 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.075e-06/0.1814, allocations: 0 / 345 MB, free: 4.27 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.44e-05/0.1815, allocations: 0 / 345 MB, free: 4.27 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.003489/0.185, allocations: 1.149 MB / 346.2 MB, free: 3.066 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.44e-05/0.1851, allocations: 8.031 kB / 346.2 MB, free: 3.059 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006791/0.1858, allocations: 155.6 kB / 346.3 MB, free: 2.906 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.187, allocations: 0.6337 MB / 346.9 MB, free: 2.23 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.98e-05/0.187, allocations: 66.36 kB / 347 MB, free: 2.164 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001522/0.1872, allocations: 91.84 kB / 347.1 MB, free: 2.074 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001709/0.1889, allocations: 0.8262 MB / 347.9 MB, free: 1.219 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.295e-05/0.189, allocations: 0 / 347.9 MB, free: 1.219 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.731e-05/0.1891, allocations: 36 kB / 348 MB, free: 1.184 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.572e-05/0.1891, allocations: 20 kB / 348 MB, free: 1.164 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/0.1903, allocations: 0.5583 MB / 348.5 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005155/0.1955, allocations: 3.597 MB / 352.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006922/0.1962, allocations: 254.5 kB / 352.4 MB, free: 12.51 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003117/0.1965, allocations: 132.7 kB / 352.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.547e-05/0.1966, allocations: 4 kB / 352.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001303/0.1967, allocations: 38.55 kB / 352.6 MB, free: 12.33 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 4.419e-06/0.1967, allocations: 0 / 352.6 MB, free: 12.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002704/0.1994, allocations: 1.106 MB / 353.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.528e-05/0.1995, allocations: 85.05 kB / 353.7 MB, free: 11.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.2007, allocations: 0.7624 MB / 354.5 MB, free: 10.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.2007, allocations: 29.7 kB / 354.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004144/0.2011, allocations: 0.5175 MB / 355.1 MB, free: 9.707 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.977e-05/0.2013, allocations: 114.5 kB / 355.2 MB, free: 9.594 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.2014, allocations: 53.69 kB / 355.2 MB, free: 9.535 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002245/0.2016, allocations: 382.8 kB / 355.6 MB, free: 9.152 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003006/0.2019, allocations: 133.2 kB / 355.7 MB, free: 9.023 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005463/0.2025, allocations: 458.2 kB / 356.2 MB, free: 8.426 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.2036, allocations: 0.6336 MB / 356.8 MB, free: 7.645 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2036, allocations: 0 / 356.8 MB, free: 7.645 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001179/0.2048, allocations: 0.6541 MB / 357.5 MB, free: 6.98 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.2048, allocations: 16.03 kB / 357.5 MB, free: 6.965 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/0.2048, allocations: 11.94 kB / 357.5 MB, free: 6.953 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001855/0.205, allocations: 36.84 kB / 357.5 MB, free: 6.914 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004776/0.2055, allocations: 155.7 kB / 357.7 MB, free: 6.762 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/0.2069, allocations: 1.291 MB / 359 MB, free: 5.332 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005598/0.2075, allocations: 48.05 kB / 359 MB, free: 5.285 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.193e-05/0.2076, allocations: 35.98 kB / 359.1 MB, free: 5.25 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005191/0.2081, allocations: 245.5 kB / 359.3 MB, free: 5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.2082, allocations: 75.06 kB / 359.4 MB, free: 4.926 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008421/0.2091, allocations: 354.1 kB / 359.7 MB, free: 4.57 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.2091, allocations: 4 kB / 359.7 MB, free: 4.566 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.2091, allocations: 0 / 359.7 MB, free: 4.566 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.2091, allocations: 0 / 359.7 MB, free: 4.566 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002323/0.2115, allocations: 1.137 MB / 360.8 MB, free: 3.348 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.2115, allocations: 4 kB / 360.9 MB, free: 3.344 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003103/0.2118, allocations: 67.89 kB / 360.9 MB, free: 3.277 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001089/0.2119, allocations: 25.06 kB / 360.9 MB, free: 3.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/0.212, allocations: 8 kB / 361 MB, free: 3.242 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001424/0.2134, allocations: 1.28 MB / 362.2 MB, free: 1.828 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.2134, allocations: 0 / 362.2 MB, free: 1.828 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.2146, allocations: 0.5916 MB / 362.8 MB, free: 1.195 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003036/0.2149, allocations: 184.2 kB / 363 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.819e-05/0.215, allocations: 8 kB / 363 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003514/0.2154, allocations: 27.92 kB / 363 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.2155, allocations: 23.97 kB / 363.1 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.2155, allocations: 15.94 kB / 363.1 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008545/0.2164, allocations: 0.5186 MB / 363.6 MB, free: 416 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2164, allocations: 0 / 363.6 MB, free: 416 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.00101/0.2174, allocations: 168 kB / 363.8 MB, free: 248 kB / 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003058/0.2177, allocations: 111.2 kB / 363.9 MB, free: 128 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001101/0.2188, allocations: 0.4924 MB / 364.4 MB, free: 15.62 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.2188, allocations: 0.5625 kB / 364.4 MB, free: 15.62 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004412/0.2193, allocations: 246.5 kB / 364.6 MB, free: 15.37 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.2206, allocations: 183.7 kB / 364.8 MB, free: 15.19 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003232/0.2238, allocations: 1.924 MB / 366.7 MB, free: 13.21 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007219/0.2246, allocations: 0.9604 MB / 367.7 MB, free: 12.22 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.2247, allocations: 55.38 kB / 367.7 MB, free: 12.17 MB / 318.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2247, allocations: 0 / 367.7 MB, free: 12.17 MB / 318.1 MB Notification: Performance of Templates: time 0.2866/0.5114, allocations: 13.66 MB / 381.4 MB, free: 51.76 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++ -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.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