Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 107.9 kB / 16.38 MB, free: 6.434 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.001245/0.001245, allocations: 192.7 kB / 17.31 MB, free: 5.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.74/1.74, allocations: 292.3 MB / 0.5496 GB, free: 17.71 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.809e-05/2.818e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.922 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.003995/0.00404, allocations: 2.467 MB / 0.6753 GB, free: 3.434 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002226/0.006284, allocations: 1.488 MB / 0.6767 GB, free: 1.938 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001582/0.006454, allocations: 7.938 kB / 0.6767 GB, free: 1.93 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000923/0.007383, allocations: 314.9 kB / 0.677 GB, free: 1.625 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0004588/0.007851, allocations: 211.1 kB / 0.6772 GB, free: 1.418 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006153/0.008485, allocations: 242.8 kB / 0.6775 GB, free: 1.184 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004263/0.008919, allocations: 430.6 kB / 0.6779 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.009097, allocations: 72.62 kB / 0.6779 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001922/0.009296, allocations: 167.3 kB / 0.6781 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.009476, allocations: 155.2 kB / 0.6782 GB, free: 384 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.705e-05/0.009521, allocations: 20 kB / 0.6783 GB, free: 364 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002652/0.009792, allocations: 127.9 kB / 0.6784 GB, free: 236 kB / 0.545 GB Notification: Performance of combineBinaries: time 0.0003333/0.01014, allocations: 0.4903 MB / 0.6789 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.0001788/0.01032, allocations: 342.8 kB / 0.6792 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.249e-05/0.01039, allocations: 47.81 kB / 0.6792 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.753e-05/0.01044, allocations: 11.94 kB / 0.6793 GB, free: 15.33 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 (22) * Number of variables: 22 (22) Notification: Performance of Bindings: time 0.001285/0.01173, allocations: 1.482 MB / 0.6807 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 4.809e-05/0.01179, allocations: 43.69 kB / 0.6807 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.0004132/0.01221, allocations: 428 kB / 0.6811 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of simplify1: time 3.584e-05/0.01225, allocations: 31.94 kB / 0.6812 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of Alias: time 0.0007069/0.01296, allocations: 0.569 MB / 0.6817 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of simplify2: time 2.663e-05/0.013, allocations: 23.95 kB / 0.6818 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of Events: time 0.0002278/0.01324, allocations: 134 kB / 0.6819 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of Detect States: time 0.0002764/0.01352, allocations: 205 kB / 0.6821 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of Partitioning: time 0.0001901/0.01372, allocations: 167.8 kB / 0.6822 GB, free: 12 MB / 0.5606 GB Notification: Performance of Causalize: time 0.0008138/0.01454, allocations: 0.7505 MB / 0.683 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 0.0003808/0.01493, allocations: 396.1 kB / 0.6834 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of Inline: time 0.001011/0.01595, allocations: 0.962 MB / 0.6843 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of Partitioning: time 5.561e-05/0.01602, allocations: 54.36 kB / 0.6843 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of Cleanup: time 4.293e-05/0.01607, allocations: 39.89 kB / 0.6844 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of Causalize: time 0.001988/0.01806, allocations: 1.998 MB / 0.6863 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of Tearing: time 1.227e-05/0.01809, allocations: 3.938 kB / 0.6863 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of Initialization: time 3.01e-07/0.0181, allocations: 7.875 kB / 0.6863 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of Tearing: time 5.871e-06/0.01811, allocations: 8 kB / 0.6864 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of Categorize: time 1.461e-05/0.01813, allocations: 0 / 0.6864 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of Solve: time 0.0002187/0.01835, allocations: 134.1 kB / 0.6865 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of Jacobian: time 6.843e-06/0.01837, allocations: 7.922 kB / 0.6865 GB, free: 7.578 MB / 0.5606 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 5 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 4 (4) {runSig.combiTimeTable.nextTimeEventScaled, runSig.combiTimeTable.nextTimeEvent, mWat_flow.tab.nextTimeEvent, mWat_flow.tab.nextTimeEventScaled} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 15 (15) {assWatMas.nand.u1, assWatMas.nand.y, assWatMas.not1.u, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $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: ........... 20 (scalar:19, array:1, record:0) * Number of multi strong components: ............ 4 (algorithm:0, when:4, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, 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: ........... 49 (scalar:44, array:3, record:2) * Number of multi strong components: ............ 4 (algorithm:4, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001602/0.01853, allocations: 39.31 kB / 0.6865 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of SimCode: time 0.003378/0.02192, allocations: 2.657 MB / 0.6891 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of Templates: time 0.007947/0.02988, allocations: 3.71 MB / 0.6927 GB, free: 1.301 MB / 0.5606 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow -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_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.o Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.c 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_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow -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_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_functions.o Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_functions.c Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_functions.c:45:37: error: use of undeclared identifier '_OMC_LIT0' tmpMeta3 = stringAppend(_OMC_LIT0,tmp2); ^ Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_functions.c:46:46: error: use of undeclared identifier '_OMC_LIT1' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT1); ^ Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_functions.c:49:46: error: use of undeclared identifier '_OMC_LIT2' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT2); ^ Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_functions.c:52:47: error: use of undeclared identifier '_OMC_LIT1' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT1); ^ 4 errors generated. make: *** [: Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_functions.o] Error 1