Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.|booRep.y.4.",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.|booRep.y.4.",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 109.2 kB / 16.42 MB, free: 6.047 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.001322/0.001321, allocations: 193.5 kB / 17.36 MB, free: 5.617 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.116/1.116, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.067/2.067, allocations: 437 MB / 0.7112 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.113e-05/1.115e-05, allocations: 2.281 kB / 1.019 GB, free: 9.5 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002285/0.002304, allocations: 1.789 MB / 1.021 GB, free: 7.699 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.003637, allocations: 1.018 MB / 1.022 GB, free: 6.672 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.643e-05/0.003715, allocations: 8 kB / 1.022 GB, free: 6.664 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0004652/0.004186, allocations: 160 kB / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002381/0.004433, allocations: 115.6 kB / 1.022 GB, free: 6.395 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003433/0.004787, allocations: 176.4 kB / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.004996, allocations: 175.6 kB / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.042e-05/0.005093, allocations: 33.08 kB / 1.023 GB, free: 6.023 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.031e-05/0.005191, allocations: 75.7 kB / 1.023 GB, free: 5.949 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.251e-05/0.00529, allocations: 71.69 kB / 1.023 GB, free: 5.879 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.005318, allocations: 8 kB / 1.023 GB, free: 5.871 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.005437, allocations: 67.94 kB / 1.023 GB, free: 5.805 MB / 0.795 GB Notification: Performance of combineBinaries: time 0.0001378/0.005581, allocations: 185.9 kB / 1.023 GB, free: 5.621 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 5.527e-05/0.005643, allocations: 118.3 kB / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.543e-05/0.005673, allocations: 11.94 kB / 1.023 GB, free: 5.492 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.334e-05/0.0057, allocations: 7.938 kB / 1.023 GB, free: 5.484 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 (9) * Number of variables: 12 (9) Notification: Performance of Bindings: time 0.0005395/0.006244, allocations: 0.5661 MB / 1.024 GB, free: 4.816 MB / 0.795 GB Notification: Performance of FunctionAlias: time 4.718e-05/0.006296, allocations: 20.86 kB / 1.024 GB, free: 4.797 MB / 0.795 GB Notification: Performance of Early Inline: time 0.0001667/0.006469, allocations: 204.2 kB / 1.024 GB, free: 4.57 MB / 0.795 GB Notification: Performance of simplify1: time 1.313e-05/0.006489, allocations: 0 / 1.024 GB, free: 4.57 MB / 0.795 GB Notification: Performance of Alias: time 0.0003136/0.006806, allocations: 258.1 kB / 1.024 GB, free: 4.262 MB / 0.795 GB Notification: Performance of simplify2: time 9.497e-06/0.006824, allocations: 7.984 kB / 1.024 GB, free: 4.254 MB / 0.795 GB Notification: Performance of Detect States: time 0.0001062/0.006934, allocations: 76.14 kB / 1.024 GB, free: 4.168 MB / 0.795 GB Notification: Performance of Events: time 7.048e-05/0.007012, allocations: 47.88 kB / 1.024 GB, free: 4.121 MB / 0.795 GB Notification: Performance of Partitioning: time 7.506e-05/0.007094, allocations: 76.23 kB / 1.024 GB, free: 4.031 MB / 0.795 GB Notification: Performance of Causalize: time 0.0003026/0.007403, allocations: 289 kB / 1.025 GB, free: 3.734 MB / 0.795 GB Notification: Performance of After Index Reduction Inline: time 0.0001302/0.007541, allocations: 160.5 kB / 1.025 GB, free: 3.551 MB / 0.795 GB Notification: Performance of Inline: time 0.001441/0.008988, allocations: 0.5524 MB / 1.025 GB, free: 3 MB / 0.795 GB Notification: Performance of Partitioning: time 2.752e-05/0.009026, allocations: 32.06 kB / 1.025 GB, free: 2.961 MB / 0.795 GB Notification: Performance of Cleanup: time 1.705e-05/0.009049, allocations: 11.97 kB / 1.025 GB, free: 2.949 MB / 0.795 GB Notification: Performance of Causalize: time 0.000711/0.009765, allocations: 0.7105 MB / 1.026 GB, free: 2.234 MB / 0.795 GB Notification: Performance of Tearing: time 1.158e-05/0.009784, allocations: 0 / 1.026 GB, free: 2.234 MB / 0.795 GB Notification: Performance of Initialization: time 1.994e-06/0.009791, allocations: 4 kB / 1.026 GB, free: 2.23 MB / 0.795 GB Notification: Performance of Tearing: time 1.914e-06/0.009796, allocations: 0 / 1.026 GB, free: 2.23 MB / 0.795 GB Notification: Performance of Categorize: time 7.844e-06/0.009807, allocations: 3.938 kB / 1.026 GB, free: 2.227 MB / 0.795 GB Notification: Performance of Solve: time 0.0001021/0.009913, allocations: 64.08 kB / 1.026 GB, free: 2.164 MB / 0.795 GB Notification: Performance of Jacobian: time 1.983e-06/0.009921, allocations: 0 / 1.026 GB, free: 2.164 MB / 0.795 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: ......... 2 * 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: .................... 2 (2) {booTab.combiTimeTable.nextTimeEvent, booTab.combiTimeTable.nextTimeEventScaled} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 9 (6) {booRep.u, booRep.y, $SEV_2, $SEV_1, $SEV_0, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 9 (scalar:8, array:1, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, 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: ........... 19 (scalar:16, array:2, record:1) * Number of multi strong components: ............ 2 (algorithm:2, 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 2.834e-05/0.009955, allocations: 36.58 kB / 1.026 GB, free: 2.145 MB / 0.795 GB Notification: Performance of SimCode: time 0.001521/0.01148, allocations: 1.552 MB / 1.028 GB, free: 0.7188 MB / 0.795 GB Notification: Performance of Templates: time 0.003888/0.01538, allocations: 1.821 MB / 1.029 GB, free: 14.9 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.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_10_Buildings_Utilities_Math_Examples_BooleanReplicator -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_10_Buildings.Utilities.Math.Examples.BooleanReplicator.o Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.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_10_Buildings_Utilities_Math_Examples_BooleanReplicator -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_10_Buildings.Utilities.Math.Examples.BooleanReplicator_functions.o Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator_functions.c Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator_functions.c:45:37: error: use of undeclared identifier '_OMC_LIT0' tmpMeta3 = stringAppend(_OMC_LIT0,tmp2); ^ Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator_functions.c:46:46: error: use of undeclared identifier '_OMC_LIT1' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT1); ^ Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator_functions.c:49:46: error: use of undeclared identifier '_OMC_LIT2' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT2); ^ Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator_functions.c:52:47: error: use of undeclared identifier '_OMC_LIT1' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT1); ^ 4 errors generated. make: *** [: Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator_functions.o] Error 1