Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.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.000764/0.000764, allocations: 80.25 kB / 20.06 MB, free: 4.469 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.000863/0.000863, allocations: 173.9 kB / 23.36 MB, free: 1.164 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.8642/0.8642, allocations: 177.1 MB / 203.7 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6684/0.6684, allocations: 154.6 MB / 414.7 MB, free: 0.7656 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.074e-05, allocations: 5.812 kB / 0.6196 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.004736/0.004757, allocations: 4.949 MB / 0.6244 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003799/0.008556, allocations: 3.606 MB / 0.6279 GB, free: 4.457 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002044/0.00876, allocations: 15.88 kB / 0.628 GB, free: 4.441 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.009872, allocations: 0.5599 MB / 0.6285 GB, free: 3.879 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0007868/0.01066, allocations: 0.4895 MB / 0.629 GB, free: 3.387 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004305/0.01109, allocations: 283.1 kB / 0.6292 GB, free: 3.109 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001058/0.01215, allocations: 1.446 MB / 0.6307 GB, free: 1.66 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003696/0.01252, allocations: 288.6 kB / 0.6309 GB, free: 1.375 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000703/0.01322, allocations: 0.8033 MB / 0.6317 GB, free: 0.5703 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003931/0.01361, allocations: 475.1 kB / 0.6322 GB, free: 108 kB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.555e-05/0.01366, allocations: 44 kB / 0.6322 GB, free: 64 kB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005302/0.01419, allocations: 379.2 kB / 0.6326 GB, free: 15.69 MB / 0.6042 GB Notification: Performance of combineBinaries: time 0.0005473/0.01474, allocations: 1.017 MB / 0.6336 GB, free: 14.67 MB / 0.6042 GB Notification: Performance of replaceArrayConstructors: time 0.0002982/0.01503, allocations: 0.6379 MB / 0.6342 GB, free: 14.03 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.168e-05/0.01509, allocations: 32 kB / 0.6342 GB, free: 14 MB / 0.6042 GB Notification: Performance of FrontEnd: time 5.404e-05/0.01514, allocations: 15.98 kB / 0.6342 GB, free: 13.98 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 (67) * Number of variables: 83 (55) Notification: Performance of [SIM] Bindings: time 0.002444/0.01758, allocations: 3.59 MB / 0.6377 GB, free: 10.25 MB / 0.6042 GB Notification: Performance of [SIM] FunctionAlias: time 0.0004612/0.01805, allocations: 0.5309 MB / 0.6383 GB, free: 9.723 MB / 0.6042 GB Notification: Performance of [SIM] Early Inline: time 0.001388/0.01943, allocations: 2.141 MB / 0.6404 GB, free: 7.566 MB / 0.6042 GB Notification: Performance of [SIM] Simplify 1: time 0.0002423/0.01968, allocations: 279.9 kB / 0.6406 GB, free: 7.266 MB / 0.6042 GB Notification: Performance of [SIM] Alias: time 0.001552/0.02123, allocations: 1.472 MB / 0.6421 GB, free: 5.641 MB / 0.6042 GB Notification: Performance of [SIM] Simplify 2: time 0.0002034/0.02143, allocations: 253.3 kB / 0.6423 GB, free: 5.367 MB / 0.6042 GB Notification: Performance of [SIM] Remove Stream: time 0.0001158/0.02155, allocations: 176.1 kB / 0.6425 GB, free: 5.168 MB / 0.6042 GB Notification: Performance of [SIM] Detect States: time 0.0004184/0.02196, allocations: 0.5966 MB / 0.643 GB, free: 4.5 MB / 0.6042 GB Notification: Performance of [SIM] Events: time 9.511e-05/0.02206, allocations: 90.38 kB / 0.6431 GB, free: 4.41 MB / 0.6042 GB Notification: Performance of [SIM] Partitioning: time 0.0005752/0.02264, allocations: 0.7934 MB / 0.6439 GB, free: 3.562 MB / 0.6042 GB Notification: Performance of [SIM] Causalize: time 0.003208/0.02584, allocations: 3.863 MB / 0.6477 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001098/0.02694, allocations: 1.546 MB / 0.6492 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of [INI] Simplify: time 0.0007601/0.0277, allocations: 0.7097 MB / 0.6499 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of [INI] Inline: time 0.001513/0.02921, allocations: 2.767 MB / 0.6526 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of [INI] Partitioning: time 4.62e-05/0.02926, allocations: 36 kB / 0.6526 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of [INI] Cleanup: time 0.0004534/0.02971, allocations: 0.761 MB / 0.6534 GB, free: 9.719 MB / 0.6198 GB Notification: Performance of [INI] Causalize: time 0.004226/0.03394, allocations: 4.916 MB / 0.6582 GB, free: 4.758 MB / 0.6198 GB Notification: Performance of [INI] Tearing: time 0.0002291/0.03417, allocations: 287.9 kB / 0.6584 GB, free: 4.477 MB / 0.6198 GB Notification: Performance of [SIM] Initialization: time 1.563e-06/0.03417, allocations: 0 / 0.6584 GB, free: 4.477 MB / 0.6198 GB Notification: Performance of [SIM] DAE-Mode: time 0.0004016/0.03457, allocations: 323.7 kB / 0.6587 GB, free: 4.141 MB / 0.6198 GB Notification: Performance of [SIM] Remove Dummies: time 5.921e-06/0.03458, allocations: 0.6562 kB / 0.6587 GB, free: 4.137 MB / 0.6198 GB Notification: Performance of [SIM] Tearing: time 0.0001941/0.03477, allocations: 275.7 kB / 0.659 GB, free: 3.867 MB / 0.6198 GB Notification: Performance of [SIM] Categorize: time 1.531e-05/0.03479, allocations: 15.92 kB / 0.659 GB, free: 3.852 MB / 0.6198 GB Notification: Performance of [SIM] Solve: time 0.001422/0.03621, allocations: 1.478 MB / 0.6605 GB, free: 2.375 MB / 0.6198 GB Notification: Performance of [SIM] Jacobian: time 0.004021/0.04023, allocations: 4.685 MB / 0.665 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of [SIM] Minimize Homotopy System: time 7.013e-06/0.04024, allocations: 4 kB / 0.665 GB, free: 13.56 MB / 0.6355 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 2 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 2 (2) {$TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 69 (scalar:63, array:6, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 3 (resizable: 3, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 85 (scalar:78, array:7, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 3 (resizable: 3, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 85 (scalar:78, array:7, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 3 (resizable: 3, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 8.087e-05/0.04032, allocations: 52.66 kB / 0.6651 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of SimCode: time 0.006119/0.04644, allocations: 6.175 MB / 0.6711 GB, free: 7.246 MB / 0.6355 GB Notification: Performance of Templates: time 0.2844/0.3309, allocations: 15.28 MB / 0.686 GB, free: 77.54 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile [Timeout 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=IDEAS_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGridMedium -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.o IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.c In file included from IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.c:7: In file included from ./IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium_model.h:28: ./IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium_functions.h:14:117: error: unknown type name 'IDEAS_Electrical_Transmission_MediumVoltageCables_Generic_array' 14 | void IDEAS_Electrical_Transmission_Grids_TestGrid2NodesMedium_5_construct_p(threadData_t *threadData, void* v_ths , IDEAS_Electrical_Transmission_MediumVoltageCables_Generic_array in_cables); | ^ ./IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium_functions.h:187:1: error: unknown type name 'IDEAS_Electrical_Transmission_Grids_TestGrid2NodesMedium' 187 | IDEAS_Electrical_Transmission_Grids_TestGrid2NodesMedium omc_IDEAS_Electrical_Transmission_Grids_TestGrid2NodesMedium (threadData_t *threadData, modelica_integer omc_nNodes, modelica_integer omc_nLinks, integer_array omc_fromTo, real_array omc_l, IDEAS_Electrical_Transmission_MediumVoltageCables_Generic_array omc_cables); | ^ 2 errors generated. make: *** [: IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.o] Error 1 [Calling os._exit(0), Time elapsed: 2.8223097808659077] Failed to read output from testmodel.py, exit status != 0: 0.33588600996881723 0.342735764 0.326178627 Calling exit ...