Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.0007098/0.0007098, allocations: 80.25 kB / 20.06 MB, free: 4.465 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.0007648/0.0007648, allocations: 173.9 kB / 23.36 MB, free: 1.16 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.8206/0.8206, allocations: 177.2 MB / 203.7 MB, free: 5.703 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.6589/0.6589, allocations: 154.6 MB / 414.7 MB, free: 0.7969 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.7e-05/1.7e-05, allocations: 2.312 kB / 0.6195 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.003867/0.003884, allocations: 4.205 MB / 0.6236 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003057/0.006941, allocations: 3.135 MB / 0.6267 GB, free: 5.68 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002199/0.007161, allocations: 15.88 kB / 0.6267 GB, free: 5.664 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0009391/0.0081, allocations: 0.4977 MB / 0.6272 GB, free: 5.164 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0006912/0.008791, allocations: 407.2 kB / 0.6276 GB, free: 4.77 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004446/0.009236, allocations: 267.1 kB / 0.6278 GB, free: 4.508 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000996/0.01023, allocations: 1.293 MB / 0.6291 GB, free: 3.211 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004092/0.01064, allocations: 284.6 kB / 0.6294 GB, free: 2.93 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007031/0.01134, allocations: 0.62 MB / 0.63 GB, free: 2.309 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000469/0.01181, allocations: 439.1 kB / 0.6304 GB, free: 1.879 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.734e-05/0.01186, allocations: 36 kB / 0.6304 GB, free: 1.844 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004707/0.01233, allocations: 315.3 kB / 0.6307 GB, free: 1.535 MB / 0.5886 GB Notification: Performance of combineBinaries: time 0.0005328/0.01286, allocations: 0.9508 MB / 0.6317 GB, free: 0.5781 MB / 0.5886 GB Notification: Performance of replaceArrayConstructors: time 0.0003608/0.01322, allocations: 0.6075 MB / 0.6323 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.379e-05/0.01331, allocations: 28 kB / 0.6323 GB, free: 15.94 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.784e-05/0.01336, allocations: 11.94 kB / 0.6323 GB, free: 15.93 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: 81 (66) * Number of variables: 81 (54) Notification: Performance of [SIM] Bindings: time 0.002166/0.01552, allocations: 3.204 MB / 0.6354 GB, free: 12.59 MB / 0.6042 GB Notification: Performance of [SIM] FunctionAlias: time 0.0003622/0.01588, allocations: 482.9 kB / 0.6359 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of [SIM] Early Inline: time 0.001149/0.01703, allocations: 1.992 MB / 0.6378 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of [SIM] Simplify 1: time 0.0001986/0.01723, allocations: 248 kB / 0.6381 GB, free: 9.844 MB / 0.6042 GB Notification: Performance of [SIM] Alias: time 0.001143/0.01837, allocations: 1.422 MB / 0.6395 GB, free: 8.266 MB / 0.6042 GB Notification: Performance of [SIM] Simplify 2: time 0.0001871/0.01856, allocations: 236 kB / 0.6397 GB, free: 8.008 MB / 0.6042 GB Notification: Performance of [SIM] Remove Stream: time 0.0001075/0.01867, allocations: 172.1 kB / 0.6398 GB, free: 7.812 MB / 0.6042 GB Notification: Performance of [SIM] Detect States: time 0.0004015/0.01907, allocations: 0.546 MB / 0.6404 GB, free: 7.195 MB / 0.6042 GB Notification: Performance of [SIM] Events: time 7.396e-05/0.01915, allocations: 71.89 kB / 0.6404 GB, free: 7.125 MB / 0.6042 GB Notification: Performance of [SIM] Partitioning: time 0.000545/0.01969, allocations: 0.7429 MB / 0.6412 GB, free: 6.328 MB / 0.6042 GB Notification: Performance of [SIM] Causalize: time 0.002883/0.02257, allocations: 3.524 MB / 0.6446 GB, free: 2.715 MB / 0.6042 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0007264/0.0233, allocations: 1.425 MB / 0.646 GB, free: 1.289 MB / 0.6042 GB Notification: Performance of [INI] Simplify: time 0.0006652/0.02397, allocations: 0.6485 MB / 0.6466 GB, free: 0.5938 MB / 0.6042 GB Notification: Performance of [INI] Inline: time 0.001567/0.02553, allocations: 2.556 MB / 0.6491 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of [INI] Partitioning: time 4.484e-05/0.02558, allocations: 40.14 kB / 0.6492 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of [INI] Cleanup: time 0.0003788/0.02596, allocations: 0.6908 MB / 0.6498 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of [INI] Causalize: time 0.003658/0.02961, allocations: 4.47 MB / 0.6542 GB, free: 8.777 MB / 0.6198 GB Notification: Performance of [INI] Tearing: time 0.00016/0.02977, allocations: 232.3 kB / 0.6544 GB, free: 8.551 MB / 0.6198 GB Notification: Performance of [SIM] Initialization: time 9.72e-07/0.02978, allocations: 0 / 0.6544 GB, free: 8.551 MB / 0.6198 GB Notification: Performance of [SIM] DAE-Mode: time 0.0003368/0.03011, allocations: 320.5 kB / 0.6547 GB, free: 8.219 MB / 0.6198 GB Notification: Performance of [SIM] Remove Dummies: time 5.019e-06/0.03012, allocations: 8.594 kB / 0.6547 GB, free: 8.211 MB / 0.6198 GB Notification: Performance of [SIM] Tearing: time 0.0001338/0.03025, allocations: 219.8 kB / 0.655 GB, free: 7.996 MB / 0.6198 GB Notification: Performance of [SIM] Categorize: time 1.086e-05/0.03026, allocations: 4 kB / 0.655 GB, free: 7.992 MB / 0.6198 GB Notification: Performance of [SIM] Solve: time 0.001175/0.03144, allocations: 1.386 MB / 0.6563 GB, free: 6.605 MB / 0.6198 GB Notification: Performance of [SIM] Jacobian: time 0.002459/0.0339, allocations: 3.943 MB / 0.6602 GB, free: 2.508 MB / 0.6198 GB Notification: Performance of [SIM] Minimize Homotopy System: time 3.747e-06/0.0339, allocations: 0 / 0.6602 GB, free: 2.508 MB / 0.6198 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: ........... 82 (scalar:75, 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: ........... 82 (scalar:75, 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 5.489e-05/0.03395, allocations: 66.11 kB / 0.6602 GB, free: 2.449 MB / 0.6198 GB Notification: Performance of SimCode: time 0.004354/0.03831, allocations: 5.618 MB / 0.6657 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of Templates: time 0.2658/0.3041, allocations: 13.48 MB / 0.6789 GB, free: 80.9 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile [Timeout 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid -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_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.o IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.c In file included from IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.c:7: In file included from ./IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid_model.h:28: ./IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid_functions.h:14:111: error: unknown type name 'IDEAS_Electrical_Transmission_LowVoltageCables_Generic_array' 14 | void IDEAS_Electrical_Transmission_Grids_TestGrid2Nodes_5_construct_p(threadData_t *threadData, void* v_ths , IDEAS_Electrical_Transmission_LowVoltageCables_Generic_array in_cables); | ^ ./IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid_functions.h:175:1: error: unknown type name 'IDEAS_Electrical_Transmission_Grids_TestGrid2Nodes' 175 | IDEAS_Electrical_Transmission_Grids_TestGrid2Nodes omc_IDEAS_Electrical_Transmission_Grids_TestGrid2Nodes (threadData_t *threadData, modelica_integer omc_nNodes, modelica_integer omc_nLinks, integer_array omc_fromTo, real_array omc_l, IDEAS_Electrical_Transmission_LowVoltageCables_Generic_array omc_cables); | ^ 2 errors generated. make: *** [: IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.o] Error 1 [Calling os._exit(0), Time elapsed: 2.6728172851726413] Failed to read output from testmodel.py, exit status != 0: 0.3091060360893607 0.315968342 0.301220696 Calling exit ...