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.001504/0.001504, allocations: 100.4 kB / 20.49 MB, free: 1.344 MB / 14.72 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.001698/0.001698, allocations: 198.9 kB / 23.78 MB, free: 4.5 MB / 14.72 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 1.339/1.339, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 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.03428/0.03428, allocations: 6.145 MB / 320.1 MB, free: 12.75 MB / 254.1 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 0.001451/0.001451, allocations: 47.94 kB / 445.7 MB, free: 4.586 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09683/0.09828, allocations: 55.02 MB / 0.489 GB, free: 13.46 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableLoad): time 0.003907/0.1022, allocations: 2.236 MB / 0.4911 GB, free: 11.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004019/0.1062, allocations: 2.736 MB / 0.4938 GB, free: 8.477 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002127/0.1064, allocations: 7.938 kB / 0.4938 GB, free: 8.469 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005663/0.107, allocations: 167 kB / 0.494 GB, free: 8.305 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009743/0.108, allocations: 326.2 kB / 0.4943 GB, free: 7.984 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002297/0.1103, allocations: 1.177 MB / 0.4954 GB, free: 6.805 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000659/0.1109, allocations: 418.2 kB / 0.4958 GB, free: 6.395 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001986/0.1111, allocations: 80.86 kB / 0.4959 GB, free: 6.316 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.1113, allocations: 175.3 kB / 0.4961 GB, free: 6.145 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003017/0.1116, allocations: 179.1 kB / 0.4963 GB, free: 5.969 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.038e-05/0.1117, allocations: 35.94 kB / 0.4963 GB, free: 5.934 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007737/0.1125, allocations: 379.6 kB / 0.4966 GB, free: 5.562 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.1126, allocations: 87.61 kB / 0.4967 GB, free: 5.477 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001522/0.1127, allocations: 151.2 kB / 0.4969 GB, free: 5.328 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009547/0.1137, allocations: 0.6928 MB / 0.4976 GB, free: 4.633 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1137, allocations: 8 kB / 0.4976 GB, free: 4.625 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1137, allocations: 0 / 0.4976 GB, free: 4.625 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.1137, allocations: 0 / 0.4976 GB, free: 4.625 MB / 366.1 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.004216/0.1179, allocations: 1.179 MB / 0.4987 GB, free: 3.414 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.1179, allocations: 12.03 kB / 0.4987 GB, free: 3.402 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.1181, allocations: 44.66 kB / 0.4988 GB, free: 3.359 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004758/0.1186, allocations: 277.3 kB / 0.499 GB, free: 3.062 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.152e-05/0.1186, allocations: 46.92 kB / 0.4991 GB, free: 3.008 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.916e-05/0.1187, allocations: 36.12 kB / 0.4991 GB, free: 2.973 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008359/0.1195, allocations: 0.6228 MB / 0.4997 GB, free: 2.293 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.1195, allocations: 4 kB / 0.4997 GB, free: 2.289 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.724e-05/0.1196, allocations: 8 kB / 0.4997 GB, free: 2.281 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.1196, allocations: 8 kB / 0.4997 GB, free: 2.273 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006238/0.1202, allocations: 390.5 kB / 0.5001 GB, free: 1.891 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002153/0.1224, allocations: 1.026 MB / 0.5011 GB, free: 0.8359 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009267/0.1233, allocations: 477.7 kB / 0.5016 GB, free: 368 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003482/0.1236, allocations: 220.8 kB / 0.5018 GB, free: 144 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.98e-05/0.1237, allocations: 7.984 kB / 0.5018 GB, free: 136 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006844/0.1244, allocations: 459.7 kB / 0.5022 GB, free: 15.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 4.017e-06/0.1244, allocations: 3.984 kB / 0.5022 GB, free: 15.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=43): time 0.004116/0.1285, allocations: 1.264 MB / 0.5035 GB, free: 14.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.733e-05/0.1286, allocations: 110.8 kB / 0.5036 GB, free: 14.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003693/0.1289, allocations: 292.1 kB / 0.5038 GB, free: 13.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.285e-05/0.129, allocations: 37.7 kB / 0.5039 GB, free: 13.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.1291, allocations: 173 kB / 0.504 GB, free: 13.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/0.1293, allocations: 150.6 kB / 0.5042 GB, free: 13.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001739/0.1294, allocations: 98.17 kB / 0.5043 GB, free: 13.47 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.1296, allocations: 346.8 kB / 0.5046 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004156/0.13, allocations: 260.9 kB / 0.5049 GB, free: 12.87 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004914/0.1305, allocations: 363.3 kB / 0.5052 GB, free: 12.49 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008559/0.1314, allocations: 0.5574 MB / 0.5058 GB, free: 11.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1314, allocations: 0 / 0.5058 GB, free: 11.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001975/0.1333, allocations: 0.9081 MB / 0.5066 GB, free: 11.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.1334, allocations: 4 kB / 0.5066 GB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1334, allocations: 0 / 0.5066 GB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002588/0.136, allocations: 0.612 MB / 0.5072 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002885/0.1362, allocations: 79.78 kB / 0.5073 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001676/0.1379, allocations: 1.073 MB / 0.5084 GB, free: 9.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003571/0.1383, allocations: 47.66 kB / 0.5084 GB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.361e-05/0.1383, allocations: 16 kB / 0.5084 GB, free: 9.156 MB / 382.1 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.0002314/0.1386, allocations: 165.7 kB / 0.5086 GB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.039e-05/0.1386, allocations: 39.7 kB / 0.5086 GB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001428/0.1401, allocations: 0.7778 MB / 0.5094 GB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.1401, allocations: 4 kB / 0.5094 GB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1401, allocations: 0 / 0.5094 GB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1401, allocations: 0 / 0.5094 GB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004825/0.1406, allocations: 401.5 kB / 0.5098 GB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1406, allocations: 4 kB / 0.5098 GB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.1407, allocations: 51.91 kB / 0.5098 GB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002398/0.1431, allocations: 0.5887 MB / 0.5104 GB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.803e-05/0.1432, allocations: 11.98 kB / 0.5104 GB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001795/0.145, allocations: 1.075 MB / 0.5115 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.145, allocations: 4 kB / 0.5115 GB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.1462, allocations: 0.7211 MB / 0.5122 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.231e-05/0.1462, allocations: 39.7 kB / 0.5122 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.473e-05/0.1463, allocations: 8 kB / 0.5122 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002928/0.1466, allocations: 23.98 kB / 0.5122 GB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.593e-05/0.1467, allocations: 36.31 kB / 0.5123 GB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.049e-05/0.1467, allocations: 19.98 kB / 0.5123 GB, free: 5.094 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000251/0.147, allocations: 211.1 kB / 0.5125 GB, free: 4.891 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.147, allocations: 0 / 0.5125 GB, free: 4.891 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004581/0.1474, allocations: 151.7 kB / 0.5126 GB, free: 4.742 MB / 382.1 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.001644/0.1491, allocations: 0.4916 MB / 0.5131 GB, free: 4.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001711/0.1508, allocations: 0.673 MB / 0.5138 GB, free: 3.758 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1508, allocations: 3.938 kB / 0.5138 GB, free: 3.754 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001128/0.1519, allocations: 374.3 kB / 0.5141 GB, free: 3.387 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.1523, allocations: 52.23 kB / 0.5142 GB, free: 3.332 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.1537, allocations: 0.7937 MB / 0.515 GB, free: 2.512 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001691/0.1539, allocations: 186.8 kB / 0.5151 GB, free: 2.312 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.154, allocations: 43.42 kB / 0.5152 GB, free: 2.27 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.154, allocations: 0 / 0.5152 GB, free: 2.27 MB / 382.1 MB Notification: Performance of Templates: time 0.1742/0.3281, allocations: 7.593 MB / 0.5226 GB, free: 29.99 MB / 382.1 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/jenkins1/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/jenkins1/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' OpenModelica__uriToFilenameRetType tmp35; ^ ./OMCppPowerSysPro_PowerSysPro.Examples.VariableLoadInitialize.cpp:762:15: error: no member named 'OpenModelica__uriToFilename' in 'Functions' _functions->OpenModelica__uriToFilename(_loadFile_, tmp35); ~~~~~~~~~~ ^ 2 errors generated. make: *** [: OMCppPowerSysPro_PowerSysPro.Examples.VariableLoadCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 3.7726907380856574] Failed to read output from testmodel.py, exit status != 0: 0.3347719036974013 0.34587332499999995 0.22983233 Calling exit ...