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.001188/0.001188, allocations: 115 kB / 16.43 MB, free: 6.035 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.001219/0.001219, allocations: 178.2 kB / 17.35 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.513/1.513, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002142/0.002142, allocations: 291.1 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.047/1.047, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/2.385e-05, allocations: 2.281 kB / 0.682 GB, free: 7.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.003858/0.003895, allocations: 1.78 MB / 0.6838 GB, free: 5.242 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001964/0.005882, allocations: 1.027 MB / 0.6848 GB, free: 4.207 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000166/0.006065, allocations: 0 / 0.6848 GB, free: 4.207 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000748/0.006821, allocations: 163.5 kB / 0.6849 GB, free: 4.047 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003935/0.007226, allocations: 114.6 kB / 0.685 GB, free: 3.938 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006333/0.007873, allocations: 167.5 kB / 0.6852 GB, free: 3.773 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003273/0.00821, allocations: 187.5 kB / 0.6854 GB, free: 3.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.008358, allocations: 25.06 kB / 0.6854 GB, free: 3.566 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.008541, allocations: 79.67 kB / 0.6855 GB, free: 3.488 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.008686, allocations: 63.77 kB / 0.6855 GB, free: 3.426 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.804e-05/0.008722, allocations: 8 kB / 0.6855 GB, free: 3.418 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001907/0.00892, allocations: 63.95 kB / 0.6856 GB, free: 3.355 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0001716/0.0091, allocations: 193.8 kB / 0.6858 GB, free: 3.164 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 8.645e-05/0.009194, allocations: 118.3 kB / 0.6859 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.661e-05/0.009247, allocations: 15.94 kB / 0.6859 GB, free: 3.031 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.202e-05/0.009296, allocations: 4 kB / 0.6859 GB, free: 3.027 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.0007027/0.01, allocations: 0.5699 MB / 0.6865 GB, free: 2.352 MB / 494.1 MB Notification: Performance of FunctionAlias: time 7.156e-05/0.01008, allocations: 15.48 kB / 0.6865 GB, free: 2.34 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0002166/0.01031, allocations: 192.2 kB / 0.6867 GB, free: 2.125 MB / 494.1 MB Notification: Performance of simplify1: time 2.556e-05/0.01034, allocations: 11.98 kB / 0.6867 GB, free: 2.113 MB / 494.1 MB Notification: Performance of Alias: time 0.000468/0.01082, allocations: 258.1 kB / 0.6869 GB, free: 1.809 MB / 494.1 MB Notification: Performance of simplify2: time 1.618e-05/0.01084, allocations: 11.98 kB / 0.6869 GB, free: 1.797 MB / 494.1 MB Notification: Performance of Detect States: time 0.0001595/0.01101, allocations: 74.16 kB / 0.687 GB, free: 1.715 MB / 494.1 MB Notification: Performance of Events: time 0.0001191/0.01114, allocations: 39.91 kB / 0.6871 GB, free: 1.676 MB / 494.1 MB Notification: Performance of Partitioning: time 0.0001164/0.01126, allocations: 84.09 kB / 0.6871 GB, free: 1.578 MB / 494.1 MB Notification: Performance of Causalize: time 0.0003749/0.01164, allocations: 288 kB / 0.6874 GB, free: 1.281 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001539/0.01181, allocations: 168.5 kB / 0.6876 GB, free: 1.09 MB / 494.1 MB Notification: Performance of Inline: time 0.002077/0.01389, allocations: 0.5587 MB / 0.6881 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of Partitioning: time 3.841e-05/0.01394, allocations: 28.11 kB / 0.6881 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of Cleanup: time 2.745e-05/0.01397, allocations: 11.98 kB / 0.6882 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of Causalize: time 0.4701/0.4841, allocations: 0.6961 MB / 0.6888 GB, free: 14.07 MB / 494.1 MB Notification: Performance of Tearing: time 2.334e-05/0.4842, allocations: 3.375 kB / 0.6888 GB, free: 14.07 MB / 494.1 MB Notification: Performance of Initialization: time 1.954e-06/0.4842, allocations: 0.5625 kB / 0.6888 GB, free: 14.07 MB / 494.1 MB Notification: Performance of Tearing: time 6.221e-06/0.4842, allocations: 1.875 kB / 0.6888 GB, free: 14.07 MB / 494.1 MB Notification: Performance of Categorize: time 2.347e-05/0.4842, allocations: 1.234 kB / 0.6888 GB, free: 14.07 MB / 494.1 MB Notification: Performance of Solve: time 0.0002551/0.4845, allocations: 55.98 kB / 0.6889 GB, free: 14.07 MB / 494.1 MB Notification: Performance of Jacobian: time 4.459e-06/0.4845, allocations: 0 / 0.6889 GB, free: 14.07 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 6.03e-05/0.4846, allocations: 29.45 kB / 0.6889 GB, free: 14.07 MB / 494.1 MB Notification: Performance of SimCode: time 0.002443/0.487, allocations: 1.551 MB / 0.6904 GB, free: 13.18 MB / 494.1 MB Notification: Performance of Templates: time 0.006882/0.4939, allocations: 1.829 MB / 0.6922 GB, free: 13.04 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