Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_EHPTlib.MapBased.TestingModels.TestIceConn.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.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.MapBased.TestingModels.TestIceConn") translateModel(EHPTlib.MapBased.TestingModels.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.MapBased.TestingModels.TestIceConn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.00107, allocations: 100.1 kB / 15.88 MB, free: 12 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.001056/0.001057, allocations: 198.9 kB / 16.79 MB, free: 6.863 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.274/1.274, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.159/0.159, allocations: 8.029 MB / 298.6 MB, free: 2.469 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 59.91 kB / 360.6 MB, free: 14.81 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1045, allocations: 51.19 MB / 411.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.004563/0.1091, allocations: 3.208 MB / 415 MB, free: 8.348 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.1103, allocations: 0.7951 MB / 415.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.1104, allocations: 11.94 kB / 415.8 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004371/0.1109, allocations: 267.3 kB / 416.1 MB, free: 7.277 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003129/0.1112, allocations: 195.3 kB / 416.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004938/0.1117, allocations: 263.2 kB / 416.5 MB, free: 6.832 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003959/0.1121, allocations: 471.1 kB / 417 MB, free: 6.371 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002855/0.1124, allocations: 182.7 kB / 417.1 MB, free: 6.188 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001894/0.1126, allocations: 187.2 kB / 417.3 MB, free: 6.004 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002631/0.1129, allocations: 271 kB / 417.6 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.832e-05/0.1129, allocations: 28 kB / 417.6 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.1131, allocations: 40 kB / 417.7 MB, free: 5.672 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001689/0.1132, allocations: 171.4 kB / 417.8 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002229/0.1135, allocations: 278.2 kB / 418.1 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004453/0.1139, allocations: 0.5302 MB / 418.6 MB, free: 4.699 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1139, allocations: 8 kB / 418.6 MB, free: 4.691 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.1139, allocations: 0 / 418.6 MB, free: 4.691 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.1139, allocations: 0 / 418.6 MB, free: 4.691 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001414/0.1154, allocations: 1.017 MB / 419.7 MB, free: 3.613 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.1154, allocations: 8.031 kB / 419.7 MB, free: 3.605 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.1155, allocations: 79.98 kB / 419.7 MB, free: 3.527 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00057/0.1161, allocations: 0.5236 MB / 420.3 MB, free: 2.961 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.1161, allocations: 24.59 kB / 420.3 MB, free: 2.938 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.79e-05/0.1162, allocations: 36 kB / 420.3 MB, free: 2.902 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007115/0.1169, allocations: 381.2 kB / 420.7 MB, free: 2.504 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.1169, allocations: 7.906 kB / 420.7 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.895e-05/0.117, allocations: 11.94 kB / 420.7 MB, free: 2.484 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.117, allocations: 8 kB / 420.7 MB, free: 2.477 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006889/0.1177, allocations: 270.3 kB / 421 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002078/0.1198, allocations: 1.667 MB / 422.6 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000813/0.1206, allocations: 286.5 kB / 422.9 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002945/0.1209, allocations: 112.8 kB / 423 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.1209, allocations: 0 / 423 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.181/0.302, allocations: 164.3 kB / 423.2 MB, free: 44.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 3.026e-06/0.302, allocations: 0 / 423.2 MB, free: 44.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001781/0.3038, allocations: 0.6372 MB / 423.8 MB, free: 44.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.3039, allocations: 85.78 kB / 423.9 MB, free: 44.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008711/0.3047, allocations: 0.9713 MB / 424.9 MB, free: 44.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.3048, allocations: 29.02 kB / 424.9 MB, free: 44.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/0.305, allocations: 346.8 kB / 425.3 MB, free: 43.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.502e-05/0.3051, allocations: 70.61 kB / 425.3 MB, free: 43.94 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.579e-05/0.3051, allocations: 53.36 kB / 425.4 MB, free: 43.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.861e-05/0.3052, allocations: 378.4 kB / 425.7 MB, free: 43.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002893/0.3055, allocations: 118.5 kB / 425.9 MB, free: 43.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003014/0.3058, allocations: 198.7 kB / 426.1 MB, free: 43.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005364/0.3064, allocations: 311.3 kB / 426.4 MB, free: 43.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3064, allocations: 2.969 kB / 426.4 MB, free: 43.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009868/0.3074, allocations: 0.5005 MB / 426.9 MB, free: 43.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/0.3074, allocations: 35.98 kB / 426.9 MB, free: 43.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.3074, allocations: 3.25 kB / 426.9 MB, free: 43.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002413/0.3077, allocations: 66.91 kB / 427 MB, free: 43.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/0.3079, allocations: 50.97 kB / 427 MB, free: 43.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001658/0.3095, allocations: 1.781 MB / 428.8 MB, free: 41.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002587/0.3098, allocations: 47.66 kB / 428.8 MB, free: 41.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.3098, allocations: 13.44 kB / 428.9 MB, free: 41.87 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003963/0.3103, allocations: 308.4 kB / 429.2 MB, free: 41.72 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002557/0.3105, allocations: 194.6 kB / 429.4 MB, free: 41.58 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004785/0.311, allocations: 298 kB / 429.6 MB, free: 41.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.174e-06/0.311, allocations: 3.344 kB / 429.6 MB, free: 41.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007046/0.3117, allocations: 432.1 kB / 430.1 MB, free: 41.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.3118, allocations: 35.75 kB / 430.1 MB, free: 41.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.3118, allocations: 7.469 kB / 430.1 MB, free: 41.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001109/0.3119, allocations: 42.05 kB / 430.2 MB, free: 41.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.3121, allocations: 52.58 kB / 430.2 MB, free: 41.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008678/0.3129, allocations: 1.586 MB / 431.8 MB, free: 39.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002455/0.3132, allocations: 40.53 kB / 431.8 MB, free: 39.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.3132, allocations: 9.312 kB / 431.8 MB, free: 39.64 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,$whenCondition1,ice.toKgFuel.local_reset,ice.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.3133, allocations: 199.3 kB / 432 MB, free: 39.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.018e-05/0.3134, allocations: 67.5 kB / 432.1 MB, free: 39.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008307/0.3142, allocations: 391.8 kB / 432.5 MB, free: 39.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3142, allocations: 2.75 kB / 432.5 MB, free: 39.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.3143, allocations: 3.188 kB / 432.5 MB, free: 39.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3143, allocations: 8.766 kB / 432.5 MB, free: 39.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00034/0.3146, allocations: 486.3 kB / 433 MB, free: 38.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3146, allocations: 0 / 433 MB, free: 38.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001894/0.3148, allocations: 35.12 kB / 433 MB, free: 38.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002207/0.315, allocations: 73.98 kB / 433.1 MB, free: 38.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.3151, allocations: 3.219 kB / 433.1 MB, free: 38.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001458/0.3165, allocations: 1.772 MB / 434.9 MB, free: 37.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3165, allocations: 3.828 kB / 434.9 MB, free: 37.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.3176, allocations: 0.5151 MB / 435.4 MB, free: 37.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.293e-05/0.3177, allocations: 148.5 kB / 435.5 MB, free: 37.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.307e-05/0.3177, allocations: 7.125 kB / 435.5 MB, free: 37.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/0.318, allocations: 26.75 kB / 435.5 MB, free: 37.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.5e-05/0.3181, allocations: 23.5 kB / 435.6 MB, free: 37.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.3181, allocations: 10.53 kB / 435.6 MB, free: 37.06 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005473/0.3186, allocations: 0.7064 MB / 436.3 MB, free: 36.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3186, allocations: 0 / 436.3 MB, free: 36.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006684/0.3193, allocations: 190.7 kB / 436.5 MB, free: 36.76 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (loadTorque.phi,ice.inertia.w,ice.tokgFuel.y,ice.toKgFuel.y) * Number of discrete variables: 3 ($whenCondition1,powReq.T_start,powReq.count) * Number of discrete states: 1 (powReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007715/0.3201, allocations: 361.1 kB / 436.8 MB, free: 36.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001323/0.3214, allocations: 0.7985 MB / 437.6 MB, free: 36.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3214, allocations: 0 / 437.6 MB, free: 36.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004816/0.3219, allocations: 296.2 kB / 437.9 MB, free: 36.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004187/0.3223, allocations: 74.48 kB / 438 MB, free: 35.99 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.324, allocations: 1.572 MB / 439.6 MB, free: 35.1 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.3243, allocations: 0.9194 MB / 440.5 MB, free: 34.38 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.382e-05/0.3244, allocations: 33 kB / 440.5 MB, free: 34.37 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3244, allocations: 0 / 440.5 MB, free: 34.37 MB / 350.1 MB Notification: Performance of Templates: time 0.009866/0.3343, allocations: 9.271 MB / 449.8 MB, free: 33.18 MB / 350.1 MB make -j1 -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestIceConn.makefile make -j1 -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestIceConn.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.TestIceConnCalcHelperMain.o OMCppEHPTlib_main_EHPTlib.MapBased.TestingModels.TestIceConnCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppEHPTlib_main_EHPTlib.MapBased.TestingModels.TestIceConnCalcHelperMain.o] Error 1