Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.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.TestOneFlangeConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlangeConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 100.5 kB / 15.71 MB, free: 452 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.001555/0.001556, allocations: 174.9 kB / 16.58 MB, free: 6.422 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.522/1.522, allocations: 223.2 MB / 240.6 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.2686/0.2686, allocations: 8.608 MB / 300.3 MB, free: 3.23 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003413/0.0003414, allocations: 15.98 kB / 363.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1307, allocations: 52.32 MB / 415.5 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.004749/0.1355, allocations: 3.56 MB / 419 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002277/0.1378, allocations: 1.325 MB / 420.3 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002622/0.1381, allocations: 15.94 kB / 420.4 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003707/0.1385, allocations: 115.3 kB / 420.5 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003939/0.1389, allocations: 163 kB / 420.6 MB, free: 3.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005883/0.1395, allocations: 258.8 kB / 420.9 MB, free: 3.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007141/0.1402, allocations: 0.7363 MB / 421.6 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005382/0.1407, allocations: 346.3 kB / 422 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002512/0.141, allocations: 234.9 kB / 422.2 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003125/0.1413, allocations: 270.7 kB / 422.5 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.039e-05/0.1414, allocations: 32 kB / 422.5 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.1415, allocations: 59.98 kB / 422.5 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000155/0.1417, allocations: 127.5 kB / 422.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.1419, allocations: 157.3 kB / 422.8 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007424/0.1426, allocations: 0.7832 MB / 423.6 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.231e-05/0.1426, allocations: 4 kB / 423.6 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1426, allocations: 3.938 kB / 423.6 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.1426, allocations: 0 / 423.6 MB, free: 0.9805 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.2675/0.4102, allocations: 0.9962 MB / 424.6 MB, free: 41.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.4102, allocations: 9.438 kB / 424.6 MB, free: 41.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003182/0.4105, allocations: 78.5 kB / 424.7 MB, free: 41.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007804/0.4113, allocations: 493 kB / 425.2 MB, free: 40.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.364e-05/0.4114, allocations: 54.88 kB / 425.2 MB, free: 40.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.4115, allocations: 61.94 kB / 425.3 MB, free: 40.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.4129, allocations: 0.6837 MB / 426 MB, free: 40.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.4129, allocations: 0.7969 kB / 426 MB, free: 40.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.42e-05/0.413, allocations: 33.06 kB / 426 MB, free: 40.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.413, allocations: 17.69 kB / 426 MB, free: 40.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.4141, allocations: 0.5057 MB / 426.5 MB, free: 40.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003682/0.4178, allocations: 2.619 MB / 429.1 MB, free: 39.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008454/0.4186, allocations: 456.6 kB / 429.6 MB, free: 39.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003498/0.419, allocations: 186.3 kB / 429.8 MB, free: 39.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.919e-05/0.419, allocations: 3.547 kB / 429.8 MB, free: 39.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005477/0.4196, allocations: 272.8 kB / 430 MB, free: 39.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.693e-06/0.4196, allocations: 0 / 430 MB, free: 39.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001438/0.421, allocations: 0.7383 MB / 430.8 MB, free: 39.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.899e-05/0.4211, allocations: 137.3 kB / 430.9 MB, free: 39.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007276/0.4219, allocations: 0.5548 MB / 431.5 MB, free: 39.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.4219, allocations: 32.42 kB / 431.5 MB, free: 39.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/0.4221, allocations: 346.7 kB / 431.8 MB, free: 38.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.695e-05/0.4222, allocations: 112.1 kB / 432 MB, free: 38.83 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.126e-05/0.4222, allocations: 11.69 kB / 432 MB, free: 38.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.4224, allocations: 360.2 kB / 432.3 MB, free: 38.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00039/0.4228, allocations: 166 kB / 432.5 MB, free: 38.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004496/0.4232, allocations: 272 kB / 432.7 MB, free: 38.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003995/0.4236, allocations: 272.8 kB / 433 MB, free: 38.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.4236, allocations: 0 / 433 MB, free: 38.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001079/0.4247, allocations: 0.6181 MB / 433.6 MB, free: 38.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000117/0.4249, allocations: 264.5 kB / 433.9 MB, free: 37.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.4249, allocations: 7.125 kB / 433.9 MB, free: 37.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000159/0.425, allocations: 24.34 kB / 433.9 MB, free: 37.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003005/0.4253, allocations: 88.59 kB / 434 MB, free: 37.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007524/0.4261, allocations: 1.278 MB / 435.3 MB, free: 36.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003682/0.4265, allocations: 89 kB / 435.4 MB, free: 36.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.694e-05/0.4265, allocations: 20.12 kB / 435.4 MB, free: 36.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.323e-06/0.4265, allocations: 7.234 kB / 435.4 MB, free: 36.5 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009035/0.4275, allocations: 0.5449 MB / 435.9 MB, free: 36.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.906e-06/0.4275, allocations: 3.156 kB / 435.9 MB, free: 36.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.217e-05/0.4275, allocations: 28.52 kB / 436 MB, free: 36.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002655/0.4278, allocations: 88.27 kB / 436.1 MB, free: 36.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005862/0.4284, allocations: 1.284 MB / 437.3 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003354/0.4288, allocations: 83.31 kB / 437.4 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.01e-05/0.4288, allocations: 17.66 kB / 437.4 MB, free: 34.88 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,oneFlangeConn.limTau.state,$PRE.tauRef.T_start,tauRef.T_start,$PRE.tauRef.count,tauRef.count,oneFlangeConn.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 (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.0003409/0.4291, allocations: 358.2 kB / 437.8 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.395e-05/0.4292, allocations: 49.72 kB / 437.8 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009574/0.4302, allocations: 0.5203 MB / 438.4 MB, free: 34.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.4302, allocations: 3.188 kB / 438.4 MB, free: 34.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.4302, allocations: 0 / 438.4 MB, free: 34.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.4302, allocations: 3.156 kB / 438.4 MB, free: 34.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/0.4317, allocations: 1.175 MB / 439.5 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/0.4318, allocations: 7.25 kB / 439.5 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002679/0.432, allocations: 69.45 kB / 439.6 MB, free: 33.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.298e-05/0.4321, allocations: 21.62 kB / 439.6 MB, free: 33.6 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.052e-05/0.4321, allocations: 10.67 kB / 439.6 MB, free: 33.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006035/0.4328, allocations: 1.278 MB / 440.9 MB, free: 32.28 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4328, allocations: 0 / 440.9 MB, free: 32.28 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/0.434, allocations: 0.8101 MB / 441.7 MB, free: 31.86 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.366e-05/0.4341, allocations: 136.4 kB / 441.9 MB, free: 31.72 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.766e-05/0.4341, allocations: 11.19 kB / 441.9 MB, free: 31.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003231/0.4345, allocations: 53.12 kB / 441.9 MB, free: 31.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.4346, allocations: 34.16 kB / 442 MB, free: 31.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.478e-05/0.4346, allocations: 13.34 kB / 442 MB, free: 31.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004057/0.435, allocations: 403.1 kB / 442.4 MB, free: 31.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.435, allocations: 0 / 442.4 MB, free: 31.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007465/0.4358, allocations: 275.3 kB / 442.6 MB, free: 31.45 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,oneFlangeConn.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,oneFlangeConn.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,oneFlangeConn.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 (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.0008763/0.4367, allocations: 364.6 kB / 443 MB, free: 31.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001586/0.4383, allocations: 1.203 MB / 444.2 MB, free: 30.51 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.4383, allocations: 7.281 kB / 444.2 MB, free: 30.51 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005287/0.4388, allocations: 446.1 kB / 444.6 MB, free: 30.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005506/0.4394, allocations: 92.25 kB / 444.7 MB, free: 30.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002012/0.4414, allocations: 1.477 MB / 446.2 MB, free: 29.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.4418, allocations: 0.8925 MB / 447.1 MB, free: 28.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.4419, allocations: 42.06 kB / 447.1 MB, free: 28.52 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4419, allocations: 0 / 447.1 MB, free: 28.52 MB / 350.1 MB Notification: Performance of Templates: time 0.01168/0.4536, allocations: 10.28 MB / 457.4 MB, free: 27.44 MB / 350.1 MB make -j1 -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.makefile make -j1 -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.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.TestOneFlangeConnCalcHelperMain.o OMCppEHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConnCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppEHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConnCalcHelperMain.o] Error 1