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.001629/0.001629, allocations: 109 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.001752/0.001752, 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.958/1.958, allocations: 205.1 MB / 224.6 MB, free: 12.48 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.001538/0.001538, allocations: 47.92 kB / 280.6 MB, free: 3.574 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1687, allocations: 46.63 MB / 327.3 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01408/0.1829, allocations: 9.488 MB / 336.7 MB, free: 11.34 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009792/0.1928, allocations: 3.105 MB / 339.9 MB, free: 8.219 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003228/0.1962, allocations: 27.94 kB / 339.9 MB, free: 8.191 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003008/0.1993, allocations: 0.505 MB / 340.4 MB, free: 7.684 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003671/0.203, allocations: 0.4887 MB / 340.9 MB, free: 7.191 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.2043, allocations: 275.7 kB / 341.1 MB, free: 6.922 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003791/0.2081, allocations: 1.677 MB / 342.8 MB, free: 5.238 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001281/0.2094, allocations: 0.5493 MB / 343.4 MB, free: 4.664 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001463/0.2109, allocations: 0.6146 MB / 344 MB, free: 4.047 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001232/0.2121, allocations: 0.7155 MB / 344.7 MB, free: 3.328 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002128/0.2123, allocations: 108 kB / 344.8 MB, free: 3.223 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005206/0.2129, allocations: 143.9 kB / 344.9 MB, free: 3.082 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003107/0.2132, allocations: 282.8 kB / 345.2 MB, free: 2.805 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001097/0.2143, allocations: 0.7501 MB / 346 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002075/0.2164, allocations: 1.551 MB / 347.5 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.141e-05/0.2164, allocations: 0 / 347.5 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.736e-06/0.2164, allocations: 0 / 347.5 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.036e-05/0.2165, allocations: 0 / 347.5 MB, free: 0.4961 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.005167/0.2217, allocations: 1.808 MB / 349.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.504e-05/0.2218, allocations: 12.03 kB / 349.3 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007846/0.2226, allocations: 195 kB / 349.5 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001793/0.2244, allocations: 0.8094 MB / 350.3 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002127/0.2246, allocations: 116.4 kB / 350.5 MB, free: 13.44 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001896/0.2248, allocations: 112 kB / 350.6 MB, free: 13.33 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002764/0.2276, allocations: 1.142 MB / 351.7 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-05/0.2276, allocations: 7.938 kB / 351.7 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001275/0.2278, allocations: 48 kB / 351.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.582e-05/0.2278, allocations: 24 kB / 351.8 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0022/0.23, allocations: 0.7535 MB / 352.5 MB, free: 11.27 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.008426/0.2385, allocations: 3.957 MB / 356.5 MB, free: 7.105 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001785/0.2403, allocations: 0.5892 MB / 357.1 MB, free: 6.512 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006013/0.2409, allocations: 270.9 kB / 357.3 MB, free: 6.246 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.398e-05/0.241, allocations: 12.56 kB / 357.4 MB, free: 6.234 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001005/0.242, allocations: 295 kB / 357.6 MB, free: 5.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=62): time 6.562e-06/0.242, allocations: 0 / 357.6 MB, free: 5.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.006406/0.2484, allocations: 2.084 MB / 359.7 MB, free: 3.75 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005228/0.249, allocations: 483.2 kB / 360.2 MB, free: 3.168 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001953/0.251, allocations: 1.101 MB / 361.3 MB, free: 2.055 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.043e-05/0.2511, allocations: 37.7 kB / 361.3 MB, free: 2.012 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008452/0.2519, allocations: 0.6389 MB / 362 MB, free: 1.363 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003236/0.2522, allocations: 240.7 kB / 362.2 MB, free: 1.125 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003757/0.2526, allocations: 198.7 kB / 362.4 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002952/0.2529, allocations: 345.9 kB / 362.7 MB, free: 0.582 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005957/0.2535, allocations: 242.4 kB / 363 MB, free: 352 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/0.2547, allocations: 0.7131 MB / 363.7 MB, free: 15.42 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001656/0.2564, allocations: 0.9375 MB / 364.6 MB, free: 14.31 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.407e-06/0.2564, allocations: 7.938 kB / 364.6 MB, free: 14.3 MB / 318.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002733/0.2591, allocations: 1.141 MB / 365.8 MB, free: 13.13 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.958e-05/0.2593, allocations: 63.41 kB / 365.8 MB, free: 13.06 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.597e-05/0.2593, allocations: 12 kB / 365.9 MB, free: 13.05 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007835/0.2601, allocations: 169.8 kB / 366 MB, free: 12.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000754/0.2608, allocations: 203.7 kB / 366.2 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005484/0.2663, allocations: 3.55 MB / 369.8 MB, free: 8.867 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/0.268, allocations: 71.86 kB / 369.8 MB, free: 8.797 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001712/0.2682, allocations: 47.98 kB / 369.9 MB, free: 8.75 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(6,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0009951/0.2692, allocations: 297.7 kB / 370.2 MB, free: 8.449 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005098/0.2697, allocations: 130.4 kB / 370.3 MB, free: 8.32 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002173/0.2719, allocations: 0.7077 MB / 371 MB, free: 7.586 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.2719, allocations: 4 kB / 371 MB, free: 7.582 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.2719, allocations: 0 / 371 MB, free: 7.582 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001688/0.2736, allocations: 0.9568 MB / 372 MB, free: 6.516 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004779/0.2784, allocations: 1.782 MB / 373.8 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.223e-05/0.2785, allocations: 7.938 kB / 373.8 MB, free: 4.645 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005957/0.2791, allocations: 108 kB / 373.9 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006685/0.2798, allocations: 129.6 kB / 374 MB, free: 4.406 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-05/0.2799, allocations: 16 kB / 374 MB, free: 4.391 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004812/0.2847, allocations: 3.286 MB / 377.3 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.2848, allocations: 8.094 kB / 377.3 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3459/0.6306, allocations: 1.042 MB / 378.4 MB, free: 52.06 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001274/0.632, allocations: 253 kB / 378.6 MB, free: 51.96 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001785/0.6322, allocations: 18.28 kB / 378.6 MB, free: 51.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007385/0.6329, allocations: 43.23 kB / 378.7 MB, free: 51.96 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000269/0.6332, allocations: 59.59 kB / 378.7 MB, free: 51.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-05/0.6333, allocations: 19.22 kB / 378.7 MB, free: 51.96 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00172/0.635, allocations: 0.7432 MB / 379.5 MB, free: 51.86 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.01e-07/0.635, allocations: 0 / 379.5 MB, free: 51.86 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00183/0.6369, allocations: 308.3 kB / 379.8 MB, free: 51.86 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 (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000447/0.6373, allocations: 138.6 kB / 379.9 MB, free: 51.77 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002722/0.6401, allocations: 1.086 MB / 381 MB, free: 51.4 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.789e-06/0.6401, allocations: 2.5 kB / 381 MB, free: 51.4 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.6411, allocations: 0.5435 MB / 381.5 MB, free: 51.16 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001703/0.6428, allocations: 313.7 kB / 381.9 MB, free: 51.15 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005284/0.6481, allocations: 2.723 MB / 384.6 MB, free: 49.64 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001294/0.6494, allocations: 1.085 MB / 385.7 MB, free: 48.92 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003079/0.6498, allocations: 90.81 kB / 385.8 MB, free: 48.9 MB / 318.1 MB Notification: Performance of SimCode: time 4.138e-06/0.6498, allocations: 0 / 385.8 MB, free: 48.9 MB / 318.1 MB Notification: Performance of Templates: time 0.05187/0.7016, allocations: 26.17 MB / 411.9 MB, free: 30.95 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++ -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_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