Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.UsingBatteries.OneBatteryOneLineOneLoad.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.OneBatteryOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.UsingBatteries.OneBatteryOneLineOneLoad") translateModel(PowerSysPro.Examples.UsingBatteries.OneBatteryOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.UsingBatteries.OneBatteryOneLineOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 92.62 kB / 16.37 MB, free: 5.969 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.001234/0.001234, allocations: 178.6 kB / 17.27 MB, free: 5.824 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.493/1.493, allocations: 223.2 MB / 241.3 MB, free: 14.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05358/0.05358, allocations: 8.097 MB / 300.5 MB, free: 6.641 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003379/0.0003381, allocations: 12 kB / 363.5 MB, free: 7.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2864, allocations: 52.52 MB / 416 MB, free: 24.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.UsingBatteries.OneBatteryOneLineOneLoad): time 0.002816/0.2893, allocations: 2.671 MB / 418.7 MB, free: 22.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001946/0.2913, allocations: 1.063 MB / 419.7 MB, free: 21.22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002304/0.2915, allocations: 4 kB / 419.7 MB, free: 21.22 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.2926, allocations: 402.9 kB / 420.1 MB, free: 20.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006422/0.2932, allocations: 243.1 kB / 420.4 MB, free: 20.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00167/0.2949, allocations: 0.7833 MB / 421.2 MB, free: 19.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007443/0.2957, allocations: 450.3 kB / 421.6 MB, free: 19.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003453/0.296, allocations: 123.2 kB / 421.7 MB, free: 19.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.2962, allocations: 191.3 kB / 421.9 MB, free: 19.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00043/0.2967, allocations: 311 kB / 422.2 MB, free: 18.74 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.023e-05/0.2967, allocations: 23.98 kB / 422.2 MB, free: 18.72 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005031/0.2972, allocations: 239.8 kB / 422.5 MB, free: 18.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002325/0.2975, allocations: 323.1 kB / 422.8 MB, free: 18.17 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.2976, allocations: 181.1 kB / 423 MB, free: 17.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007588/0.2984, allocations: 1.039 MB / 424 MB, free: 16.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.2984, allocations: 0 / 424 MB, free: 16.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2984, allocations: 4 kB / 424 MB, free: 16.94 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.2984, allocations: 0 / 424 MB, free: 16.94 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.00272/0.3011, allocations: 1.393 MB / 425.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.3012, allocations: 12.02 kB / 425.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000157/0.3014, allocations: 114.5 kB / 425.5 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.3024, allocations: 0.8287 MB / 426.4 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.916e-05/0.3025, allocations: 83.95 kB / 426.4 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.416e-05/0.3025, allocations: 28 kB / 426.5 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007547/0.3033, allocations: 448.7 kB / 426.9 MB, free: 13.9 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.3033, allocations: 0 / 426.9 MB, free: 13.9 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.763e-05/0.3034, allocations: 16 kB / 426.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.3034, allocations: 11.95 kB / 426.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005658/0.304, allocations: 326.1 kB / 427.2 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002655/0.3066, allocations: 2.162 MB / 429.4 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008612/0.3075, allocations: 496.3 kB / 429.9 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003893/0.3079, allocations: 225.2 kB / 430.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001392/0.3081, allocations: 85.33 kB / 430.2 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.3081, allocations: 42.8 kB / 430.2 MB, free: 10.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=28): time 1.473e-06/0.3081, allocations: 0 / 430.2 MB, free: 10.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.001975/0.3101, allocations: 0.8441 MB / 431.1 MB, free: 9.516 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.668e-05/0.3102, allocations: 235.3 kB / 431.3 MB, free: 9.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001899/0.3121, allocations: 1.737 MB / 433 MB, free: 7.473 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.447e-05/0.3121, allocations: 33.7 kB / 433.1 MB, free: 7.434 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004429/0.3126, allocations: 440.7 kB / 433.5 MB, free: 7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.784e-05/0.3127, allocations: 94.56 kB / 433.6 MB, free: 6.906 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/0.3127, allocations: 12 kB / 433.6 MB, free: 6.895 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.908e-05/0.3128, allocations: 321.9 kB / 433.9 MB, free: 6.574 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003846/0.3132, allocations: 159.9 kB / 434.1 MB, free: 6.418 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003378/0.3136, allocations: 253.6 kB / 434.3 MB, free: 6.137 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000315/0.3139, allocations: 176.7 kB / 434.5 MB, free: 5.965 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.3139, allocations: 0 / 434.5 MB, free: 5.965 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001152/0.3151, allocations: 0.6178 MB / 435.1 MB, free: 5.336 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.3151, allocations: 8 kB / 435.1 MB, free: 5.328 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.3151, allocations: 0 / 435.1 MB, free: 5.328 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006064/0.3157, allocations: 148.7 kB / 435.3 MB, free: 5.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002941/0.316, allocations: 75.89 kB / 435.3 MB, free: 5.105 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001952/0.318, allocations: 1.886 MB / 437.2 MB, free: 3.086 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004433/0.3185, allocations: 55.72 kB / 437.3 MB, free: 3.031 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/0.3185, allocations: 15.95 kB / 437.3 MB, free: 3.016 MB / 302.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: 4 * 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 (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 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0006458/0.3191, allocations: 401.6 kB / 437.7 MB, free: 2.613 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.3193, allocations: 94.78 kB / 437.8 MB, free: 2.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/0.3205, allocations: 0.6013 MB / 438.4 MB, free: 1.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3206, allocations: 4 kB / 438.4 MB, free: 1.906 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.3206, allocations: 0 / 438.4 MB, free: 1.906 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.3206, allocations: 0 / 438.4 MB, free: 1.906 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002068/0.3227, allocations: 1.498 MB / 439.9 MB, free: 356 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.3227, allocations: 3.938 kB / 439.9 MB, free: 352 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002479/0.3229, allocations: 60 kB / 440 MB, free: 292 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005164/0.3235, allocations: 144.7 kB / 440.1 MB, free: 144 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/0.3235, allocations: 8 kB / 440.1 MB, free: 136 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0022/0.3257, allocations: 1.871 MB / 442 MB, free: 14.13 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.3257, allocations: 3.953 kB / 442 MB, free: 14.12 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/0.3274, allocations: 0.8401 MB / 442.8 MB, free: 13.26 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000315/0.3277, allocations: 243.8 kB / 443.1 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.952e-05/0.3278, allocations: 8 kB / 443.1 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003569/0.3282, allocations: 47.84 kB / 443.1 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.3283, allocations: 43.95 kB / 443.2 MB, free: 12.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.388e-05/0.3284, allocations: 8 kB / 443.2 MB, free: 12.9 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001797/0.3302, allocations: 1.264 MB / 444.4 MB, free: 11.62 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3302, allocations: 0 / 444.4 MB, free: 11.62 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006203/0.3308, allocations: 151.8 kB / 444.6 MB, free: 11.48 MB / 318.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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 {2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007891/0.3316, allocations: 282.8 kB / 444.9 MB, free: 11.27 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001129/0.3328, allocations: 0.5258 MB / 445.4 MB, free: 10.73 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.3328, allocations: 4 kB / 445.4 MB, free: 10.73 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006641/0.3334, allocations: 346.6 kB / 445.7 MB, free: 10.38 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005564/0.334, allocations: 80.41 kB / 445.8 MB, free: 10.29 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003458/0.3375, allocations: 2.172 MB / 448 MB, free: 8.09 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007802/0.3383, allocations: 1.072 MB / 449 MB, free: 6.984 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003168/0.3386, allocations: 59.42 kB / 449.1 MB, free: 6.926 MB / 318.1 MB Notification: Performance of SimCode: time 1.583e-06/0.3386, allocations: 0 / 449.1 MB, free: 6.926 MB / 318.1 MB Notification: Performance of Templates: time 0.02638/0.365, allocations: 14.77 MB / 463.9 MB, free: 8.156 MB / 334.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.UsingBatteries.OneBatteryOneLineOneLoad.makefile make -j1 -f PowerSysPro_PowerSysPro.Examples.UsingBatteries.OneBatteryOneLineOneLoad.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.OneBatteryOneLineOneLoadCalcHelperMain.o OMCppPowerSysPro_PowerSysPro.Examples.UsingBatteries.OneBatteryOneLineOneLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSysPro_PowerSysPro.Examples.UsingBatteries.OneBatteryOneLineOneLoadCalcHelperMain.o] Error 1