Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.UsingBatteries.LoadRescuedByBattery.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.UsingBatteries.LoadRescuedByBattery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.UsingBatteries.LoadRescuedByBattery") translateModel(PowerSysPro.Examples.UsingBatteries.LoadRescuedByBattery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.UsingBatteries.LoadRescuedByBattery") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 96.75 kB / 16.37 MB, free: 5.961 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.001144/0.001144, allocations: 188.3 kB / 17.27 MB, free: 5.84 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.539/1.539, allocations: 223.3 MB / 241.3 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.246/0.246, allocations: 8.096 MB / 300.5 MB, free: 2.852 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003527, allocations: 8 kB / 363.5 MB, free: 13.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1402, allocations: 52.51 MB / 416 MB, free: 8.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.UsingBatteries.LoadRescuedByBattery): time 0.005827/0.1461, allocations: 4.05 MB / 420.1 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002987/0.1491, allocations: 1.328 MB / 421.4 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006318/0.1498, allocations: 8 kB / 421.4 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001146/0.151, allocations: 434.6 kB / 421.8 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001169/0.1522, allocations: 378.3 kB / 422.2 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002011/0.1542, allocations: 0.8489 MB / 423 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001536/0.1557, allocations: 0.7585 MB / 423.8 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006703/0.1564, allocations: 228.5 kB / 424 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007367/0.1572, allocations: 318.8 kB / 424.3 MB, free: 380 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2221/0.3793, allocations: 497.7 kB / 424.8 MB, free: 35.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002396/0.3796, allocations: 37.41 kB / 424.9 MB, free: 35.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007458/0.3803, allocations: 247.5 kB / 425.1 MB, free: 35.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002804/0.3806, allocations: 385.2 kB / 425.5 MB, free: 35.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002181/0.3808, allocations: 236.1 kB / 425.7 MB, free: 35.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.382, allocations: 1.285 MB / 427 MB, free: 35.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.382, allocations: 0 / 427 MB, free: 35.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.746e-06/0.382, allocations: 0 / 427 MB, free: 35.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.628e-05/0.382, allocations: 0 / 427 MB, free: 35.02 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.004287/0.3863, allocations: 1.918 MB / 428.9 MB, free: 34.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.3863, allocations: 12.89 kB / 428.9 MB, free: 34.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002151/0.3866, allocations: 149.9 kB / 429.1 MB, free: 34.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.3877, allocations: 0.9319 MB / 430 MB, free: 33.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/0.3879, allocations: 196.9 kB / 430.2 MB, free: 33.6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.395e-05/0.388, allocations: 55.94 kB / 430.2 MB, free: 33.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.3895, allocations: 0.8634 MB / 431.1 MB, free: 33.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.3895, allocations: 0 / 431.1 MB, free: 33.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.626e-05/0.3896, allocations: 25.97 kB / 431.1 MB, free: 33.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/0.3896, allocations: 23.75 kB / 431.2 MB, free: 33.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001163/0.3908, allocations: 0.7281 MB / 431.9 MB, free: 33.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005135/0.3959, allocations: 4.099 MB / 436 MB, free: 31.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00174/0.3977, allocations: 1.294 MB / 437.3 MB, free: 31.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007991/0.3985, allocations: 0.5663 MB / 437.8 MB, free: 31.58 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.595e-05/0.3986, allocations: 19.27 kB / 437.9 MB, free: 31.58 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.3987, allocations: 46.91 kB / 437.9 MB, free: 31.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=85): time 3.076e-06/0.3987, allocations: 0 / 437.9 MB, free: 31.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=85): time 0.009221/0.4079, allocations: 3.187 MB / 441.1 MB, free: 31.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.176e-05/0.408, allocations: 241.8 kB / 441.3 MB, free: 30.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002133/0.4101, allocations: 1.807 MB / 443.1 MB, free: 30.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001051/0.4103, allocations: 44.02 kB / 443.2 MB, free: 30.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003315/0.4106, allocations: 494.5 kB / 443.7 MB, free: 30.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001994/0.4108, allocations: 290.5 kB / 443.9 MB, free: 30.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-05/0.4109, allocations: 15.78 kB / 444 MB, free: 30.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.271e-05/0.4109, allocations: 338.4 kB / 444.3 MB, free: 29.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006719/0.4116, allocations: 429 kB / 444.7 MB, free: 29.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007031/0.4123, allocations: 0.5482 MB / 445.3 MB, free: 29.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006947/0.413, allocations: 459.6 kB / 445.7 MB, free: 29.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.413, allocations: 0 / 445.7 MB, free: 29.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.003678/0.4167, allocations: 1.74 MB / 447.4 MB, free: 28.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.4168, allocations: 6.25 kB / 447.5 MB, free: 28.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.4168, allocations: 0 / 447.5 MB, free: 28.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002543/0.4194, allocations: 0.8204 MB / 448.3 MB, free: 28.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000472/0.4198, allocations: 116.8 kB / 448.4 MB, free: 28.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002147/0.422, allocations: 1.489 MB / 449.9 MB, free: 27.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008506/0.4229, allocations: 90.17 kB / 450 MB, free: 27.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.811e-05/0.4229, allocations: 33.89 kB / 450 MB, free: 27.17 MB / 350.1 MB Warning: Assuming fixed start value for the following 1 variables: bat.battery.integrator.q:VARIABLE(flow=false start = bat.battery.SOC_start fixed = true ) "Charge as current integration" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (n.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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 {16 22} Notification: Performance of prepare postOptimizeDAE: time 0.0007035/0.4237, allocations: 441.4 kB / 450.4 MB, free: 26.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001946/0.4239, allocations: 124.8 kB / 450.5 MB, free: 26.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003734/0.4276, allocations: 1.798 MB / 452.3 MB, free: 26.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.4276, allocations: 9.656 kB / 452.4 MB, free: 26.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.4276, allocations: 0 / 452.4 MB, free: 26.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.4277, allocations: 3.234 kB / 452.4 MB, free: 26.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005431/0.4331, allocations: 3.434 MB / 455.8 MB, free: 24.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.4331, allocations: 0 / 455.8 MB, free: 24.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003657/0.4335, allocations: 105.4 kB / 455.9 MB, free: 24.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002372/0.4359, allocations: 0.7854 MB / 456.7 MB, free: 24.4 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.074e-05/0.436, allocations: 22.11 kB / 456.7 MB, free: 24.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001984/0.438, allocations: 1.467 MB / 458.2 MB, free: 23.44 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.438, allocations: 9.297 kB / 458.2 MB, free: 23.44 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004548/0.4425, allocations: 2.363 MB / 460.5 MB, free: 22.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006162/0.4432, allocations: 277.8 kB / 460.8 MB, free: 22.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001557/0.4433, allocations: 17.25 kB / 460.8 MB, free: 22.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000515/0.4439, allocations: 57.02 kB / 460.9 MB, free: 22.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001733/0.444, allocations: 73.33 kB / 461 MB, free: 22.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.396e-05/0.4441, allocations: 29.55 kB / 461 MB, free: 22.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001869/0.446, allocations: 1.299 MB / 462.3 MB, free: 21.67 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.446, allocations: 0 / 462.3 MB, free: 21.67 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009395/0.447, allocations: 248 kB / 462.5 MB, free: 21.62 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (bat.battery.integrator.q) * Number of discrete variables: 1 (n.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 58 * 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 {16 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006969/0.4477, allocations: 298.8 kB / 462.8 MB, free: 21.49 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00343/0.4511, allocations: 1.366 MB / 464.2 MB, free: 21.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.4511, allocations: 0 / 464.2 MB, free: 21.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002437/0.4536, allocations: 0.8675 MB / 465.1 MB, free: 20.8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009448/0.4545, allocations: 112 kB / 465.2 MB, free: 20.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004867/0.4594, allocations: 2.935 MB / 468.1 MB, free: 19.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007205/0.4601, allocations: 1.182 MB / 469.3 MB, free: 18.49 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002791/0.4604, allocations: 76.12 kB / 469.4 MB, free: 18.48 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4604, allocations: 0 / 469.4 MB, free: 18.48 MB / 350.1 MB Notification: Performance of Templates: time 0.03405/0.4945, allocations: 19.63 MB / 489 MB, free: 9.359 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.UsingBatteries.LoadRescuedByBattery.makefile make -j1 -f PowerSysPro_PowerSysPro.Examples.UsingBatteries.LoadRescuedByBattery.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.UsingBatteries.LoadRescuedByBatteryCalcHelperMain.o OMCppPowerSysPro_PowerSysPro.Examples.UsingBatteries.LoadRescuedByBatteryCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSysPro_PowerSysPro.Examples.UsingBatteries.LoadRescuedByBatteryCalcHelperMain.o] Error 1