Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.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 main/package.mo", uses=false) Using package EHPTlib with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 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.TestTwoFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001035, allocations: 103 kB / 15.71 MB, free: 460 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.001447/0.001446, allocations: 178.2 kB / 16.58 MB, free: 6.145 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.533/1.533, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.2241/0.2241, allocations: 8.613 MB / 300.3 MB, free: 3.156 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003818/0.0003819, allocations: 11.98 kB / 363.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1344, allocations: 52.33 MB / 415.5 MB, free: 9.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.005187/0.1396, allocations: 3.696 MB / 419.2 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002918/0.1426, allocations: 1.361 MB / 420.5 MB, free: 4.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004215/0.143, allocations: 15.94 kB / 420.5 MB, free: 4.094 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004184/0.1435, allocations: 131.2 kB / 420.7 MB, free: 3.965 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004941/0.144, allocations: 159 kB / 420.8 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008277/0.1448, allocations: 259.2 kB / 421.1 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008969/0.1457, allocations: 0.7791 MB / 421.9 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000565/0.1463, allocations: 341 kB / 422.2 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003093/0.1466, allocations: 243 kB / 422.4 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003829/0.147, allocations: 286.6 kB / 422.7 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.864e-05/0.1471, allocations: 36 kB / 422.7 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.1472, allocations: 63.98 kB / 422.8 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001711/0.1474, allocations: 135.4 kB / 422.9 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001544/0.1476, allocations: 169.3 kB / 423.1 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007651/0.1483, allocations: 0.8182 MB / 423.9 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1484, allocations: 0 / 423.9 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.977e-06/0.1484, allocations: 4 kB / 423.9 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.1484, allocations: 4 kB / 423.9 MB, free: 0.6836 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.2114/0.3598, allocations: 1.018 MB / 424.9 MB, free: 40.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.3599, allocations: 9.562 kB / 424.9 MB, free: 40.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002767/0.3602, allocations: 86.62 kB / 425 MB, free: 40.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007053/0.3609, allocations: 495.4 kB / 425.5 MB, free: 40.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.375e-05/0.361, allocations: 55.34 kB / 425.6 MB, free: 40.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.3611, allocations: 80.25 kB / 425.7 MB, free: 40.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.3624, allocations: 0.714 MB / 426.4 MB, free: 40.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.3624, allocations: 3.312 kB / 426.4 MB, free: 40.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.094e-05/0.3625, allocations: 31.67 kB / 426.4 MB, free: 40.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.3625, allocations: 14.69 kB / 426.4 MB, free: 40.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.3636, allocations: 0.5312 MB / 426.9 MB, free: 40.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003128/0.3667, allocations: 2.593 MB / 429.5 MB, free: 39.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008612/0.3676, allocations: 467.7 kB / 430 MB, free: 39.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003506/0.368, allocations: 195.1 kB / 430.2 MB, free: 39.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.959e-05/0.368, allocations: 7.188 kB / 430.2 MB, free: 39.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005308/0.3685, allocations: 272.8 kB / 430.5 MB, free: 39.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.783e-06/0.3685, allocations: 0 / 430.5 MB, free: 39.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.001523/0.3701, allocations: 0.7547 MB / 431.2 MB, free: 39.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.3701, allocations: 140.4 kB / 431.4 MB, free: 39.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000548/0.3707, allocations: 0.5687 MB / 431.9 MB, free: 38.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.3707, allocations: 32.2 kB / 432 MB, free: 38.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/0.3709, allocations: 354.2 kB / 432.3 MB, free: 38.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.203e-05/0.371, allocations: 111.9 kB / 432.4 MB, free: 38.63 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.138e-05/0.371, allocations: 8.188 kB / 432.4 MB, free: 38.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.634e-05/0.3711, allocations: 369.2 kB / 432.8 MB, free: 38.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003639/0.3715, allocations: 175.1 kB / 432.9 MB, free: 38.31 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000409/0.3719, allocations: 278.6 kB / 433.2 MB, free: 38.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000444/0.3724, allocations: 279.6 kB / 433.5 MB, free: 38.08 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3724, allocations: 0 / 433.5 MB, free: 38.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001051/0.3734, allocations: 0.6365 MB / 434.1 MB, free: 37.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.08e-05/0.3735, allocations: 260.8 kB / 434.4 MB, free: 37.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.3736, allocations: 2.969 kB / 434.4 MB, free: 37.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001468/0.3737, allocations: 28.84 kB / 434.4 MB, free: 37.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/0.374, allocations: 90.31 kB / 434.5 MB, free: 37.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006839/0.3747, allocations: 1.291 MB / 435.8 MB, free: 36.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003813/0.3751, allocations: 93.84 kB / 435.9 MB, free: 36.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/0.3751, allocations: 20.48 kB / 435.9 MB, free: 36.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.27e-06/0.3751, allocations: 3.219 kB / 435.9 MB, free: 36.2 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008498/0.376, allocations: 0.5554 MB / 436.5 MB, free: 35.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.376, allocations: 3.188 kB / 436.5 MB, free: 35.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.262e-05/0.3761, allocations: 28 kB / 436.5 MB, free: 35.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/0.3764, allocations: 85.2 kB / 436.6 MB, free: 35.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005808/0.3769, allocations: 1.29 MB / 437.9 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000331/0.3773, allocations: 81.7 kB / 437.9 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.903e-05/0.3773, allocations: 20.7 kB / 438 MB, free: 34.55 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 ($whenCondition1,twoFlanges.limTau.state,$PRE.tauRef.T_start,tauRef.T_start,$PRE.tauRef.count,tauRef.count,twoFlanges.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * 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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003147/0.3776, allocations: 367.6 kB / 438.3 MB, free: 34.24 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.51e-05/0.3777, allocations: 57.69 kB / 438.4 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009223/0.3786, allocations: 0.5381 MB / 438.9 MB, free: 33.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.3787, allocations: 6.844 kB / 438.9 MB, free: 33.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.3787, allocations: 11.31 kB / 438.9 MB, free: 33.94 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.3787, allocations: 1.078 kB / 438.9 MB, free: 33.94 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/0.3802, allocations: 1.203 MB / 440.1 MB, free: 33.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.3802, allocations: 7.375 kB / 440.1 MB, free: 33.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002697/0.3805, allocations: 72.3 kB / 440.2 MB, free: 33.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.638e-05/0.3806, allocations: 21.98 kB / 440.2 MB, free: 33.24 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.799e-05/0.3806, allocations: 7.25 kB / 440.2 MB, free: 33.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005694/0.3812, allocations: 1.297 MB / 441.5 MB, free: 31.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3812, allocations: 0 / 441.5 MB, free: 31.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/0.3824, allocations: 0.8412 MB / 442.4 MB, free: 31.47 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.695e-05/0.3825, allocations: 139.9 kB / 442.5 MB, free: 31.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.07e-05/0.3826, allocations: 10.59 kB / 442.5 MB, free: 31.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003339/0.3829, allocations: 55.95 kB / 442.6 MB, free: 31.33 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.432e-05/0.383, allocations: 34.81 kB / 442.6 MB, free: 31.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.561e-05/0.383, allocations: 10.41 kB / 442.6 MB, free: 31.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003869/0.3834, allocations: 418.2 kB / 443 MB, free: 31.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3834, allocations: 0 / 443 MB, free: 31.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007317/0.3842, allocations: 283.4 kB / 443.3 MB, free: 31.06 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,twoFlanges.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,twoFlanges.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,twoFlanges.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007942/0.385, allocations: 370.2 kB / 443.7 MB, free: 30.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001572/0.3866, allocations: 1.214 MB / 444.9 MB, free: 30.12 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3866, allocations: 0 / 444.9 MB, free: 30.12 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005101/0.3871, allocations: 457.4 kB / 445.3 MB, free: 29.81 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005152/0.3876, allocations: 82.75 kB / 445.4 MB, free: 29.78 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.3895, allocations: 1.538 MB / 447 MB, free: 28.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.3898, allocations: 0.8993 MB / 447.9 MB, free: 28.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.3899, allocations: 35.19 kB / 447.9 MB, free: 28.11 MB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3899, allocations: 0 / 447.9 MB, free: 28.11 MB / 350.1 MB Notification: Performance of Templates: time 0.01136/0.4013, allocations: 10.57 MB / 458.5 MB, free: 27.01 MB / 350.1 MB make -j1 -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.makefile make -j1 -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.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 OMCppEHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlangeCalcHelperMain.o OMCppEHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlangeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppEHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlangeCalcHelperMain.o] Error 1