Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001238/0.001238, allocations: 107.1 kB / 16.42 MB, free: 6.031 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.00117/0.00117, allocations: 186.6 kB / 17.35 MB, free: 5.602 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.304/1.304, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.278/1.278, allocations: 251.7 MB / 0.51 GB, free: 444 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.342e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01617/0.0162, allocations: 15.72 MB / 0.7417 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01008/0.02632, allocations: 7.034 MB / 0.7486 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007083/0.02706, allocations: 19.81 kB / 0.7486 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.02808, allocations: 266.3 kB / 0.7489 GB, free: 13.63 MB / 0.5919 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.001853/0.02994, allocations: 0.5946 MB / 0.7494 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001871/0.03183, allocations: 0.7026 MB / 0.7501 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001372/0.03321, allocations: 1.032 MB / 0.7511 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004914/0.03371, allocations: 356.1 kB / 0.7515 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006281/0.03435, allocations: 422.4 kB / 0.7519 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003893/0.03475, allocations: 334.7 kB / 0.7522 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.638e-05/0.0348, allocations: 24 kB / 0.7522 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001063/0.03587, allocations: 0.6394 MB / 0.7529 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of combineBinaries: time 0.0005631/0.03644, allocations: 0.7688 MB / 0.7536 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.0002985/0.03675, allocations: 0.493 MB / 0.7541 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 7.544e-05/0.03683, allocations: 83.75 kB / 0.7542 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of FrontEnd: time 8.185e-05/0.03692, allocations: 19.88 kB / 0.7542 GB, free: 8.164 MB / 0.5919 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.001732/0.03866, allocations: 1.934 MB / 0.7561 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of FunctionAlias: time 0.0001061/0.03877, allocations: 79.81 kB / 0.7561 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of Early Inline: time 0.0006898/0.03947, allocations: 0.7048 MB / 0.7568 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of simplify1: time 5.923e-05/0.03954, allocations: 63.91 kB / 0.7569 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of Alias: time 0.001001/0.04054, allocations: 0.8875 MB / 0.7578 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of simplify2: time 5.097e-05/0.04061, allocations: 47.88 kB / 0.7578 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of Events: time 0.0001704/0.04078, allocations: 127.7 kB / 0.7579 GB, free: 4.07 MB / 0.5919 GB Notification: Performance of Detect States: time 0.0002092/0.041, allocations: 205.2 kB / 0.7581 GB, free: 3.855 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.0002785/0.04129, allocations: 292.9 kB / 0.7584 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of Causalize: time 0.001272/0.04257, allocations: 1.277 MB / 0.7597 GB, free: 2.145 MB / 0.5919 GB Notification: Performance of After Index Reduction Inline: time 0.0005301/0.04311, allocations: 0.5419 MB / 0.7602 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of Inline: time 0.001207/0.04432, allocations: 1.193 MB / 0.7613 GB, free: 352 kB / 0.5919 GB Notification: Performance of Partitioning: time 7.977e-05/0.04441, allocations: 75.61 kB / 0.7614 GB, free: 268 kB / 0.5919 GB Notification: Performance of Cleanup: time 0.0001075/0.04452, allocations: 119.7 kB / 0.7615 GB, free: 144 kB / 0.5919 GB Notification: Performance of Causalize: time 0.3549/0.3994, allocations: 4.303 MB / 0.7657 GB, free: 18.37 MB / 0.5919 GB Notification: Performance of Tearing: time 1.43e-05/0.3994, allocations: 0 / 0.7657 GB, free: 18.37 MB / 0.5919 GB Notification: Performance of Initialization: time 1.513e-06/0.3995, allocations: 0 / 0.7657 GB, free: 18.37 MB / 0.5919 GB Notification: Performance of Tearing: time 1.142e-05/0.3995, allocations: 3.875 kB / 0.7657 GB, free: 18.37 MB / 0.5919 GB Notification: Performance of Categorize: time 2.375e-05/0.3995, allocations: 7.203 kB / 0.7657 GB, free: 18.37 MB / 0.5919 GB Notification: Performance of Solve: time 0.0004782/0.4, allocations: 243.4 kB / 0.766 GB, free: 18.36 MB / 0.5919 GB Notification: Performance of Jacobian: time 5.69e-06/0.4, allocations: 8.234 kB / 0.766 GB, free: 18.36 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: ........... 68 (scalar:64, 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: ........... 68 (scalar:64, 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 5.604e-05/0.4001, allocations: 51.06 kB / 0.766 GB, free: 18.34 MB / 0.5919 GB Notification: Performance of SimCode: time 0.003684/0.4038, allocations: 2.716 MB / 0.7687 GB, free: 17.18 MB / 0.5919 GB Notification: Performance of Templates: time 0.01313/0.4169, allocations: 5.62 MB / 0.7742 GB, free: 16.68 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile make -j1 -f Buildings_maint.7.0.x_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_maint_7_0_x_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_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.o Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.c In file included from Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.c:7: In file included from ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_model.h:27: ./Buildings_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.o] Error 1