Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.Dampers.Validation.PressureIndependent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damPreInd.m_flow|damExp.m_flow|damExpPI.m_flow|damPreInd.y|damPreInd.y_actual",fileNamePrefix="Buildings_11_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent") translateModel(Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damPreInd.m_flow|damExp.m_flow|damExpPI.m_flow|damPreInd.y|damPreInd.y_actual",fileNamePrefix="Buildings_11_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 108.5 kB / 16.42 MB, free: 6.484 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.001078/0.001078, allocations: 188.3 kB / 17.36 MB, free: 5.703 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.145/1.145, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.192/2.192, allocations: 469.8 MB / 0.7431 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.64e-05/1.641e-05, allocations: 2.5 kB / 1.066 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent): time 0.5456/0.5456, allocations: 184.1 MB / 1.246 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01212/0.5577, allocations: 10.42 MB / 1.256 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001274/0.5591, allocations: 31.81 kB / 1.256 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001347/0.5604, allocations: 472.7 kB / 1.256 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002964/0.5634, allocations: 1.365 MB / 1.258 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003603/0.567, allocations: 1.786 MB / 1.259 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002337/0.5693, allocations: 2.401 MB / 1.262 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/0.5704, allocations: 0.933 MB / 1.263 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001514/0.5719, allocations: 1.199 MB / 1.264 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008512/0.5728, allocations: 0.8677 MB / 1.265 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001866/0.573, allocations: 120 kB / 1.265 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0021/0.5751, allocations: 1.474 MB / 1.266 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of combineBinaries: time 0.001665/0.5767, allocations: 2.551 MB / 1.269 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of replaceArrayConstructors: time 0.0007593/0.5775, allocations: 1.413 MB / 1.27 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001997/0.5777, allocations: 203.2 kB / 1.27 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of FrontEnd: time 0.0001942/0.5779, allocations: 47.75 kB / 1.27 GB, free: 6.32 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 (154) * Number of variables: 174 (148) Notification: Performance of Bindings: time 0.003666/0.5816, allocations: 4.456 MB / 1.275 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of FunctionAlias: time 0.0003921/0.582, allocations: 313.9 kB / 1.275 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of Early Inline: time 0.002465/0.5845, allocations: 2.802 MB / 1.278 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of simplify1: time 0.0004227/0.5849, allocations: 420.5 kB / 1.278 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of Alias: time 0.002897/0.5878, allocations: 2.522 MB / 1.281 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of simplify2: time 0.0003384/0.5881, allocations: 368.4 kB / 1.281 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of Detect States: time 0.0004992/0.5887, allocations: 0.5668 MB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of Events: time 0.0006067/0.5893, allocations: 0.5727 MB / 1.282 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of Partitioning: time 0.0008521/0.5901, allocations: 0.9279 MB / 1.283 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of Causalize: time 0.003304/0.5934, allocations: 3.108 MB / 1.286 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of After Index Reduction Inline: time 0.001838/0.5953, allocations: 2.015 MB / 1.288 GB, free: 3 MB / 0.9981 GB Notification: Performance of Inline: time 0.006004/0.6013, allocations: 5.921 MB / 1.294 GB, free: 13.03 MB / 1.014 GB Notification: Performance of Partitioning: time 0.0001342/0.6014, allocations: 67.69 kB / 1.294 GB, free: 12.95 MB / 1.014 GB Notification: Performance of Cleanup: time 0.0009576/0.6024, allocations: 1.279 MB / 1.295 GB, free: 11.66 MB / 1.014 GB Notification: Performance of Causalize: time 0.02017/0.6226, allocations: 18.75 MB / 1.313 GB, free: 9.039 MB / 1.029 GB Notification: Performance of Tearing: time 0.001195/0.6238, allocations: 0.9441 MB / 1.314 GB, free: 8.059 MB / 1.029 GB Notification: Performance of Initialization: time 2.534e-06/0.6238, allocations: 4 kB / 1.314 GB, free: 8.055 MB / 1.029 GB Notification: Performance of Tearing: time 0.0008072/0.6246, allocations: 0.7621 MB / 1.315 GB, free: 7.246 MB / 1.029 GB Notification: Performance of Categorize: time 3.236e-05/0.6247, allocations: 7.938 kB / 1.315 GB, free: 7.238 MB / 1.029 GB Notification: Performance of Solve: time 0.002359/0.627, allocations: 2.282 MB / 1.317 GB, free: 4.746 MB / 1.029 GB Notification: Performance of Jacobian: time 0.0009091/0.628, allocations: 0.8701 MB / 1.318 GB, free: 3.832 MB / 1.029 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 6 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 28 * 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: ............................. 2 (2) {conPID.I.y, conPID.D.x} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 55 (43) {$SEV_36[$i1], $SEV_35, $SEV_34, $SEV_33, $SEV_32, $SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_5, $TEV_4, $TEV_3, $TEV_2, $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: ........... 118 (scalar:104, array:14, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 7 (generic: 7, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 1, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 211 (scalar:186, array:25, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:1) * Number of for-loop strong components: ......... 10 (generic: 10, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 1, nonlinear:1) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 225 (scalar:200, array:25, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:1) * Number of for-loop strong components: ......... 10 (generic: 10, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: Performance of backend: time 9.453e-05/0.6281, allocations: 104.9 kB / 1.318 GB, free: 3.738 MB / 1.029 GB Notification: Performance of SimCode: time 0.007707/0.6358, allocations: 7.608 MB / 1.326 GB, free: 12.04 MB / 1.045 GB Notification: Performance of Templates: time 0.03009/0.6659, allocations: 22.5 MB / 1.348 GB, free: 5.527 MB / 1.061 GB make -j1 -f Buildings_11_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.makefile make -j1 -f Buildings_11_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.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_11_Buildings_Fluid_Actuators_Dampers_Validation_PressureIndependent -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_11_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.o Buildings_11_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.c 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_11_Buildings_Fluid_Actuators_Dampers_Validation_PressureIndependent -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_11_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent_functions.o Buildings_11_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent_functions.c Buildings_11_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent_functions.c:2090:3: warning: implicit declaration of function 'ModelicaError' is invalid in C99 [-Wimplicit-function-declaration] ModelicaError(MMC_STRINGDATA(_string)); ^ Buildings_11_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent_functions.c:2147:86: error: use of undeclared identifier 'k' (&data->localData[0]->booleanVars[0] /* $SEV_36[1] DISCRETE */)[_omcQ_24i1 - 1] = (k == (&data->simulationInfo->integerParameter[2] /* damPreInd.idx_sorted[1] PARAM */)[_omcQ_24i1 - 1]); ^ 1 warning and 1 error generated. make: *** [: Buildings_11_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent_functions.o] Error 1