Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.UsingBatteries.ChargingBatteries.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.ChargingBatteries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.UsingBatteries.ChargingBatteries") translateModel(PowerSysPro.Examples.UsingBatteries.ChargingBatteries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.UsingBatteries.ChargingBatteries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001086, allocations: 95.62 kB / 16.37 MB, free: 6.422 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.00137/0.00137, allocations: 185.3 kB / 17.27 MB, free: 6.262 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.485/1.485, allocations: 223.2 MB / 241.3 MB, free: 324 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06191/0.06191, allocations: 8.106 MB / 300.5 MB, free: 6.797 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003498, allocations: 8 kB / 363.5 MB, free: 7.746 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.284, allocations: 52.51 MB / 416 MB, free: 24.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.UsingBatteries.ChargingBatteries): time 0.003629/0.2877, allocations: 4.113 MB / 420.1 MB, free: 20.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002107/0.2898, allocations: 1.496 MB / 421.6 MB, free: 19.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003052/0.2902, allocations: 12 kB / 421.6 MB, free: 19.35 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008184/0.291, allocations: 0.6973 MB / 422.3 MB, free: 18.65 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000684/0.2917, allocations: 0.5878 MB / 422.9 MB, free: 18.06 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.2931, allocations: 0.88 MB / 423.8 MB, free: 17.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009293/0.294, allocations: 1.09 MB / 424.9 MB, free: 16.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003788/0.2944, allocations: 307.7 kB / 425.2 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003425/0.2948, allocations: 478.5 kB / 425.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006677/0.2954, allocations: 0.7594 MB / 426.4 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.625e-05/0.2955, allocations: 56 kB / 426.5 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005245/0.2961, allocations: 271.8 kB / 426.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004885/0.2966, allocations: 0.9156 MB / 427.6 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002769/0.2969, allocations: 452.2 kB / 428.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001656/0.2985, allocations: 2.652 MB / 430.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.2985, allocations: 7.938 kB / 430.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2986, allocations: 0 / 430.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.629e-05/0.2986, allocations: 0 / 430.7 MB, free: 10.18 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.005391/0.304, allocations: 2.995 MB / 433.7 MB, free: 7.113 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.304, allocations: 8.031 kB / 433.7 MB, free: 7.105 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003864/0.3044, allocations: 292.3 kB / 434 MB, free: 6.816 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00257/0.307, allocations: 2.06 MB / 436.1 MB, free: 4.699 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001565/0.3072, allocations: 219.5 kB / 436.3 MB, free: 4.449 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.994e-05/0.3073, allocations: 64 kB / 436.4 MB, free: 4.387 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.3089, allocations: 1.012 MB / 437.4 MB, free: 3.297 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.3089, allocations: 3.984 kB / 437.4 MB, free: 3.293 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.439e-05/0.309, allocations: 32 kB / 437.4 MB, free: 3.262 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/0.309, allocations: 15.95 kB / 437.4 MB, free: 3.246 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.3102, allocations: 0.7196 MB / 438.2 MB, free: 2.527 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007233/0.3175, allocations: 4.894 MB / 443 MB, free: 13.48 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002753/0.3203, allocations: 1.431 MB / 444.5 MB, free: 11.94 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00107/0.3214, allocations: 0.5452 MB / 445 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001877/0.3216, allocations: 93.66 kB / 445.1 MB, free: 11.28 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.456e-05/0.3216, allocations: 47.31 kB / 445.2 MB, free: 11.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=64): time 2.625e-06/0.3216, allocations: 0 / 445.2 MB, free: 11.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=64): time 0.004721/0.3264, allocations: 1.719 MB / 446.9 MB, free: 9.48 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004538/0.3268, allocations: 0.5898 MB / 447.5 MB, free: 8.75 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007727/0.3346, allocations: 4.893 MB / 452.4 MB, free: 3.844 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001309/0.3347, allocations: 37.7 kB / 452.4 MB, free: 3.801 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00132/0.336, allocations: 1.135 MB / 453.5 MB, free: 2.66 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002222/0.3363, allocations: 216.8 kB / 453.7 MB, free: 2.445 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.3363, allocations: 12 kB / 453.8 MB, free: 2.434 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3365, allocations: 333.9 kB / 454.1 MB, free: 2.102 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007432/0.3372, allocations: 341.1 kB / 454.4 MB, free: 1.77 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.3382, allocations: 0.5703 MB / 455 MB, free: 1.113 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007616/0.339, allocations: 376.7 kB / 455.4 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.8e-06/0.339, allocations: 4 kB / 455.4 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.003011/0.342, allocations: 1.272 MB / 456.6 MB, free: 15.46 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.3421, allocations: 8 kB / 456.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.3421, allocations: 0 / 456.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/0.3432, allocations: 256.5 kB / 456.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006942/0.3439, allocations: 191.8 kB / 457.1 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003445/0.3473, allocations: 2.477 MB / 459.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/0.3485, allocations: 127.7 kB / 459.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.428e-05/0.3485, allocations: 23.98 kB / 459.7 MB, free: 12.25 MB / 334.1 MB Warning: Assuming fixed start value for the following 3 variables: bat3.battery.integrator.q:VARIABLE(flow=false start = bat3.battery.SOC_start fixed = true ) "Charge as current integration" type: Real bat2.battery.integrator.q:VARIABLE(flow=false start = bat2.battery.SOC_start fixed = true ) "Charge as current integration" type: Real bat1.battery.integrator.q:VARIABLE(flow=false start = bat1.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: 8 * Number of states: 0 () * Number of discrete variables: 1 (charging.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.001886/0.3504, allocations: 0.948 MB / 460.7 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004714/0.3509, allocations: 260.6 kB / 460.9 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002842/0.3538, allocations: 1.303 MB / 462.2 MB, free: 9.723 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.3538, allocations: 11.98 kB / 462.2 MB, free: 9.711 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.3538, allocations: 0 / 462.2 MB, free: 9.711 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.3538, allocations: 3.984 kB / 462.2 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005728/0.3596, allocations: 3.428 MB / 465.7 MB, free: 6.199 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.3596, allocations: 7.984 kB / 465.7 MB, free: 6.191 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006266/0.3602, allocations: 151.9 kB / 465.8 MB, free: 6.043 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009782/0.3612, allocations: 260.5 kB / 466.1 MB, free: 5.785 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.274e-05/0.3613, allocations: 12 kB / 466.1 MB, free: 5.773 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00323/0.3645, allocations: 2.441 MB / 468.5 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3645, allocations: 4 kB / 468.5 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003808/0.3683, allocations: 1.741 MB / 470.3 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001044/0.3694, allocations: 0.5251 MB / 470.8 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002565/0.3697, allocations: 27.95 kB / 470.8 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007629/0.3704, allocations: 112 kB / 470.9 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002128/0.3707, allocations: 80.44 kB / 471 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.822e-05/0.3707, allocations: 23.98 kB / 471 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.005512/0.3762, allocations: 3.519 MB / 474.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.3763, allocations: 3.938 kB / 474.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001802/0.3781, allocations: 355.4 kB / 474.9 MB, free: 12.76 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (bat1.battery.integrator.q,bat2.battery.integrator.q,bat3.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 (55): * Single equations (assignments): 54 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008289/0.3789, allocations: 291.2 kB / 475.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002326/0.3813, allocations: 1.003 MB / 476.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.3813, allocations: 240 / 476.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00129/0.3826, allocations: 0.6427 MB / 476.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/0.3843, allocations: 206.3 kB / 477 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/0.3951, allocations: 5.805 MB / 482.8 MB, free: 4.828 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001908/0.3971, allocations: 1.82 MB / 484.6 MB, free: 2.969 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001119/0.3983, allocations: 131.4 kB / 484.8 MB, free: 2.84 MB / 350.1 MB Notification: Performance of SimCode: time 1.313e-06/0.3983, allocations: 0 / 484.8 MB, free: 2.84 MB / 350.1 MB Notification: Performance of Templates: time 0.2976/0.6959, allocations: 38.44 MB / 0.511 GB, free: 91.54 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.UsingBatteries.ChargingBatteries.makefile make -j1 -f PowerSysPro_PowerSysPro.Examples.UsingBatteries.ChargingBatteries.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.ChargingBatteriesCalcHelperMain.o OMCppPowerSysPro_PowerSysPro.Examples.UsingBatteries.ChargingBatteriesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSysPro_PowerSysPro.Examples.UsingBatteries.ChargingBatteriesCalcHelperMain.o] Error 1