Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) 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(EHPTlib.MapBased.TestingModels.TestOneFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 92.31 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 177.9 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.111/2.111, allocations: 223.2 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.3227/0.3227, allocations: 8.03 MB / 300.1 MB, free: 3.309 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005681/0.0005683, allocations: 12 kB / 363 MB, free: 13.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.177, allocations: 52.19 MB / 415.2 MB, free: 9.652 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.008444/0.1855, allocations: 3.717 MB / 418.9 MB, free: 5.914 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005707/0.1913, allocations: 1.376 MB / 420.3 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001364/0.1927, allocations: 12 kB / 420.3 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00113/0.1939, allocations: 123.3 kB / 420.4 MB, free: 4.402 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001683/0.1956, allocations: 163 kB / 420.6 MB, free: 4.242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001835/0.1975, allocations: 343 kB / 420.9 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001839/0.1993, allocations: 0.7592 MB / 421.7 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001195/0.2005, allocations: 390.4 kB / 422.1 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006978/0.2013, allocations: 230.9 kB / 422.3 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000798/0.2021, allocations: 282.5 kB / 422.6 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001771/0.2023, allocations: 32 kB / 422.6 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003544/0.2026, allocations: 55.98 kB / 422.7 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003198/0.203, allocations: 139.4 kB / 422.8 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006707/0.2037, allocations: 343.9 kB / 423.1 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001322/0.205, allocations: 0.7753 MB / 423.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.205, allocations: 0 / 423.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.2051, allocations: 3.938 kB / 423.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.468e-05/0.2051, allocations: 0 / 423.9 MB, free: 0.9023 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.3625/0.5676, allocations: 0.9726 MB / 424.9 MB, free: 42.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.01e-05/0.5677, allocations: 10.19 kB / 424.9 MB, free: 42.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004871/0.5682, allocations: 80.95 kB / 425 MB, free: 42.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/0.5696, allocations: 0.4921 MB / 425.5 MB, free: 42.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.905e-05/0.5697, allocations: 51.09 kB / 425.5 MB, free: 42.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002606/0.57, allocations: 64.22 kB / 425.6 MB, free: 42.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002524/0.5726, allocations: 0.6703 MB / 426.3 MB, free: 42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.503e-05/0.5726, allocations: 1.25 kB / 426.3 MB, free: 42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.5727, allocations: 32.02 kB / 426.3 MB, free: 42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/0.5728, allocations: 11.91 kB / 426.3 MB, free: 42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002147/0.5749, allocations: 0.5023 MB / 426.8 MB, free: 41.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006418/0.5814, allocations: 2.541 MB / 429.3 MB, free: 40.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001492/0.5829, allocations: 446.7 kB / 429.8 MB, free: 40.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006808/0.5836, allocations: 180.7 kB / 430 MB, free: 40.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.243e-05/0.5837, allocations: 14.05 kB / 430 MB, free: 40.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001018/0.5847, allocations: 275.6 kB / 430.2 MB, free: 40.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 4.859e-06/0.5848, allocations: 0 / 430.2 MB, free: 40.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.002891/0.5877, allocations: 0.7277 MB / 431 MB, free: 40.53 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.701e-05/0.5878, allocations: 139.5 kB / 431.1 MB, free: 40.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/0.5893, allocations: 0.563 MB / 431.7 MB, free: 40.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.666e-05/0.5894, allocations: 33.55 kB / 431.7 MB, free: 40.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000502/0.5899, allocations: 331 kB / 432 MB, free: 40.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001688/0.5901, allocations: 106.6 kB / 432.1 MB, free: 39.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.5902, allocations: 42.86 kB / 432.2 MB, free: 39.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.5904, allocations: 359.7 kB / 432.5 MB, free: 39.65 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007514/0.5912, allocations: 173.8 kB / 432.7 MB, free: 39.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007642/0.5919, allocations: 270.8 kB / 433 MB, free: 39.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001488/0.5935, allocations: 0.5684 MB / 433.5 MB, free: 39.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.5935, allocations: 7.031 kB / 433.5 MB, free: 39.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001985/0.5955, allocations: 0.6208 MB / 434.2 MB, free: 38.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001649/0.5957, allocations: 256 kB / 434.4 MB, free: 38.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.5957, allocations: 6.531 kB / 434.4 MB, free: 38.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002279/0.5959, allocations: 17.14 kB / 434.4 MB, free: 38.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005557/0.5965, allocations: 99.53 kB / 434.5 MB, free: 38.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00109/0.5976, allocations: 1.287 MB / 435.8 MB, free: 37.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007974/0.5984, allocations: 90.92 kB / 435.9 MB, free: 37.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.806e-05/0.5985, allocations: 20.62 kB / 435.9 MB, free: 37.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.5985, allocations: 7.172 kB / 435.9 MB, free: 37.08 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001692/0.6002, allocations: 0.5388 MB / 436.5 MB, free: 36.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.6003, allocations: 3.5 kB / 436.5 MB, free: 36.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000125/0.6004, allocations: 29.77 kB / 436.5 MB, free: 36.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004988/0.6009, allocations: 76.31 kB / 436.6 MB, free: 36.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001006/0.6019, allocations: 1.293 MB / 437.9 MB, free: 35.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007838/0.6027, allocations: 74.83 kB / 437.9 MB, free: 35.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.679e-05/0.6028, allocations: 18.47 kB / 438 MB, free: 35.45 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (oneFlange.limTau.state,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,$whenCondition1,oneFlange.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 3 * 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.0006506/0.6035, allocations: 358.1 kB / 438.3 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/0.6037, allocations: 60.81 kB / 438.4 MB, free: 35.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001613/0.6053, allocations: 0.5185 MB / 438.9 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.6053, allocations: 3.281 kB / 438.9 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.6054, allocations: 3.125 kB / 438.9 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.6054, allocations: 3.328 kB / 438.9 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002567/0.6079, allocations: 1.157 MB / 440 MB, free: 34.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.608, allocations: 0 / 440 MB, free: 34.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004561/0.6084, allocations: 69.38 kB / 440.1 MB, free: 34.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001245/0.6086, allocations: 18.19 kB / 440.1 MB, free: 34.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-05/0.6086, allocations: 11.09 kB / 440.1 MB, free: 34.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009224/0.6096, allocations: 1.285 MB / 441.4 MB, free: 32.85 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.6096, allocations: 4.062 kB / 441.4 MB, free: 32.85 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002187/0.6118, allocations: 0.814 MB / 442.2 MB, free: 32.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002577/0.6121, allocations: 139.5 kB / 442.4 MB, free: 32.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/0.6122, allocations: 7.312 kB / 442.4 MB, free: 32.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005978/0.6128, allocations: 60.02 kB / 442.4 MB, free: 32.28 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.613, allocations: 35.41 kB / 442.5 MB, free: 32.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-05/0.613, allocations: 9.781 kB / 442.5 MB, free: 32.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007144/0.6138, allocations: 406.4 kB / 442.9 MB, free: 32.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.6138, allocations: 0 / 442.9 MB, free: 32.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001311/0.6151, allocations: 270.1 kB / 443.2 MB, free: 32.01 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (inertia.w,loadTorque.phi,oneFlange.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,tauRef.T_start,tauRef.count,oneFlange.limTau.state) * Number of discrete states: 2 (tauRef.count,oneFlange.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * 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.001341/0.6164, allocations: 362 kB / 443.5 MB, free: 31.89 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002711/0.6192, allocations: 1.214 MB / 444.7 MB, free: 31.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.6192, allocations: 0 / 444.7 MB, free: 31.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008534/0.6201, allocations: 445.1 kB / 445.2 MB, free: 30.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009742/0.621, allocations: 81.58 kB / 445.2 MB, free: 30.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003327/0.6244, allocations: 1.534 MB / 446.8 MB, free: 29.78 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005328/0.625, allocations: 0.8872 MB / 447.7 MB, free: 29.06 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001947/0.6252, allocations: 36.38 kB / 447.7 MB, free: 29.05 MB / 350.1 MB Notification: Performance of SimCode: time 1.072e-06/0.6252, allocations: 4 kB / 447.7 MB, free: 29.05 MB / 350.1 MB Notification: Performance of Templates: time 0.02056/0.6457, allocations: 10.11 MB / 457.8 MB, free: 28.01 MB / 350.1 MB make -j1 -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.makefile make -j1 -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.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 OMCppEHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeCalcHelperMain.o OMCppEHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppEHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeCalcHelperMain.o] Error 1