Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_latest_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.001107/0.001107, allocations: 107.3 kB / 16.42 MB, free: 6.523 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.001153/0.001153, allocations: 187.2 kB / 17.36 MB, free: 5.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.157/1.157, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.234/2.234, allocations: 461.9 MB / 0.7354 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.781e-05/1.781e-05, allocations: 2.5 kB / 1.055 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01534/0.01536, allocations: 15.55 MB / 1.07 GB, free: 8.137 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005614/0.02101, allocations: 4.341 MB / 1.074 GB, free: 3.785 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000541/0.02157, allocations: 15.88 kB / 1.074 GB, free: 3.77 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0008553/0.02244, allocations: 258.4 kB / 1.074 GB, free: 3.516 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001428/0.02388, allocations: 0.6062 MB / 1.075 GB, free: 2.906 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001646/0.02557, allocations: 0.708 MB / 1.076 GB, free: 2.207 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001303/0.02688, allocations: 1.04 MB / 1.077 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005526/0.02744, allocations: 355.9 kB / 1.077 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007965/0.02825, allocations: 446.3 kB / 1.077 GB, free: 384 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005949/0.02886, allocations: 314.7 kB / 1.078 GB, free: 68 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.761e-05/0.02897, allocations: 24 kB / 1.078 GB, free: 44 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4114/0.4404, allocations: 0.6554 MB / 1.078 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0005308/0.4409, allocations: 0.778 MB / 1.079 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0002437/0.4412, allocations: 0.5092 MB / 1.08 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.4413, allocations: 76.06 kB / 1.08 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.0001308/0.4414, allocations: 20.92 kB / 1.08 GB, free: 12.05 MB / 0.8419 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.001444/0.4429, allocations: 1.969 MB / 1.082 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0001002/0.443, allocations: 83.19 kB / 1.082 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0005763/0.4436, allocations: 0.7221 MB / 1.082 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of simplify1: time 6.074e-05/0.4437, allocations: 67.38 kB / 1.082 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of Alias: time 0.0009675/0.4446, allocations: 0.9832 MB / 1.083 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of simplify2: time 4.998e-05/0.4447, allocations: 45.31 kB / 1.083 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of Events: time 0.0001604/0.4449, allocations: 125.2 kB / 1.084 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0001788/0.445, allocations: 210.8 kB / 1.084 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0002138/0.4453, allocations: 281.1 kB / 1.084 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0009429/0.4462, allocations: 0.969 MB / 1.085 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0004817/0.4467, allocations: 0.5589 MB / 1.086 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of Inline: time 0.001136/0.4478, allocations: 1.238 MB / 1.087 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of Partitioning: time 6.864e-05/0.4479, allocations: 75.38 kB / 1.087 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.000115/0.448, allocations: 127.3 kB / 1.087 GB, free: 9.867 MB / 0.8419 GB Notification: Performance of Causalize: time 0.003716/0.4518, allocations: 3.498 MB / 1.09 GB, free: 9.07 MB / 0.8419 GB Notification: Performance of Tearing: time 1.302e-05/0.4518, allocations: 4.75 kB / 1.09 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of Initialization: time 1.493e-06/0.4518, allocations: 1 kB / 1.09 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of Tearing: time 5.621e-06/0.4518, allocations: 5.156 kB / 1.09 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of Categorize: time 1.7e-05/0.4518, allocations: 7.266 kB / 1.09 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of Solve: time 0.0004476/0.4523, allocations: 250.9 kB / 1.091 GB, free: 9.035 MB / 0.8419 GB Notification: Performance of Jacobian: time 3.857e-06/0.4523, allocations: 0 / 1.091 GB, free: 9.035 MB / 0.8419 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: ........... 34 (scalar:32, 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: ........... 71 (scalar:67, 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: ........... 71 (scalar:67, 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 4.425e-05/0.4523, allocations: 47.28 kB / 1.091 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of SimCode: time 0.003393/0.4557, allocations: 2.787 MB / 1.093 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of Templates: time 0.01211/0.4679, allocations: 5.866 MB / 1.099 GB, free: 7.156 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile make -j1 -f Buildings_latest_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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -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_latest_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_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.o Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.c In file included from Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.c:7: In file included from ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_model.h:28: ./Buildings_latest_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_latest_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_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.o] Error 1