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.001312/0.001312, allocations: 98.88 kB / 16.02 MB, free: 76 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.001993/0.001993, allocations: 185.3 kB / 16.92 MB, free: 6.773 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.407/2.407, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.3009/0.3009, allocations: 8.022 MB / 300.1 MB, free: 3.34 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000556/0.0005559, allocations: 11.98 kB / 363 MB, free: 13.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1779, allocations: 52.19 MB / 415.2 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.006378/0.1843, allocations: 2.834 MB / 418.1 MB, free: 6.844 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002664/0.1871, allocations: 0.7757 MB / 418.8 MB, free: 6.066 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004142/0.1875, allocations: 11.94 kB / 418.8 MB, free: 6.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007684/0.1883, allocations: 263.3 kB / 419.1 MB, free: 5.797 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007963/0.1891, allocations: 199.3 kB / 419.3 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.1904, allocations: 263.5 kB / 419.6 MB, free: 5.348 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001042/0.1914, allocations: 463.1 kB / 420 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005493/0.192, allocations: 186.6 kB / 420.2 MB, free: 4.707 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004367/0.1925, allocations: 171.3 kB / 420.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005716/0.193, allocations: 251 kB / 420.6 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.579e-05/0.1932, allocations: 12 kB / 420.6 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002283/0.1934, allocations: 40 kB / 420.7 MB, free: 4.242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003114/0.1937, allocations: 159.5 kB / 420.8 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005465/0.1943, allocations: 279.9 kB / 421.1 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008973/0.1952, allocations: 0.5299 MB / 421.6 MB, free: 3.273 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1952, allocations: 0 / 421.6 MB, free: 3.273 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1952, allocations: 0 / 421.6 MB, free: 3.273 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.972e-05/0.1953, allocations: 4 kB / 421.6 MB, free: 3.27 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.00277/0.1981, allocations: 0.9162 MB / 422.5 MB, free: 2.293 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001276/0.1982, allocations: 8.031 kB / 422.5 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004976/0.1987, allocations: 76 kB / 422.6 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001525/0.2003, allocations: 0.5275 MB / 423.1 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.686e-05/0.2003, allocations: 32.53 kB / 423.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.2005, allocations: 39.91 kB / 423.2 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/0.2019, allocations: 389.2 kB / 423.6 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.531e-05/0.2019, allocations: 3.938 kB / 423.6 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.079e-05/0.202, allocations: 19.98 kB / 423.6 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/0.202, allocations: 8 kB / 423.6 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.2034, allocations: 294.4 kB / 423.9 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.359/0.5624, allocations: 1.683 MB / 425.6 MB, free: 40.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/0.5641, allocations: 325.2 kB / 425.9 MB, free: 40.78 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005319/0.5646, allocations: 133.2 kB / 426 MB, free: 40.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.597e-05/0.5647, allocations: 3.938 kB / 426 MB, free: 40.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000683/0.5654, allocations: 184 kB / 426.2 MB, free: 40.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 3.838e-06/0.5654, allocations: 0 / 426.2 MB, free: 40.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.003223/0.5686, allocations: 0.733 MB / 427 MB, free: 40.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/0.5687, allocations: 88.17 kB / 427 MB, free: 40.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002066/0.5708, allocations: 0.9657 MB / 428 MB, free: 40.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.729e-05/0.5709, allocations: 32.2 kB / 428 MB, free: 40.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003832/0.5713, allocations: 344.2 kB / 428.4 MB, free: 40.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.5714, allocations: 69.95 kB / 428.4 MB, free: 40.19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.353e-05/0.5715, allocations: 32.5 kB / 428.5 MB, free: 40.17 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.5717, allocations: 375.7 kB / 428.8 MB, free: 39.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005943/0.5723, allocations: 122.7 kB / 429 MB, free: 39.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005863/0.5729, allocations: 219.8 kB / 429.2 MB, free: 39.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.574, allocations: 349.3 kB / 429.5 MB, free: 39.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.5741, allocations: 0 / 429.5 MB, free: 39.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.002174/0.5763, allocations: 0.5626 MB / 430.1 MB, free: 39.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001429/0.5764, allocations: 182.9 kB / 430.3 MB, free: 39.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.5764, allocations: 3.219 kB / 430.3 MB, free: 39.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004524/0.5769, allocations: 66.88 kB / 430.3 MB, free: 39.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003956/0.5773, allocations: 57.17 kB / 430.4 MB, free: 39.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003344/0.5807, allocations: 1.859 MB / 432.2 MB, free: 37.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006611/0.5814, allocations: 54.91 kB / 432.3 MB, free: 37.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-05/0.5814, allocations: 13.09 kB / 432.3 MB, free: 37.9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.5815, allocations: 3.281 kB / 432.3 MB, free: 37.9 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001358/0.5828, allocations: 386.9 kB / 432.7 MB, free: 37.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.5829, allocations: 3.562 kB / 432.7 MB, free: 37.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002355/0.5831, allocations: 47.27 kB / 432.7 MB, free: 37.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003475/0.5835, allocations: 58.56 kB / 432.8 MB, free: 37.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001647/0.5851, allocations: 1.583 MB / 434.4 MB, free: 36.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005503/0.5857, allocations: 46.81 kB / 434.4 MB, free: 36.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.296e-05/0.5858, allocations: 11.03 kB / 434.4 MB, free: 36.45 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.0006539/0.5864, allocations: 338.7 kB / 434.8 MB, free: 36.26 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/0.5866, allocations: 62.97 kB / 434.8 MB, free: 36.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001769/0.5884, allocations: 447.9 kB / 435.3 MB, free: 36.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.5885, allocations: 9.078 kB / 435.3 MB, free: 36.15 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.5885, allocations: 3.938 kB / 435.3 MB, free: 36.15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.5885, allocations: 7.219 kB / 435.3 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008897/0.5894, allocations: 484.1 kB / 435.8 MB, free: 35.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.5894, allocations: 0 / 435.8 MB, free: 35.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000328/0.5898, allocations: 37.61 kB / 435.8 MB, free: 35.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004568/0.5902, allocations: 81.78 kB / 435.9 MB, free: 35.94 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.836e-05/0.5903, allocations: 7.047 kB / 435.9 MB, free: 35.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003049/0.5934, allocations: 1.84 MB / 437.7 MB, free: 34.58 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.5934, allocations: 4.859 kB / 437.7 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002226/0.5956, allocations: 0.5818 MB / 438.3 MB, free: 34.44 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003163/0.596, allocations: 154 kB / 438.5 MB, free: 34.31 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/0.5961, allocations: 10.31 kB / 438.5 MB, free: 34.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000423/0.5966, allocations: 27.38 kB / 438.5 MB, free: 34.31 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/0.5967, allocations: 31.83 kB / 438.5 MB, free: 34.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-05/0.5968, allocations: 4.656 kB / 438.5 MB, free: 34.3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001715/0.5985, allocations: 0.7112 MB / 439.2 MB, free: 34.21 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5985, allocations: 3.828 kB / 439.3 MB, free: 34.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001425/0.6, allocations: 190.7 kB / 439.4 MB, free: 34.18 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.001484/0.6015, allocations: 359.3 kB / 439.8 MB, free: 34.06 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002773/0.6043, allocations: 0.8576 MB / 440.6 MB, free: 33.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.944e-06/0.6043, allocations: 4.188 kB / 440.7 MB, free: 33.67 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008713/0.6052, allocations: 325.1 kB / 441 MB, free: 33.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009297/0.6061, allocations: 81.92 kB / 441 MB, free: 33.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003851/0.61, allocations: 1.635 MB / 442.7 MB, free: 32.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007247/0.6107, allocations: 0.9237 MB / 443.6 MB, free: 31.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/0.6109, allocations: 26.31 kB / 443.6 MB, free: 31.84 MB / 350.1 MB Notification: Performance of SimCode: time 1.493e-06/0.611, allocations: 0 / 443.6 MB, free: 31.84 MB / 350.1 MB Notification: Performance of Templates: time 0.02409/0.6351, allocations: 9.163 MB / 452.8 MB, free: 30.75 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