Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.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/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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(PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad") translateModel(PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009129/0.0009126, allocations: 102 kB / 16.38 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009647/0.0009648, allocations: 189 kB / 17.27 MB, free: 5.82 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.566/1.566, allocations: 223.3 MB / 241.3 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2679/0.2679, allocations: 8.082 MB / 300.5 MB, free: 2.887 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003138/0.0003138, allocations: 8 kB / 363.5 MB, free: 13.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.109, allocations: 52.51 MB / 416 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad): time 0.002933/0.112, allocations: 2.386 MB / 418.4 MB, free: 6.344 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.1133, allocations: 0.7515 MB / 419.1 MB, free: 5.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.509e-05/0.1134, allocations: 4 kB / 419.2 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002967/0.1137, allocations: 103.5 kB / 419.3 MB, free: 5.484 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002987/0.114, allocations: 119.3 kB / 419.4 MB, free: 5.367 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo:34:7-34:67:writable] Warning: In relation diesel.rampTime == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001372/0.1154, allocations: 0.7473 MB / 420.1 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003529/0.1157, allocations: 274.6 kB / 420.4 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001924/0.1159, allocations: 93.8 kB / 420.5 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.116, allocations: 111.6 kB / 420.6 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002515/0.1163, allocations: 163.3 kB / 420.7 MB, free: 3.992 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.412e-05/0.1163, allocations: 16 kB / 420.8 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003329/0.1167, allocations: 195.8 kB / 421 MB, free: 3.785 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.03e-05/0.1167, allocations: 51.75 kB / 421 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.661e-05/0.1168, allocations: 77.58 kB / 421.1 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003722/0.1172, allocations: 319.5 kB / 421.4 MB, free: 3.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.1172, allocations: 4 kB / 421.4 MB, free: 3.336 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1172, allocations: 0 / 421.4 MB, free: 3.336 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1172, allocations: 0 / 421.4 MB, free: 3.336 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001836/0.1191, allocations: 0.7407 MB / 422.1 MB, free: 2.547 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.1191, allocations: 8.031 kB / 422.1 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.423e-05/0.1192, allocations: 39.58 kB / 422.2 MB, free: 2.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.1195, allocations: 263.3 kB / 422.4 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.944e-05/0.1196, allocations: 79.97 kB / 422.5 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.06e-05/0.1197, allocations: 28 kB / 422.5 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005708/0.1202, allocations: 348.8 kB / 422.9 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.1203, allocations: 0 / 422.9 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.323e-05/0.1203, allocations: 8 kB / 422.9 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.1203, allocations: 8 kB / 422.9 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005078/0.1208, allocations: 334.1 kB / 423.2 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2314/0.3522, allocations: 1.307 MB / 424.5 MB, free: 41.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001364/0.3537, allocations: 0.5571 MB / 425.1 MB, free: 41.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003704/0.3541, allocations: 222.4 kB / 425.3 MB, free: 41.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.976e-05/0.3542, allocations: 10.25 kB / 425.3 MB, free: 41.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004833/0.3547, allocations: 258.6 kB / 425.6 MB, free: 41.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 3.547e-06/0.3547, allocations: 0 / 425.6 MB, free: 41.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002682/0.3574, allocations: 1.053 MB / 426.6 MB, free: 40.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.3574, allocations: 62.67 kB / 426.7 MB, free: 40.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.3576, allocations: 193.2 kB / 426.9 MB, free: 40.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.474e-05/0.3577, allocations: 34.83 kB / 426.9 MB, free: 40.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.739e-05/0.3578, allocations: 139.7 kB / 427 MB, free: 40.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.069e-05/0.3579, allocations: 145.5 kB / 427.2 MB, free: 40.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.11e-05/0.3579, allocations: 6.812 kB / 427.2 MB, free: 40.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.96e-05/0.358, allocations: 335.2 kB / 427.5 MB, free: 40.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002594/0.3583, allocations: 176 kB / 427.7 MB, free: 40.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003166/0.3586, allocations: 222.8 kB / 427.9 MB, free: 40.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003234/0.3589, allocations: 189.9 kB / 428.1 MB, free: 40.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3589, allocations: 3.094 kB / 428.1 MB, free: 40.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001464/0.3604, allocations: 0.7048 MB / 428.8 MB, free: 40.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.3604, allocations: 10.05 kB / 428.8 MB, free: 40.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.3605, allocations: 0 / 428.8 MB, free: 40.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001186/0.3616, allocations: 312 kB / 429.1 MB, free: 40.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/0.3619, allocations: 55.98 kB / 429.2 MB, free: 40.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003822/0.3657, allocations: 2.723 MB / 431.9 MB, free: 38.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002981/0.366, allocations: 31.62 kB / 431.9 MB, free: 38.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.65e-05/0.3661, allocations: 26.83 kB / 432 MB, free: 38.82 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,n.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * 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 {6 10} Notification: Performance of prepare postOptimizeDAE: time 0.0001857/0.3663, allocations: 145.5 kB / 432.1 MB, free: 38.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.309e-05/0.3663, allocations: 28.86 kB / 432.1 MB, free: 38.69 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001601/0.3679, allocations: 0.725 MB / 432.8 MB, free: 38.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.368, allocations: 7.312 kB / 432.9 MB, free: 38.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.368, allocations: 0 / 432.9 MB, free: 38.61 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.368, allocations: 7.281 kB / 432.9 MB, free: 38.6 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001915/0.3699, allocations: 1.255 MB / 434.1 MB, free: 38.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.3699, allocations: 0 / 434.1 MB, free: 38.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.3701, allocations: 52.88 kB / 434.2 MB, free: 38.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001015/0.3711, allocations: 295.1 kB / 434.5 MB, free: 38.03 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.862e-05/0.3712, allocations: 14.47 kB / 434.5 MB, free: 38.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003135/0.3743, allocations: 2.696 MB / 437.2 MB, free: 35.97 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.3743, allocations: 7.297 kB / 437.2 MB, free: 35.97 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001408/0.3757, allocations: 0.7687 MB / 437.9 MB, free: 35.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.54e-05/0.3758, allocations: 109.9 kB / 438.1 MB, free: 35.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.337e-05/0.3759, allocations: 12.19 kB / 438.1 MB, free: 35.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.3761, allocations: 23.97 kB / 438.1 MB, free: 35.44 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.3763, allocations: 43.2 kB / 438.1 MB, free: 35.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.332e-05/0.3763, allocations: 12.97 kB / 438.1 MB, free: 35.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00016/0.3765, allocations: 145 kB / 438.3 MB, free: 35.33 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3765, allocations: 0 / 438.3 MB, free: 35.33 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006824/0.3772, allocations: 125.7 kB / 438.4 MB, free: 35.31 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,n.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * 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 {6 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003059/0.3775, allocations: 124 kB / 438.5 MB, free: 35.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001492/0.379, allocations: 0.7 MB / 439.2 MB, free: 34.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.379, allocations: 3.438 kB / 439.2 MB, free: 34.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008193/0.3798, allocations: 496.2 kB / 439.7 MB, free: 34.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004216/0.3803, allocations: 31.73 kB / 439.7 MB, free: 34.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.3815, allocations: 0.7531 MB / 440.5 MB, free: 34.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.3819, allocations: 0.7689 MB / 441.3 MB, free: 33.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.389e-05/0.382, allocations: 34.28 kB / 441.3 MB, free: 33.41 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3821, allocations: 4 kB / 441.3 MB, free: 33.4 MB / 350.1 MB Notification: Performance of Templates: time 0.007841/0.3899, allocations: 5.564 MB / 446.9 MB, free: 32.96 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.makefile make -j1 -f PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.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 OMCppPowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoadCalcHelperMain.o OMCppPowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoadCalcHelperMain.o] Error 1