Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.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.001144/0.001144, allocations: 101.3 kB / 19.72 MB, free: 2.121 MB / 14.72 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.001193/0.001193, allocations: 209.2 kB / 23.01 MB, free: 4.93 MB / 14.72 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 1.258/1.258, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.747/2.747, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|valLin.res1.phi|valLin.res3.phi|valEquPerLin.res1.phi|valEquPerLin.res3.phi|valTab.res1.phi|valTab.res3.phi",fileNamePrefix="Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|valLin.res1.phi|valLin.res3.phi|valEquPerLin.res1.phi|valEquPerLin.res3.phi|valTab.res1.phi|valTab.res3.phi",fileNamePrefix="Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.319e-05/1.319e-05, allocations: 4.391 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.09309/0.0931, allocations: 103.8 MB / 1.256 GB, free: 3.453 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02696/0.1201, allocations: 18.79 MB / 1.275 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003107/0.1232, allocations: 153.3 kB / 1.275 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002861/0.126, allocations: 1.278 MB / 1.276 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.008782/0.1348, allocations: 3.953 MB / 1.28 GB, free: 284 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00643/0.1412, allocations: 3.17 MB / 1.283 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.009565/0.1508, allocations: 8.865 MB / 1.292 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003157/0.154, allocations: 2.6 MB / 1.294 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006798/0.1608, allocations: 3.852 MB / 1.298 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002672/0.1634, allocations: 2.097 MB / 1.3 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003378/0.1638, allocations: 236 kB / 1.3 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002877/0.1666, allocations: 1.552 MB / 1.302 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of combineBinaries: time 0.004374/0.171, allocations: 5.724 MB / 1.307 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of replaceArrayConstructors: time 0.00238/0.1734, allocations: 3.63 MB / 1.311 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003982/0.1738, allocations: 240 kB / 1.311 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of FrontEnd: time 0.0003687/0.1742, allocations: 99.53 kB / 1.311 GB, free: 0.875 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 (343) * Number of variables: 379 (319) Notification: Performance of [SIM] Bindings: time 0.01079/0.185, allocations: 12.33 MB / 1.323 GB, free: 4.176 MB / 1.014 GB Notification: Performance of [SIM] FunctionAlias: time 0.001406/0.1864, allocations: 1.376 MB / 1.325 GB, free: 2.762 MB / 1.014 GB Notification: Performance of [SIM] Early Inline: time 0.004648/0.191, allocations: 5.079 MB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of [SIM] Simplify 1: time 0.00144/0.1925, allocations: 0.964 MB / 1.331 GB, free: 12.55 MB / 1.029 GB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.01063/0.2031, allocations: 8.417 MB / 1.339 GB, free: 3.367 MB / 1.029 GB Notification: Performance of [SIM] Simplify 2: time 0.001059/0.2041, allocations: 0.7448 MB / 1.34 GB, free: 2.543 MB / 1.029 GB Notification: Performance of [SIM] Remove Stream: time 0.0005232/0.2047, allocations: 457.2 kB / 1.34 GB, free: 2.055 MB / 1.029 GB Notification: Performance of [SIM] Detect States: time 0.0008613/0.2055, allocations: 0.9135 MB / 1.341 GB, free: 1.082 MB / 1.029 GB Notification: Performance of [SIM] Events: time 0.0002877/0.2058, allocations: 210 kB / 1.341 GB, free: 0.875 MB / 1.029 GB Notification: Performance of [SIM] Partitioning: time 0.00121/0.207, allocations: 1.112 MB / 1.342 GB, free: 15.7 MB / 1.045 GB Notification: Performance of [SIM] Causalize: time 0.006908/0.2139, allocations: 5.568 MB / 1.348 GB, free: 9.949 MB / 1.045 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002359/0.2163, allocations: 2.682 MB / 1.35 GB, free: 7.266 MB / 1.045 GB Notification: Performance of [INI] Simplify: time 0.006647/0.2229, allocations: 3.377 MB / 1.353 GB, free: 3.746 MB / 1.045 GB Notification: Performance of [INI] Inline: time 0.004701/0.2276, allocations: 5.231 MB / 1.359 GB, free: 14.48 MB / 1.061 GB Notification: Performance of [INI] Partitioning: time 0.0002347/0.2279, allocations: 123.8 kB / 1.359 GB, free: 14.34 MB / 1.061 GB Notification: Performance of [INI] Cleanup: time 0.0009903/0.2289, allocations: 1.138 MB / 1.36 GB, free: 13.19 MB / 1.061 GB Notification: Performance of [INI] Causalize: time 0.01686/0.2457, allocations: 13.58 MB / 1.373 GB, free: 15.36 MB / 1.076 GB Notification: Performance of [INI] Tearing: time 0.0002427/0.246, allocations: 397.1 kB / 1.373 GB, free: 14.97 MB / 1.076 GB Notification: Performance of [SIM] Initialization: time 7.21e-07/0.246, allocations: 3.938 kB / 1.373 GB, free: 14.96 MB / 1.076 GB Notification: Performance of [SIM] Remove Dummies: time 2.057e-05/0.246, allocations: 14 kB / 1.373 GB, free: 14.95 MB / 1.076 GB Notification: Performance of [SIM] Tearing: time 5.211e-05/0.246, allocations: 84 kB / 1.374 GB, free: 14.87 MB / 1.076 GB Notification: Performance of [SIM] Categorize: time 2.156e-05/0.2461, allocations: 8 kB / 1.374 GB, free: 14.86 MB / 1.076 GB Notification: Performance of [SIM] Solve: time 0.003687/0.2497, allocations: 2.603 MB / 1.376 GB, free: 12.24 MB / 1.076 GB Notification: Performance of [SIM] Jacobian: time 0.001713/0.2515, allocations: 1.407 MB / 1.378 GB, free: 10.78 MB / 1.076 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 3 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 2 * 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: ............................. 3 (3) {valLin.vol.U, valEquPerLin.vol.U, valTab.vol.U} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 4 (4) {$SEV_1, $SEV_0, $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: ........... 162 (scalar:162, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 15 (resizable: 9, generic: 6, 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: ........... 377 (scalar:366, array:9, record:2) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:2) * Number of for-loop strong components: ......... 15 (resizable: 9, generic: 6, 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: ........... 377 (scalar:366, array:9, record:2) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:2) * Number of for-loop strong components: ......... 15 (resizable: 9, generic: 6, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001359/0.2516, allocations: 153.8 kB / 1.378 GB, free: 10.63 MB / 1.076 GB Notification: Performance of SimCode: time 0.01525/0.2668, allocations: 12.56 MB / 1.39 GB, free: 14.13 MB / 1.092 GB Notification: Performance of Templates: time 0.03919/0.306, allocations: 26.89 MB / 1.416 GB, free: 3.32 MB / 1.107 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile [Timeout 300] make -j1 -f Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.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_12_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves -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_12_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.o Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.c In file included from Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.c:7: In file included from ./Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves_model.h:28: ./Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves_functions.h:467: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_12_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves_functions.h:17:3: note: 'Buildings_Fluid_Actuators_Valves_Data_Generic' declared here } Buildings_Fluid_Actuators_Valves_Data_Generic; ^ 1 error generated. make: *** [: Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.o] Error 1 [Calling os._exit(0), Time elapsed: 5.785669629927725] Failed to read output from testmodel.py, exit status != 0: 0.3127317582257092 0.32533935 0.148546951 Calling exit ...