Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 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.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_4.0.0_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_4.0.0_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.001057/0.001057, allocations: 90.48 kB / 16.95 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.001313/0.001314, allocations: 191.8 kB / 17.85 MB, free: 5.227 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.6/1.6, allocations: 223.3 MB / 241.9 MB, free: 328 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.0003507, allocations: 8 kB / 301.5 MB, free: 6.422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1346, allocations: 50.42 MB / 351.9 MB, free: 3.992 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01172/0.1464, allocations: 8.482 MB / 360.4 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007593/0.154, allocations: 2.879 MB / 363.2 MB, free: 8.582 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002416/0.1565, allocations: 23.94 kB / 363.3 MB, free: 8.559 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002573/0.1591, allocations: 489.2 kB / 363.7 MB, free: 8.078 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003077/0.1622, allocations: 480.4 kB / 364.2 MB, free: 7.605 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001119/0.1634, allocations: 219.7 kB / 364.4 MB, free: 7.391 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002792/0.1662, allocations: 1.571 MB / 366 MB, free: 5.816 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009427/0.1671, allocations: 499.4 kB / 366.5 MB, free: 5.301 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00111/0.1682, allocations: 0.5563 MB / 367 MB, free: 4.742 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007972/0.169, allocations: 0.6339 MB / 367.7 MB, free: 4.105 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000138/0.1692, allocations: 84 kB / 367.8 MB, free: 4.023 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003412/0.1695, allocations: 120 kB / 367.9 MB, free: 3.906 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002144/0.1698, allocations: 242.9 kB / 368.1 MB, free: 3.668 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003272/0.1701, allocations: 313 kB / 368.4 MB, free: 3.355 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001477/0.1716, allocations: 1.511 MB / 369.9 MB, free: 1.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.1716, allocations: 4 kB / 369.9 MB, free: 1.836 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1716, allocations: 0 / 369.9 MB, free: 1.836 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.741e-05/0.1716, allocations: 0 / 369.9 MB, free: 1.836 MB / 302.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.002826/0.1745, allocations: 1.567 MB / 371.5 MB, free: 204 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.1745, allocations: 8.031 kB / 371.5 MB, free: 196 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2612/0.4357, allocations: 197.7 kB / 371.7 MB, free: 24.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002584/0.4384, allocations: 0.7785 MB / 372.5 MB, free: 24.29 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002123/0.4386, allocations: 116.4 kB / 372.6 MB, free: 24.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00024/0.4388, allocations: 108.9 kB / 372.7 MB, free: 24.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002692/0.4415, allocations: 1.144 MB / 373.8 MB, free: 24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.31e-05/0.4416, allocations: 7.625 kB / 373.9 MB, free: 24 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001327/0.4417, allocations: 49.09 kB / 373.9 MB, free: 24 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-05/0.4418, allocations: 25.91 kB / 373.9 MB, free: 24 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001827/0.4436, allocations: 0.7703 MB / 374.7 MB, free: 23.81 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.006827/0.4505, allocations: 3.974 MB / 378.7 MB, free: 21.42 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001755/0.4522, allocations: 0.5919 MB / 379.3 MB, free: 21.19 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006255/0.4529, allocations: 280.8 kB / 379.5 MB, free: 21.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.477e-05/0.453, allocations: 14.58 kB / 379.6 MB, free: 21.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008726/0.4538, allocations: 305.6 kB / 379.8 MB, free: 20.95 MB / 302.1 MB Notification: Performance of pre-optimization done (n=62): time 6.713e-06/0.4539, allocations: 3.984 kB / 379.9 MB, free: 20.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.005675/0.4596, allocations: 2.113 MB / 382 MB, free: 19.77 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001999/0.4598, allocations: 473.9 kB / 382.4 MB, free: 19.21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002057/0.4618, allocations: 1.096 MB / 383.5 MB, free: 18.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.23e-05/0.4619, allocations: 43.61 kB / 383.6 MB, free: 18.71 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000647/0.4626, allocations: 0.6395 MB / 384.2 MB, free: 18.2 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002274/0.4628, allocations: 241.3 kB / 384.4 MB, free: 18.02 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/0.4629, allocations: 20.2 kB / 384.5 MB, free: 18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.463, allocations: 347 kB / 384.8 MB, free: 17.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006648/0.4637, allocations: 250.6 kB / 385 MB, free: 17.6 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.4648, allocations: 0.7172 MB / 385.8 MB, free: 16.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008018/0.4656, allocations: 407.3 kB / 386.2 MB, free: 16.69 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/0.4656, allocations: 7.344 kB / 386.2 MB, free: 16.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002419/0.468, allocations: 1.141 MB / 387.3 MB, free: 16.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.037e-05/0.4681, allocations: 63.41 kB / 387.4 MB, free: 16.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.3e-05/0.4681, allocations: 13.56 kB / 387.4 MB, free: 16.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006202/0.4688, allocations: 167.1 kB / 387.5 MB, free: 16.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007203/0.4695, allocations: 213.6 kB / 387.8 MB, free: 16.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003473/0.473, allocations: 3.536 MB / 391.3 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/0.4741, allocations: 80.77 kB / 391.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.97e-05/0.4742, allocations: 51.53 kB / 391.4 MB, free: 12.88 MB / 302.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.0005358/0.4747, allocations: 297.5 kB / 391.7 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/0.4749, allocations: 128.3 kB / 391.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/0.4763, allocations: 0.7197 MB / 392.6 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.4763, allocations: 10.31 kB / 392.6 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.4763, allocations: 3.953 kB / 392.6 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001199/0.4775, allocations: 0.9739 MB / 393.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002523/0.4801, allocations: 1.796 MB / 395.3 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.4801, allocations: 1.781 kB / 395.3 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004372/0.4805, allocations: 109.1 kB / 395.4 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003571/0.4809, allocations: 132.3 kB / 395.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/0.4809, allocations: 16.11 kB / 395.6 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002774/0.4837, allocations: 3.283 MB / 398.9 MB, free: 6.934 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.4837, allocations: 10.05 kB / 398.9 MB, free: 6.926 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001844/0.4856, allocations: 1.07 MB / 400 MB, free: 6.281 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004135/0.486, allocations: 253 kB / 400.2 MB, free: 6.051 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/0.4862, allocations: 15.88 kB / 400.2 MB, free: 6.043 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000555/0.4867, allocations: 54.67 kB / 400.3 MB, free: 6.016 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.4869, allocations: 62.56 kB / 400.3 MB, free: 5.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.665e-05/0.4869, allocations: 16.94 kB / 400.3 MB, free: 5.977 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001011/0.4879, allocations: 0.7359 MB / 401.1 MB, free: 5.555 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4879, allocations: 0 / 401.1 MB, free: 5.555 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001099/0.489, allocations: 313 kB / 401.4 MB, free: 5.523 MB / 302.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.0002358/0.4893, allocations: 124.8 kB / 401.5 MB, free: 5.422 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001665/0.491, allocations: 1.107 MB / 402.6 MB, free: 4.711 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.491, allocations: 3.906 kB / 402.6 MB, free: 4.711 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007213/0.4917, allocations: 0.5496 MB / 403.2 MB, free: 4.164 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.493, allocations: 317.2 kB / 403.5 MB, free: 3.867 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003242/0.4962, allocations: 2.75 MB / 406.2 MB, free: 1.062 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004939/0.4967, allocations: 1.089 MB / 407.3 MB, free: 15.94 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002124/0.497, allocations: 79.44 kB / 407.4 MB, free: 15.86 MB / 318.1 MB Notification: Performance of SimCode: time 8.82e-07/0.497, allocations: 0 / 407.4 MB, free: 15.86 MB / 318.1 MB Notification: Performance of Templates: time 0.03756/0.5345, allocations: 26.02 MB / 433.4 MB, free: 5.941 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CoolingCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CoolingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CoolingCalcHelperMain.o] Error 1