Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Components.myBattery.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.Components.myBattery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Components.myBattery") translateModel(PowerSysPro.Components.myBattery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Components.myBattery") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009007/0.0009009, allocations: 96.86 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.0009349/0.0009352, allocations: 190.1 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.6/1.6, allocations: 223.3 MB / 241.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2353/0.2353, allocations: 8.086 MB / 300.5 MB, free: 2.922 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003538/0.0003539, allocations: 12 kB / 363.5 MB, free: 13.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1426, allocations: 52.51 MB / 416 MB, free: 8.707 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Components.myBattery): time 0.003345/0.146, allocations: 2.077 MB / 418.1 MB, free: 6.617 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.1475, allocations: 0.8218 MB / 418.9 MB, free: 5.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.1477, allocations: 4 kB / 418.9 MB, free: 5.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007201/0.1484, allocations: 363.1 kB / 419.3 MB, free: 5.434 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000328/0.1487, allocations: 195.4 kB / 419.4 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007432/0.1495, allocations: 326.9 kB / 419.8 MB, free: 4.926 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003554/0.1499, allocations: 302.9 kB / 420.1 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002113/0.1501, allocations: 81.69 kB / 420.1 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001678/0.1503, allocations: 143.5 kB / 420.3 MB, free: 4.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004045/0.1507, allocations: 247.3 kB / 420.5 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.175e-05/0.1507, allocations: 19.94 kB / 420.5 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002836/0.151, allocations: 135.9 kB / 420.7 MB, free: 4.016 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002818/0.1513, allocations: 311.2 kB / 421 MB, free: 3.711 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.1515, allocations: 141.3 kB / 421.1 MB, free: 3.566 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007314/0.1522, allocations: 0.7214 MB / 421.8 MB, free: 2.844 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.1522, allocations: 0 / 421.8 MB, free: 2.844 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.1522, allocations: 0 / 421.8 MB, free: 2.844 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.1522, allocations: 0 / 421.8 MB, free: 2.844 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001941/0.1542, allocations: 1.131 MB / 423 MB, free: 1.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.1542, allocations: 8.031 kB / 423 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001501/0.1544, allocations: 98.73 kB / 423.1 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000891/0.1553, allocations: 0.6953 MB / 423.8 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.991e-05/0.1554, allocations: 71.77 kB / 423.8 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.097e-05/0.1554, allocations: 19.94 kB / 423.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000578/0.156, allocations: 303.5 kB / 424.2 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.1561, allocations: 7.922 kB / 424.2 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.15e-05/0.1561, allocations: 12 kB / 424.2 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.1561, allocations: 4 kB / 424.2 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003866/0.1565, allocations: 183.6 kB / 424.4 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2986/0.4551, allocations: 1.3 MB / 425.7 MB, free: 41.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008978/0.4561, allocations: 335.6 kB / 426 MB, free: 41.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003363/0.4564, allocations: 147.4 kB / 426.1 MB, free: 41.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/0.4576, allocations: 0.6633 MB / 426.8 MB, free: 41.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/0.4576, allocations: 37.12 kB / 426.8 MB, free: 41.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 2.605e-06/0.4576, allocations: 0 / 426.8 MB, free: 41.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001177/0.4588, allocations: 322.5 kB / 427.1 MB, free: 40.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/0.4589, allocations: 238.2 kB / 427.4 MB, free: 40.67 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo:54:7-55:59:writable] Warning: Parameter SOC_start has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo:53:7-53:73:writable] Warning: Parameter Np has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo:52:7-52:71:writable] Warning: Parameter Ns has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo:425:9-425:73:writable] Warning: Parameter UNom has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002769/0.4617, allocations: 1.577 MB / 428.9 MB, free: 40.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.751e-05/0.4618, allocations: 29.08 kB / 429 MB, free: 40.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005032/0.4623, allocations: 413.1 kB / 429.4 MB, free: 40.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.953e-05/0.4624, allocations: 45.58 kB / 429.4 MB, free: 40.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.435e-05/0.4624, allocations: 2.125 kB / 429.4 MB, free: 40.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.4625, allocations: 311.9 kB / 429.7 MB, free: 40.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002479/0.4628, allocations: 70.91 kB / 429.8 MB, free: 40.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003587/0.4632, allocations: 165 kB / 430 MB, free: 39.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000274/0.4635, allocations: 82.23 kB / 430 MB, free: 39.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.4635, allocations: 0 / 430 MB, free: 39.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007375/0.4642, allocations: 300.8 kB / 430.3 MB, free: 39.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.4643, allocations: 6.625 kB / 430.3 MB, free: 39.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.4643, allocations: 3.188 kB / 430.3 MB, free: 39.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/0.4643, allocations: 3.344 kB / 430.3 MB, free: 39.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008629/0.4652, allocations: 121.8 kB / 430.5 MB, free: 39.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.4652, allocations: 10.41 kB / 430.5 MB, free: 39.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000376/0.4656, allocations: 44.05 kB / 430.5 MB, free: 39.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.4656, allocations: 13.53 kB / 430.5 MB, free: 39.83 MB / 350.1 MB Warning: Assuming fixed start value for the following 1 variables: battery.integrator.q:VARIABLE(flow=false start = 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: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000561/0.4662, allocations: 335.7 kB / 430.9 MB, free: 39.72 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/0.4664, allocations: 89.31 kB / 430.9 MB, free: 39.67 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007447/0.4671, allocations: 290.9 kB / 431.2 MB, free: 39.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.4671, allocations: 3.734 kB / 431.2 MB, free: 39.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4671, allocations: 0 / 431.2 MB, free: 39.61 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.4672, allocations: 5.031 kB / 431.2 MB, free: 39.61 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008548/0.468, allocations: 0.5763 MB / 431.8 MB, free: 39.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.468, allocations: 0 / 431.8 MB, free: 39.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007796/0.4688, allocations: 110.2 kB / 431.9 MB, free: 39.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.4688, allocations: 0 / 431.9 MB, free: 39.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/0.4689, allocations: 0 / 431.9 MB, free: 39.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.4689, allocations: 0.625 kB / 431.9 MB, free: 39.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.4689, allocations: 3.219 kB / 431.9 MB, free: 39.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009449/0.4698, allocations: 451.4 kB / 432.4 MB, free: 39.22 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000285/0.4701, allocations: 214.3 kB / 432.6 MB, free: 39.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.75e-05/0.4702, allocations: 6.891 kB / 432.6 MB, free: 39.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003585/0.4706, allocations: 33.8 kB / 432.6 MB, free: 39.08 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.88e-05/0.4707, allocations: 22.3 kB / 432.6 MB, free: 39.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.4707, allocations: 10.2 kB / 432.7 MB, free: 39.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002026/0.4728, allocations: 1.131 MB / 433.8 MB, free: 38.96 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4728, allocations: 0 / 433.8 MB, free: 38.96 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006416/0.4734, allocations: 97 kB / 433.9 MB, free: 38.96 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (battery.integrator.q) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000845/0.4743, allocations: 270.5 kB / 434.1 MB, free: 38.85 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000697/0.475, allocations: 176.7 kB / 434.3 MB, free: 38.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.475, allocations: 0 / 434.3 MB, free: 38.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002861/0.4753, allocations: 89.56 kB / 434.4 MB, free: 38.83 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007668/0.4761, allocations: 70.98 kB / 434.5 MB, free: 38.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0044/0.4805, allocations: 1.825 MB / 436.3 MB, free: 38.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009302/0.4815, allocations: 1.002 MB / 437.3 MB, free: 37.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002686/0.4817, allocations: 56.11 kB / 437.4 MB, free: 37.41 MB / 350.1 MB Notification: Performance of SimCode: time 1.533e-06/0.4818, allocations: 4 kB / 437.4 MB, free: 37.4 MB / 350.1 MB Notification: Performance of Templates: time 0.0242/0.506, allocations: 9.107 MB / 446.5 MB, free: 36.32 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Components.myBattery.makefile make -j1 -f PowerSysPro_PowerSysPro.Components.myBattery.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.Components.myBatteryCalcHelperMain.o OMCppPowerSysPro_PowerSysPro.Components.myBatteryCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSysPro_PowerSysPro.Components.myBatteryCalcHelperMain.o] Error 1