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 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.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.001061/0.001061, allocations: 99.59 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.001235/0.001235, allocations: 173 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.644/1.644, allocations: 223.2 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.2082/0.2082, allocations: 8.603 MB / 300.3 MB, free: 3.254 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003541, allocations: 12 kB / 363.1 MB, free: 13.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1306, allocations: 52.32 MB / 415.5 MB, free: 9.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.003643/0.1343, allocations: 2.672 MB / 418.1 MB, free: 6.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.1357, allocations: 0.7371 MB / 418.9 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/0.1359, allocations: 4 kB / 418.9 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004686/0.1363, allocations: 263.3 kB / 419.1 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003394/0.1367, allocations: 187.3 kB / 419.3 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005728/0.1373, allocations: 215.3 kB / 419.5 MB, free: 5.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004176/0.1377, allocations: 411.2 kB / 419.9 MB, free: 4.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002871/0.138, allocations: 148 kB / 420.1 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001917/0.1382, allocations: 159.4 kB / 420.2 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00026/0.1385, allocations: 207.2 kB / 420.4 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.661e-05/0.1385, allocations: 20 kB / 420.5 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.1386, allocations: 47.91 kB / 420.5 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001742/0.1388, allocations: 147.6 kB / 420.6 MB, free: 3.961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.1389, allocations: 125.3 kB / 420.8 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004788/0.1394, allocations: 0.5069 MB / 421.3 MB, free: 3.324 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1394, allocations: 0 / 421.3 MB, free: 3.324 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1394, allocations: 0 / 421.3 MB, free: 3.324 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.1394, allocations: 0 / 421.3 MB, free: 3.324 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001471/0.1409, allocations: 0.9045 MB / 422.2 MB, free: 2.363 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/0.141, allocations: 12.03 kB / 422.2 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.1411, allocations: 75.06 kB / 422.3 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006767/0.1418, allocations: 490.7 kB / 422.7 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.1418, allocations: 20.66 kB / 422.8 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.426e-05/0.1419, allocations: 43.92 kB / 422.8 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007234/0.1426, allocations: 367.3 kB / 423.2 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.1427, allocations: 11.86 kB / 423.2 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.214e-05/0.1427, allocations: 12 kB / 423.2 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.1427, allocations: 8 kB / 423.2 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006656/0.1434, allocations: 286 kB / 423.5 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2703/0.4137, allocations: 1.473 MB / 424.9 MB, free: 40.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000967/0.4147, allocations: 319.8 kB / 425.3 MB, free: 40.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002933/0.4151, allocations: 119.7 kB / 425.4 MB, free: 40.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.622e-05/0.4151, allocations: 4.203 kB / 425.4 MB, free: 40.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004491/0.4156, allocations: 181.3 kB / 425.6 MB, free: 40.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 2.875e-06/0.4156, allocations: 0 / 425.6 MB, free: 40.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001891/0.4175, allocations: 0.7337 MB / 426.3 MB, free: 40.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.4175, allocations: 77.11 kB / 426.4 MB, free: 40.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.4185, allocations: 0.954 MB / 427.3 MB, free: 40.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.4186, allocations: 31.77 kB / 427.4 MB, free: 40.13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002278/0.4188, allocations: 330.1 kB / 427.7 MB, free: 40.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.019e-05/0.4189, allocations: 71.97 kB / 427.7 MB, free: 39.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.379e-05/0.4189, allocations: 6.344 kB / 427.7 MB, free: 39.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.948e-05/0.419, allocations: 375.8 kB / 428.1 MB, free: 39.67 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002795/0.4193, allocations: 116.7 kB / 428.2 MB, free: 39.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003197/0.4196, allocations: 177.8 kB / 428.4 MB, free: 39.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003262/0.42, allocations: 153.9 kB / 428.6 MB, free: 39.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.42, allocations: 3 kB / 428.6 MB, free: 39.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001132/0.4211, allocations: 0.5234 MB / 429.1 MB, free: 39.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000121/0.4212, allocations: 167.4 kB / 429.2 MB, free: 39.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.4213, allocations: 6.422 kB / 429.3 MB, free: 39.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003678/0.4216, allocations: 82.23 kB / 429.3 MB, free: 39.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/0.4218, allocations: 52.36 kB / 429.4 MB, free: 39.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002152/0.424, allocations: 1.855 MB / 431.2 MB, free: 37.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002779/0.4243, allocations: 51.53 kB / 431.3 MB, free: 37.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.963e-05/0.4243, allocations: 10.2 kB / 431.3 MB, free: 37.87 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.346e-06/0.4243, allocations: 3.531 kB / 431.3 MB, free: 37.87 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007553/0.4251, allocations: 357.2 kB / 431.6 MB, free: 37.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.4251, allocations: 0 / 431.6 MB, free: 37.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001271/0.4253, allocations: 52.97 kB / 431.7 MB, free: 37.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.4254, allocations: 56.67 kB / 431.8 MB, free: 37.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001034/0.4265, allocations: 1.582 MB / 433.3 MB, free: 36.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000254/0.4268, allocations: 41.08 kB / 433.4 MB, free: 36.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.4268, allocations: 7.125 kB / 433.4 MB, free: 36.43 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.powReq.T_start,powReq.T_start,$PRE.powReq.count,powReq.count,ice.toKgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * 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: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.000451/0.4272, allocations: 342.9 kB / 433.7 MB, free: 36.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.151e-05/0.4273, allocations: 52.88 kB / 433.8 MB, free: 36.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.4284, allocations: 434.5 kB / 434.2 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.4284, allocations: 3.953 kB / 434.2 MB, free: 36.13 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.4284, allocations: 5.719 kB / 434.2 MB, free: 36.13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.4284, allocations: 0.5625 kB / 434.2 MB, free: 36.13 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006747/0.4291, allocations: 475.4 kB / 434.7 MB, free: 35.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.4291, allocations: 0 / 434.7 MB, free: 35.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002024/0.4293, allocations: 41.73 kB / 434.7 MB, free: 35.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002576/0.4296, allocations: 81.72 kB / 434.8 MB, free: 35.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.556e-05/0.4296, allocations: 2.562 kB / 434.8 MB, free: 35.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001882/0.4315, allocations: 1.849 MB / 436.6 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4315, allocations: 0 / 436.6 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.4326, allocations: 0.5712 MB / 437.2 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.4327, allocations: 147.7 kB / 437.4 MB, free: 34.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.71e-05/0.4328, allocations: 2.375 kB / 437.4 MB, free: 34.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.433, allocations: 32.38 kB / 437.4 MB, free: 34.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.267e-05/0.4331, allocations: 29.91 kB / 437.4 MB, free: 34.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.4331, allocations: 10.52 kB / 437.4 MB, free: 34.3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007779/0.4339, allocations: 0.6983 MB / 438.1 MB, free: 34.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4339, allocations: 0.75 kB / 438.1 MB, free: 34.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000753/0.4347, allocations: 183.5 kB / 438.3 MB, free: 34.17 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (loadTorque.phi,ice.inertia.w,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 (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008773/0.4356, allocations: 351.6 kB / 438.7 MB, free: 34.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001384/0.437, allocations: 0.8306 MB / 439.5 MB, free: 33.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.437, allocations: 0 / 439.5 MB, free: 33.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005211/0.4375, allocations: 325.6 kB / 439.8 MB, free: 33.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004215/0.4379, allocations: 77.73 kB / 439.9 MB, free: 33.55 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/0.4398, allocations: 1.498 MB / 441.4 MB, free: 32.81 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.4402, allocations: 0.9146 MB / 442.3 MB, free: 32.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.502e-05/0.4403, allocations: 30.19 kB / 442.3 MB, free: 32.08 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4403, allocations: 0 / 442.3 MB, free: 32.08 MB / 350.1 MB Notification: Performance of Templates: time 0.01275/0.453, allocations: 8.849 MB / 451.2 MB, free: 31.01 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++ 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.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