Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001142/0.001142, allocations: 114.8 kB / 16.43 MB, free: 6.504 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.001112/0.001112, allocations: 187.2 kB / 17.36 MB, free: 5.715 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.219/1.219, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.281/2.281, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.061e-05/2.062e-05, allocations: 2.5 kB / 1.055 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002776/0.002805, allocations: 1.79 MB / 1.056 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001555/0.004372, allocations: 1.033 MB / 1.057 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.004494, allocations: 3.938 kB / 1.057 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005647/0.005067, allocations: 163.5 kB / 1.058 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002922/0.005379, allocations: 103.6 kB / 1.058 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004548/0.005844, allocations: 187 kB / 1.058 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002438/0.006097, allocations: 179.5 kB / 1.058 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.00621, allocations: 21.12 kB / 1.058 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.006346, allocations: 75.73 kB / 1.058 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.006466, allocations: 67.7 kB / 1.058 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.006498, allocations: 8 kB / 1.058 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001534/0.006656, allocations: 67.89 kB / 1.058 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.000136/0.006799, allocations: 182 kB / 1.058 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 7.296e-05/0.006878, allocations: 122.3 kB / 1.059 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.566e-05/0.006918, allocations: 19.94 kB / 1.059 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.739e-05/0.00695, allocations: 3.938 kB / 1.059 GB, free: 3.734 MB / 0.8262 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.0006107/0.007568, allocations: 0.5661 MB / 1.059 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 5.654e-05/0.00763, allocations: 23.91 kB / 1.059 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0001754/0.007811, allocations: 184.3 kB / 1.059 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of simplify1: time 2.104e-05/0.007839, allocations: 7.984 kB / 1.059 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of Alias: time 0.0003783/0.008222, allocations: 262.1 kB / 1.06 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of simplify2: time 1.105e-05/0.008251, allocations: 4 kB / 1.06 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of Events: time 7.909e-05/0.008335, allocations: 43.89 kB / 1.06 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of Detect States: time 0.0001516/0.008494, allocations: 101.8 kB / 1.06 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of Partitioning: time 9.954e-05/0.008602, allocations: 72.22 kB / 1.06 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0003185/0.008926, allocations: 264.7 kB / 1.06 GB, free: 1.996 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 0.0001426/0.009077, allocations: 172.5 kB / 1.06 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of Inline: time 0.0005277/0.009611, allocations: 488.8 kB / 1.061 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of Partitioning: time 2.935e-05/0.009651, allocations: 32.11 kB / 1.061 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of Cleanup: time 2.319e-05/0.009681, allocations: 15.98 kB / 1.061 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0007692/0.01045, allocations: 0.7051 MB / 1.061 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of Tearing: time 1.024e-05/0.01047, allocations: 3.984 kB / 1.061 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of Initialization: time 6.42e-07/0.01048, allocations: 4 kB / 1.061 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of Tearing: time 1.693e-06/0.01048, allocations: 0 / 1.061 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of Categorize: time 1.094e-05/0.0105, allocations: 11.94 kB / 1.061 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of Solve: time 0.0001115/0.01062, allocations: 52.14 kB / 1.061 GB, free: 464 kB / 0.8262 GB Notification: Performance of Jacobian: time 3.577e-06/0.01063, allocations: 0 / 1.061 GB, free: 464 kB / 0.8262 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 3.514e-05/0.01067, allocations: 21.03 kB / 1.061 GB, free: 452 kB / 0.8262 GB Notification: Performance of SimCode: time 0.001783/0.01246, allocations: 1.537 MB / 1.063 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of Templates: time 0.004454/0.01692, allocations: 1.839 MB / 1.065 GB, free: 13.2 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile make -j1 -f Buildings_latest_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_latest_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_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.o Buildings_latest_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_latest_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_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_functions.o Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_functions.c Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_functions.c:45:37: error: use of undeclared identifier '_OMC_LIT0' tmpMeta3 = stringAppend(_OMC_LIT0,tmp2); ^ Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_functions.c:46:46: error: use of undeclared identifier '_OMC_LIT1' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT1); ^ Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_functions.c:49:46: error: use of undeclared identifier '_OMC_LIT2' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT2); ^ Buildings_latest_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_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_functions.o] Error 1