Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 104.7 kB / 16.38 MB, free: 6.492 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.001185/0.001185, allocations: 190.5 kB / 17.31 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.751/1.751, allocations: 292.3 MB / 0.5496 GB, free: 17.46 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.839e-05/2.84e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.926 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01571/0.01576, allocations: 15.71 MB / 0.6882 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01053/0.02634, allocations: 7.064 MB / 0.6951 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008144/0.02719, allocations: 19.81 kB / 0.6951 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.02821, allocations: 254.4 kB / 0.6954 GB, free: 14.8 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001698/0.02992, allocations: 0.6043 MB / 0.6959 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001926/0.03185, allocations: 0.6879 MB / 0.6966 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001294/0.03315, allocations: 1.032 MB / 0.6976 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005245/0.03369, allocations: 372.6 kB / 0.698 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006329/0.03433, allocations: 434.4 kB / 0.6984 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003679/0.03471, allocations: 314.8 kB / 0.6987 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.835e-05/0.03478, allocations: 28 kB / 0.6987 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.03581, allocations: 0.6355 MB / 0.6993 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.0006088/0.03643, allocations: 0.7765 MB / 0.7001 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.0002998/0.03674, allocations: 0.4969 MB / 0.7006 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.436e-05/0.03683, allocations: 75.75 kB / 0.7007 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.748e-05/0.03694, allocations: 23.88 kB / 0.7007 GB, free: 9.32 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 (47) * Number of variables: 51 (45) Notification: Performance of Bindings: time 0.001815/0.03876, allocations: 1.945 MB / 0.7026 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 0.0001207/0.03889, allocations: 75.83 kB / 0.7027 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.0006761/0.03957, allocations: 0.7165 MB / 0.7034 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of simplify1: time 5.603e-05/0.03963, allocations: 51.94 kB / 0.7034 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of Alias: time 0.00109/0.04073, allocations: 0.8959 MB / 0.7043 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of simplify2: time 4.846e-05/0.04079, allocations: 55.92 kB / 0.7043 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of Events: time 0.0001834/0.04098, allocations: 123.1 kB / 0.7044 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of Detect States: time 0.0001954/0.04119, allocations: 209.2 kB / 0.7046 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0002897/0.04148, allocations: 281 kB / 0.7049 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of Causalize: time 0.001279/0.04278, allocations: 1.281 MB / 0.7062 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.0005179/0.0433, allocations: 0.5461 MB / 0.7067 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of Inline: time 0.001197/0.04451, allocations: 1.154 MB / 0.7078 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of Partitioning: time 7.391e-05/0.04459, allocations: 75.61 kB / 0.7079 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of Cleanup: time 0.0001259/0.04473, allocations: 127.6 kB / 0.708 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of Causalize: time 0.003992/0.04872, allocations: 4.409 MB / 0.7123 GB, free: 13 MB / 0.5919 GB Notification: Performance of Tearing: time 1.078e-05/0.04875, allocations: 4 kB / 0.7123 GB, free: 13 MB / 0.5919 GB Notification: Performance of Initialization: time 8.92e-07/0.04876, allocations: 0 / 0.7123 GB, free: 13 MB / 0.5919 GB Notification: Performance of Tearing: time 7.805e-06/0.04877, allocations: 0.5 kB / 0.7123 GB, free: 13 MB / 0.5919 GB Notification: Performance of Categorize: time 2.565e-05/0.0488, allocations: 7.938 kB / 0.7123 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of Solve: time 0.0004854/0.04929, allocations: 262.7 kB / 0.7126 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of Jacobian: time 4.278e-06/0.04931, allocations: 3.938 kB / 0.7126 GB, free: 12.73 MB / 0.5919 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 4 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 7 * 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) {NOT YET AVAILABLE} * Number of discrete variables: ................. 8 (8) {$SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 33 (scalar:31, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 70 (scalar:66, array:3, record:1) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 70 (scalar:66, array:3, record:1) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 7e-05/0.04938, allocations: 53.91 kB / 0.7126 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of SimCode: time 0.003894/0.05328, allocations: 2.726 MB / 0.7153 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.009862/0.06316, allocations: 5.655 MB / 0.7208 GB, free: 4.449 MB / 0.5919 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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=Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.o Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.c In file included from Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.c:7: In file included from ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_model.h:27: ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_functions.h:165:1: error: unknown type name 'Buildings_Fluid_Actuators_Valves_Data_Linear'; did you mean 'Buildings_Fluid_Actuators_Valves_Data_Generic'? Buildings_Fluid_Actuators_Valves_Data_Linear omc_Buildings_Fluid_Actuators_Valves_Data_Linear (threadData_t *threadData, real_array omc_y, real_array omc_phi); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_Fluid_Actuators_Valves_Data_Generic ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_functions.h:17:3: note: 'Buildings_Fluid_Actuators_Valves_Data_Generic' declared here } Buildings_Fluid_Actuators_Valves_Data_Generic; ^ 1 error generated. make: *** [: Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.o] Error 1