Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00156/0.00156, allocations: 109.1 kB / 16.42 MB, free: 6.48 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.001824/0.001824, allocations: 187.2 kB / 17.36 MB, free: 5.707 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.472/1.472, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002117/0.002117, allocations: 294.7 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.015/1.015, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.138e-05/3.141e-05, allocations: 4.531 kB / 0.682 GB, free: 7.055 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.4936/0.4936, allocations: 15.53 MB / 0.6972 GB, free: 9.77 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008328/0.502, allocations: 4.336 MB / 0.7014 GB, free: 7.09 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001241/0.5033, allocations: 16.31 kB / 0.7014 GB, free: 7.082 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001222/0.5045, allocations: 266.2 kB / 0.7017 GB, free: 6.926 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002528/0.5071, allocations: 0.6092 MB / 0.7023 GB, free: 6.574 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002915/0.51, allocations: 0.701 MB / 0.703 GB, free: 6.242 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002526/0.5125, allocations: 1.05 MB / 0.704 GB, free: 5.762 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008677/0.5134, allocations: 357.6 kB / 0.7043 GB, free: 5.621 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001222/0.5147, allocations: 439.2 kB / 0.7048 GB, free: 5.438 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005669/0.5152, allocations: 316 kB / 0.7051 GB, free: 5.305 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.807e-05/0.5153, allocations: 27.19 kB / 0.7051 GB, free: 5.305 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001887/0.5172, allocations: 0.6532 MB / 0.7057 GB, free: 5.09 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0007019/0.5179, allocations: 0.7776 MB / 0.7065 GB, free: 4.59 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003702/0.5183, allocations: 0.5163 MB / 0.707 GB, free: 4.227 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001471/0.5185, allocations: 78.06 kB / 0.7071 GB, free: 4.188 MB / 494.1 MB Notification: Performance of FrontEnd: time 0.0001763/0.5186, allocations: 24.53 kB / 0.7071 GB, free: 4.18 MB / 494.1 MB 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.002107/0.5208, allocations: 1.968 MB / 0.709 GB, free: 2.77 MB / 494.1 MB Notification: Performance of FunctionAlias: time 0.0001481/0.5209, allocations: 85.88 kB / 0.7091 GB, free: 2.719 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0008619/0.5218, allocations: 0.7231 MB / 0.7098 GB, free: 2.254 MB / 494.1 MB Notification: Performance of simplify1: time 9.861e-05/0.5219, allocations: 61.91 kB / 0.7099 GB, free: 2.227 MB / 494.1 MB Notification: Performance of Alias: time 0.001545/0.5234, allocations: 0.966 MB / 0.7108 GB, free: 1.594 MB / 494.1 MB Notification: Performance of simplify2: time 7.341e-05/0.5235, allocations: 57.14 kB / 0.7108 GB, free: 1.566 MB / 494.1 MB Notification: Performance of Events: time 0.000233/0.5238, allocations: 123.9 kB / 0.711 GB, free: 1.5 MB / 494.1 MB Notification: Performance of Detect States: time 0.0003067/0.5241, allocations: 215.4 kB / 0.7112 GB, free: 1.348 MB / 494.1 MB Notification: Performance of Partitioning: time 0.0004427/0.5245, allocations: 283.3 kB / 0.7114 GB, free: 1.094 MB / 494.1 MB Notification: Performance of Causalize: time 0.001482/0.526, allocations: 0.9789 MB / 0.7124 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.0007282/0.5268, allocations: 0.5547 MB / 0.7129 GB, free: 272 kB / 494.1 MB Notification: Performance of Inline: time 0.001914/0.5287, allocations: 1.236 MB / 0.7141 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of Partitioning: time 0.000128/0.5288, allocations: 81.89 kB / 0.7142 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of Cleanup: time 0.0002007/0.529, allocations: 125.3 kB / 0.7143 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of Causalize: time 0.005491/0.5345, allocations: 3.495 MB / 0.7178 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of Tearing: time 2.832e-05/0.5346, allocations: 5.344 kB / 0.7178 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of Initialization: time 1.513e-06/0.5346, allocations: 3.938 kB / 0.7178 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of Tearing: time 2.257e-05/0.5347, allocations: 6.531 kB / 0.7178 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of Categorize: time 3.641e-05/0.5347, allocations: 5.25 kB / 0.7178 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of Solve: time 0.0007458/0.5354, allocations: 258.9 kB / 0.718 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of Jacobian: time 4.939e-06/0.5355, allocations: 0 / 0.718 GB, free: 13.95 MB / 0.4981 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 8.096e-05/0.5355, allocations: 58.86 kB / 0.7181 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of SimCode: time 0.005931/0.5415, allocations: 2.777 MB / 0.7208 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of Templates: time 0.01443/0.556, allocations: 5.871 MB / 0.7265 GB, free: 10.78 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile make -j1 -f BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.o BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.c In file included from BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.c:7: In file included from ./BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_model.h:28: ./BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_functions.h:165:1: error: unknown type name 'BuildingSystems_Fluid_Actuators_Valves_Data_Linear'; did you mean 'BuildingSystems_Fluid_Actuators_Valves_Data_Generic'? BuildingSystems_Fluid_Actuators_Valves_Data_Linear omc_BuildingSystems_Fluid_Actuators_Valves_Data_Linear (threadData_t *threadData, real_array omc_y, real_array omc_phi); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BuildingSystems_Fluid_Actuators_Valves_Data_Generic ./BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_functions.h:17:3: note: 'BuildingSystems_Fluid_Actuators_Valves_Data_Generic' declared here } BuildingSystems_Fluid_Actuators_Valves_Data_Generic; ^ 1 error generated. make: *** [: BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.o] Error 1