Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator") translateModel(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001095/0.001095, allocations: 106.2 kB / 16.42 MB, free: 6.469 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.001056/0.001057, allocations: 189.5 kB / 17.35 MB, free: 5.734 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.149/1.149, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002034/0.002034, allocations: 289.7 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8168/0.8168, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.391e-05/1.392e-05, allocations: 5.094 kB / 0.682 GB, free: 7 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.002215/0.002237, allocations: 1.78 MB / 0.6838 GB, free: 5.207 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.003571, allocations: 1.019 MB / 0.6848 GB, free: 4.18 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.083e-05/0.003652, allocations: 7.938 kB / 0.6848 GB, free: 4.172 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004785/0.004137, allocations: 166.3 kB / 0.6849 GB, free: 4.012 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002262/0.004372, allocations: 115.6 kB / 0.685 GB, free: 3.898 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003424/0.004724, allocations: 162.8 kB / 0.6852 GB, free: 3.742 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000196/0.004932, allocations: 183.5 kB / 0.6854 GB, free: 3.562 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.939e-05/0.005028, allocations: 25.09 kB / 0.6854 GB, free: 3.539 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.343e-05/0.005128, allocations: 67.77 kB / 0.6855 GB, free: 3.473 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.88e-05/0.005236, allocations: 71.75 kB / 0.6855 GB, free: 3.402 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.005261, allocations: 8 kB / 0.6855 GB, free: 3.395 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.005375, allocations: 67.89 kB / 0.6856 GB, free: 3.328 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0001216/0.005504, allocations: 193.9 kB / 0.6858 GB, free: 3.137 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 5.611e-05/0.005565, allocations: 118.3 kB / 0.6859 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.954e-05/0.0056, allocations: 19.94 kB / 0.6859 GB, free: 3 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.566e-05/0.00562, allocations: 7.938 kB / 0.6859 GB, free: 2.992 MB / 494.1 MB 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.0005064/0.006131, allocations: 0.5622 MB / 0.6865 GB, free: 2.324 MB / 494.1 MB Notification: Performance of FunctionAlias: time 4.3e-05/0.00618, allocations: 22.75 kB / 0.6865 GB, free: 2.305 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0001544/0.00634, allocations: 192.2 kB / 0.6867 GB, free: 2.09 MB / 494.1 MB Notification: Performance of simplify1: time 1.672e-05/0.006363, allocations: 7.984 kB / 0.6867 GB, free: 2.082 MB / 494.1 MB Notification: Performance of Alias: time 0.0003124/0.00668, allocations: 254.1 kB / 0.6869 GB, free: 1.781 MB / 494.1 MB Notification: Performance of simplify2: time 9.538e-06/0.0067, allocations: 7.984 kB / 0.6869 GB, free: 1.773 MB / 494.1 MB Notification: Performance of Events: time 6.679e-05/0.006771, allocations: 39.84 kB / 0.687 GB, free: 1.734 MB / 494.1 MB Notification: Performance of Detect States: time 0.0001195/0.006898, allocations: 97.2 kB / 0.6871 GB, free: 1.625 MB / 494.1 MB Notification: Performance of Partitioning: time 8.047e-05/0.006986, allocations: 88.14 kB / 0.6872 GB, free: 1.523 MB / 494.1 MB Notification: Performance of Causalize: time 0.0002871/0.007279, allocations: 256.1 kB / 0.6874 GB, free: 1.258 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001258/0.007413, allocations: 168.3 kB / 0.6876 GB, free: 1.066 MB / 494.1 MB Notification: Performance of Inline: time 0.0004392/0.007859, allocations: 0.4968 MB / 0.688 GB, free: 0.543 MB / 494.1 MB Notification: Performance of Partitioning: time 2.451e-05/0.007893, allocations: 28.11 kB / 0.6881 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of Cleanup: time 1.636e-05/0.007914, allocations: 11.98 kB / 0.6881 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of Causalize: time 0.2328/0.2407, allocations: 0.6864 MB / 0.6888 GB, free: 14.01 MB / 494.1 MB Notification: Performance of Tearing: time 8.586e-06/0.2408, allocations: 0.9688 kB / 0.6888 GB, free: 14.01 MB / 494.1 MB Notification: Performance of Initialization: time 1.042e-06/0.2408, allocations: 0.5312 kB / 0.6888 GB, free: 14.01 MB / 494.1 MB Notification: Performance of Tearing: time 3.466e-06/0.2408, allocations: 0.625 kB / 0.6888 GB, free: 14.01 MB / 494.1 MB Notification: Performance of Categorize: time 1.379e-05/0.2408, allocations: 3.344 kB / 0.6888 GB, free: 14.01 MB / 494.1 MB Notification: Performance of Solve: time 0.0001506/0.241, allocations: 61.55 kB / 0.6888 GB, free: 14.01 MB / 494.1 MB Notification: Performance of Jacobian: time 2.926e-06/0.241, allocations: 0.8438 kB / 0.6888 GB, free: 14.01 MB / 494.1 MB 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.75e-05/0.241, allocations: 24.73 kB / 0.6888 GB, free: 14.01 MB / 494.1 MB Notification: Performance of SimCode: time 0.001622/0.2427, allocations: 1.543 MB / 0.6903 GB, free: 13.13 MB / 494.1 MB Notification: Performance of Templates: time 0.004187/0.2469, allocations: 1.857 MB / 0.6922 GB, free: 12.97 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.makefile make -j1 -f BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.o BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator_functions.o BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator_functions.c BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator_functions.c:45:37: error: use of undeclared identifier '_OMC_LIT0' tmpMeta3 = stringAppend(_OMC_LIT0,tmp2); ^ BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator_functions.c:46:46: error: use of undeclared identifier '_OMC_LIT1' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT1); ^ BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator_functions.c:49:46: error: use of undeclared identifier '_OMC_LIT2' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT2); ^ BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator_functions.c:52:47: error: use of undeclared identifier '_OMC_LIT1' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT1); ^ 4 errors generated. make: *** [: BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator_functions.o] Error 1