Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.Damper.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.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow|preInd.m_flow|preIndFrom_dp.m_flow|preIndDpFixed_nominal.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.Damper") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow|preInd.m_flow|preIndFrom_dp.m_flow|preIndDpFixed_nominal.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 109.5 kB / 16.42 MB, free: 6.531 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.001052/0.001052, allocations: 182.1 kB / 17.36 MB, free: 5.723 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.14/1.14, allocations: 222.9 MB / 241 MB, free: 15.16 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.262/2.262, allocations: 469.8 MB / 0.7432 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.532e-05/1.534e-05, allocations: 2.5 kB / 1.066 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.Damper): time 0.558/0.558, allocations: 182.1 MB / 1.244 GB, free: 1.781 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.008613/0.5667, allocations: 5.787 MB / 1.249 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.5678, allocations: 19.88 kB / 1.249 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.569, allocations: 496.7 kB / 1.25 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003478/0.5725, allocations: 1.599 MB / 1.251 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004475/0.577, allocations: 2.083 MB / 1.253 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002975/0.58, allocations: 2.616 MB / 1.256 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001305/0.5813, allocations: 0.9211 MB / 1.257 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001564/0.5829, allocations: 1.094 MB / 1.258 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001321/0.5842, allocations: 1.035 MB / 1.259 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003014/0.5845, allocations: 136 kB / 1.259 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002432/0.587, allocations: 1.672 MB / 1.261 GB, free: 312 kB / 0.9669 GB Notification: Performance of combineBinaries: time 0.002169/0.5892, allocations: 2.898 MB / 1.263 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of replaceArrayConstructors: time 0.0009735/0.5901, allocations: 1.471 MB / 1.265 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002243/0.5904, allocations: 199.3 kB / 1.265 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of FrontEnd: time 0.000148/0.5905, allocations: 35.88 kB / 1.265 GB, free: 11.66 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: 163 (143) * Number of variables: 163 (137) Notification: Performance of Bindings: time 0.003761/0.5943, allocations: 4.796 MB / 1.27 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of FunctionAlias: time 0.0005677/0.5949, allocations: 0.5134 MB / 1.27 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of Early Inline: time 0.003974/0.5988, allocations: 4.963 MB / 1.275 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of simplify1: time 0.0005801/0.5994, allocations: 0.6681 MB / 1.276 GB, free: 468 kB / 0.9825 GB Notification: Performance of Alias: time 0.002784/0.6022, allocations: 2.686 MB / 1.278 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of simplify2: time 0.0005616/0.6028, allocations: 0.6601 MB / 1.279 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of Detect States: time 0.0006893/0.6035, allocations: 0.9671 MB / 1.28 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of Events: time 0.0008265/0.6043, allocations: 0.832 MB / 1.281 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of Partitioning: time 0.001144/0.6055, allocations: 1.351 MB / 1.282 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of Causalize: time 0.004492/0.61, allocations: 4.158 MB / 1.286 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of After Index Reduction Inline: time 0.003015/0.613, allocations: 3.555 MB / 1.29 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of Inline: time 0.009616/0.6226, allocations: 10.08 MB / 1.3 GB, free: 7.027 MB / 1.014 GB Notification: Performance of Partitioning: time 0.0002176/0.6229, allocations: 100.7 kB / 1.3 GB, free: 6.898 MB / 1.014 GB Notification: Performance of Cleanup: time 0.001846/0.6247, allocations: 2.282 MB / 1.302 GB, free: 4.598 MB / 1.014 GB Notification: Performance of Causalize: time 0.04125/0.666, allocations: 41.56 MB / 1.342 GB, free: 11.48 MB / 1.061 GB Notification: Performance of Tearing: time 0.00291/0.6689, allocations: 3.429 MB / 1.346 GB, free: 8.008 MB / 1.061 GB Notification: Performance of Initialization: time 1.122e-06/0.6689, allocations: 0 / 1.346 GB, free: 8.008 MB / 1.061 GB Notification: Performance of Tearing: time 0.002518/0.6715, allocations: 3.229 MB / 1.349 GB, free: 4.734 MB / 1.061 GB Notification: Performance of Categorize: time 4.525e-05/0.6715, allocations: 15.88 kB / 1.349 GB, free: 4.719 MB / 1.061 GB Notification: Performance of Solve: time 0.003558/0.6751, allocations: 3.059 MB / 1.352 GB, free: 1.426 MB / 1.061 GB Notification: Performance of Jacobian: time 4.599e-06/0.6751, allocations: 3.984 kB / 1.352 GB, free: 1.422 MB / 1.061 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: ......... 38 * 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: ................. 87 (51) {$SEV_48[$i1], $SEV_47[$i1], $SEV_46[$i1], $SEV_45, $SEV_44, $SEV_43, $SEV_42, $SEV_41, $SEV_40, $SEV_39, $SEV_38, $SEV_37, $SEV_36, $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_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: ........... 149 (scalar:137, array:12, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 9 (generic: 9, 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: ........... 257 (scalar:222, array:35, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:3) * Number of for-loop strong components: ......... 18 (generic: 18, 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: ........... 263 (scalar:228, array:35, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:3) * Number of for-loop strong components: ......... 18 (generic: 18, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: Performance of backend: time 0.0001069/0.6752, allocations: 118.6 kB / 1.352 GB, free: 1.316 MB / 1.061 GB Notification: Performance of SimCode: time 0.009499/0.6847, allocations: 10.42 MB / 1.362 GB, free: 6.77 MB / 1.076 GB Notification: Performance of Templates: time 0.04361/0.7283, allocations: 35.32 MB / 1.397 GB, free: 3.41 MB / 1.107 GB make -j1 -f Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.Damper.makefile make -j1 -f Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.Damper.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_Examples_Damper -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.Examples.Damper.o Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.Damper.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_Examples_Damper -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.Examples.Damper_functions.o Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.Damper_functions.c Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.Damper_functions.c:2261:3: warning: implicit declaration of function 'ModelicaError' is invalid in C99 [-Wimplicit-function-declaration] ModelicaError(MMC_STRINGDATA(_string)); ^ Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.Damper_functions.c:2318:86: error: use of undeclared identifier 'k' (&data->localData[0]->booleanVars[0] /* $SEV_48[1] DISCRETE */)[_omcQ_24i1 - 1] = (k == (&data->simulationInfo->integerParameter[28] /* preInd.idx_sorted[1] PARAM */)[_omcQ_24i1 - 1]); ^ Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.Damper_functions.c:2390:87: error: use of undeclared identifier 'k' (&data->localData[0]->booleanVars[13] /* $SEV_47[1] DISCRETE */)[_omcQ_24i1 - 1] = (k == (&data->simulationInfo->integerParameter[15] /* preIndFrom_dp.idx_sorted[1] PARAM */)[_omcQ_24i1 - 1]); ^ Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.Damper_functions.c:2462:87: error: use of undeclared identifier 'k' (&data->localData[0]->booleanVars[26] /* $SEV_46[1] DISCRETE */)[_omcQ_24i1 - 1] = (k == (&data->simulationInfo->integerParameter[2] /* preIndDpFixed_nominal.idx_sorted[1] PARAM */)[_omcQ_24i1 - 1]); ^ 1 warning and 3 errors generated. make: *** [: Buildings_11_Buildings.Fluid.Actuators.Dampers.Examples.Damper_functions.o] Error 1