Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007602/0.0007602, allocations: 80.44 kB / 20.73 MB, free: 3.84 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007733/0.0007733, allocations: 165.9 kB / 24 MB, free: 0.5625 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8456/0.8456, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.023/0.023, allocations: 4.47 MB / 265.2 MB, free: 8.742 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableLoad") translateModel(PowerSysPro.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 390.9 MB, free: 6.891 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.574e-05, allocations: 2.984 kB / 390.9 MB, free: 6.887 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableLoad): time 0.003097/0.003123, allocations: 2.238 MB / 393.1 MB, free: 4.648 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003228/0.006351, allocations: 2.751 MB / 395.9 MB, free: 1.875 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.006495, allocations: 4 kB / 395.9 MB, free: 1.871 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004792/0.006974, allocations: 166.9 kB / 396 MB, free: 1.707 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005983/0.007573, allocations: 338 kB / 396.3 MB, free: 1.375 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.008687, allocations: 1.19 MB / 397.5 MB, free: 188 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004308/0.009117, allocations: 430 kB / 398 MB, free: 15.76 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.009263, allocations: 85.2 kB / 398 MB, free: 15.68 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002049/0.009468, allocations: 239.5 kB / 398.3 MB, free: 15.45 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001916/0.009659, allocations: 163.5 kB / 398.4 MB, free: 15.29 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.733e-05/0.009697, allocations: 32 kB / 398.5 MB, free: 15.25 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005185/0.01022, allocations: 371.4 kB / 398.8 MB, free: 14.89 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.01032, allocations: 91.59 kB / 398.9 MB, free: 14.8 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.01044, allocations: 127.7 kB / 399 MB, free: 14.68 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008858/0.01132, allocations: 0.7243 MB / 399.8 MB, free: 13.95 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.01132, allocations: 3.984 kB / 399.8 MB, free: 13.95 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01133, allocations: 0 / 399.8 MB, free: 13.95 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.01133, allocations: 0 / 399.8 MB, free: 13.95 MB / 330.7 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.002452/0.01379, allocations: 1.179 MB / 401 MB, free: 12.73 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.01382, allocations: 8.031 kB / 401 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.387e-05/0.01392, allocations: 48.66 kB / 401 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003069/0.01422, allocations: 268.6 kB / 401.3 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.574e-05/0.01428, allocations: 54.92 kB / 401.3 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.21e-05/0.01432, allocations: 32.38 kB / 401.4 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005705/0.01489, allocations: 0.6155 MB / 402 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.0149, allocations: 3.938 kB / 402 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/0.01494, allocations: 23.98 kB / 402 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.01494, allocations: 8 kB / 402 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004239/0.01537, allocations: 394.4 kB / 402.4 MB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.01673, allocations: 1.026 MB / 403.4 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005916/0.01733, allocations: 455.8 kB / 403.9 MB, free: 9.688 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002328/0.01756, allocations: 224.8 kB / 404.1 MB, free: 9.465 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.857e-05/0.01761, allocations: 8 kB / 404.1 MB, free: 9.457 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004066/0.01801, allocations: 455.6 kB / 404.5 MB, free: 8.969 MB / 330.7 MB Notification: Performance of pre-optimization done (n=43): time 1.522e-06/0.01802, allocations: 4 kB / 404.5 MB, free: 8.965 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.002268/0.02028, allocations: 1.272 MB / 405.8 MB, free: 7.684 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.02033, allocations: 106.8 kB / 405.9 MB, free: 7.555 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.02056, allocations: 296.2 kB / 406.2 MB, free: 7.258 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.522e-05/0.02059, allocations: 37.7 kB / 406.2 MB, free: 7.215 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.707e-05/0.02068, allocations: 169 kB / 406.4 MB, free: 7.047 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.828e-05/0.02076, allocations: 150.7 kB / 406.6 MB, free: 6.898 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.02086, allocations: 90.17 kB / 406.6 MB, free: 6.805 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.155e-05/0.02095, allocations: 350.7 kB / 407 MB, free: 6.453 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002621/0.02122, allocations: 260.9 kB / 407.2 MB, free: 6.199 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003119/0.02153, allocations: 367.3 kB / 407.6 MB, free: 5.816 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005554/0.02208, allocations: 0.5653 MB / 408.2 MB, free: 5.25 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.02209, allocations: 0 / 408.2 MB, free: 5.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001127/0.02321, allocations: 0.9041 MB / 409.1 MB, free: 4.34 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.02323, allocations: 4 kB / 409.1 MB, free: 4.336 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.02323, allocations: 4 kB / 409.1 MB, free: 4.332 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001331/0.02456, allocations: 0.6094 MB / 409.7 MB, free: 3.719 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.02472, allocations: 71.91 kB / 409.8 MB, free: 3.648 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009808/0.0257, allocations: 1.07 MB / 410.8 MB, free: 2.555 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.02586, allocations: 51.66 kB / 410.9 MB, free: 2.504 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.791e-05/0.02589, allocations: 19.98 kB / 410.9 MB, free: 2.484 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (varLoad.degradedMode,$PRE.varLoad.degradedMode,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001382/0.02603, allocations: 153.8 kB / 411 MB, free: 2.324 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.534e-05/0.02607, allocations: 39.77 kB / 411.1 MB, free: 2.285 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008441/0.02692, allocations: 0.7794 MB / 411.9 MB, free: 1.488 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.02692, allocations: 4 kB / 411.9 MB, free: 1.484 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.02693, allocations: 3.938 kB / 411.9 MB, free: 1.48 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.02693, allocations: 0 / 411.9 MB, free: 1.48 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000297/0.02723, allocations: 393.9 kB / 412.3 MB, free: 1.066 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.02723, allocations: 0 / 412.3 MB, free: 1.066 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.661e-05/0.02733, allocations: 55.91 kB / 412.3 MB, free: 1.012 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001214/0.02854, allocations: 0.5849 MB / 412.9 MB, free: 436 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.593e-05/0.02858, allocations: 15.94 kB / 412.9 MB, free: 420 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1387/0.1673, allocations: 1.072 MB / 414 MB, free: 34.06 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.1673, allocations: 1.25 kB / 414 MB, free: 34.06 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008626/0.1682, allocations: 0.7326 MB / 414.7 MB, free: 33.79 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.229e-05/0.1682, allocations: 34.27 kB / 414.7 MB, free: 33.79 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.135e-05/0.1683, allocations: 13.95 kB / 414.8 MB, free: 33.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.1685, allocations: 24.16 kB / 414.8 MB, free: 33.78 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.155e-05/0.1685, allocations: 30.69 kB / 414.8 MB, free: 33.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.687e-05/0.1686, allocations: 17.19 kB / 414.8 MB, free: 33.77 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001685/0.1687, allocations: 210 kB / 415 MB, free: 33.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1687, allocations: 0 / 415 MB, free: 33.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003359/0.1691, allocations: 148.4 kB / 415.2 MB, free: 33.64 MB / 330.7 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,varLoad.degradedMode) * Number of discrete states: 1 (varLoad.degradedMode) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008096/0.1699, allocations: 0.5015 MB / 415.7 MB, free: 33.51 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.1709, allocations: 0.6681 MB / 416.4 MB, free: 33.28 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1709, allocations: 1.094 kB / 416.4 MB, free: 33.28 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005857/0.1715, allocations: 383 kB / 416.7 MB, free: 33.17 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.1718, allocations: 42.44 kB / 416.8 MB, free: 33.15 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009468/0.1727, allocations: 0.7751 MB / 417.5 MB, free: 32.7 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.1728, allocations: 184.3 kB / 417.7 MB, free: 32.62 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.608e-05/0.1729, allocations: 47.73 kB / 417.8 MB, free: 32.61 MB / 330.7 MB Notification: Performance of SimCode: time 4.01e-07/0.1729, allocations: 0 / 417.8 MB, free: 32.61 MB / 330.7 MB Notification: Performance of Templates: time 0.00871/0.1816, allocations: 7.639 MB / 425.4 MB, free: 30.93 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableLoad.makefile [Timeout 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableLoad.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DOMC_BUILD -DUSE_THREAD -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSysPro_PowerSysPro.Examples.VariableLoadCalcHelperMain.o OMCppPowerSysPro_PowerSysPro.Examples.VariableLoadCalcHelperMain.cpp In file included from OMCppPowerSysPro_PowerSysPro.Examples.VariableLoadCalcHelperMain.cpp:29: ./OMCppPowerSysPro_PowerSysPro.Examples.VariableLoadInitialize.cpp:761:3: error: unknown type name 'OpenModelica__uriToFilenameRetType' 761 | OpenModelica__uriToFilenameRetType tmp35; | ^ ./OMCppPowerSysPro_PowerSysPro.Examples.VariableLoadInitialize.cpp:762:15: error: no member named 'OpenModelica__uriToFilename' in 'Functions' 762 | _functions->OpenModelica__uriToFilename(_loadFile_, tmp35); | ~~~~~~~~~~ ^ 2 errors generated. make: *** [: OMCppPowerSysPro_PowerSysPro.Examples.VariableLoadCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 2.4973069839179516] Failed to read output from testmodel.py, exit status != 0: 0.1868671802803874 0.19648921399999994 0.18339329399999996 Calling exit ...