Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator") translateModel(IBPSA.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001227/0.001227, allocations: 117.3 kB / 17.1 MB, free: 5.957 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.001293/0.001294, allocations: 192.8 kB / 18.03 MB, free: 5.035 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.559/1.559, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7822/0.7822, allocations: 115.3 MB / 407.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.571e-05/2.572e-05, allocations: 2.281 kB / 0.5583 GB, free: 32.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.003076/0.00311, allocations: 1.774 MB / 0.56 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.004971, allocations: 1.028 MB / 0.561 GB, free: 30.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.0051, allocations: 1.656 kB / 0.561 GB, free: 30.37 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008024/0.005909, allocations: 161.2 kB / 0.5612 GB, free: 30.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004301/0.006349, allocations: 112.7 kB / 0.5613 GB, free: 30.28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005653/0.006925, allocations: 178.9 kB / 0.5615 GB, free: 30.19 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000287/0.007223, allocations: 183 kB / 0.5616 GB, free: 30.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.00738, allocations: 23.94 kB / 0.5617 GB, free: 30.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.007524, allocations: 70.06 kB / 0.5617 GB, free: 30.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.007656, allocations: 69.5 kB / 0.5618 GB, free: 30.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.007687, allocations: 7.906 kB / 0.5618 GB, free: 30.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.007842, allocations: 57.03 kB / 0.5619 GB, free: 30.04 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0001817/0.008032, allocations: 196.9 kB / 0.562 GB, free: 29.91 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 8.247e-05/0.008122, allocations: 118.8 kB / 0.5622 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.06e-05/0.008169, allocations: 21.06 kB / 0.5622 GB, free: 29.81 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.379e-05/0.00821, allocations: 8.656 kB / 0.5622 GB, free: 29.81 MB / 446.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.0007537/0.00897, allocations: 0.5648 MB / 0.5627 GB, free: 29.32 MB / 446.1 MB Notification: Performance of FunctionAlias: time 6.282e-05/0.009042, allocations: 24.38 kB / 0.5628 GB, free: 29.3 MB / 446.1 MB Notification: Performance of Early Inline: time 0.0001936/0.009242, allocations: 188.7 kB / 0.5629 GB, free: 29.16 MB / 446.1 MB Notification: Performance of simplify1: time 2.341e-05/0.009272, allocations: 12.39 kB / 0.5629 GB, free: 29.16 MB / 446.1 MB Notification: Performance of Alias: time 0.0004365/0.009715, allocations: 253.7 kB / 0.5632 GB, free: 28.96 MB / 446.1 MB Notification: Performance of simplify2: time 1.105e-05/0.009737, allocations: 9.344 kB / 0.5632 GB, free: 28.95 MB / 446.1 MB Notification: Performance of Events: time 9.194e-05/0.009836, allocations: 35.91 kB / 0.5632 GB, free: 28.94 MB / 446.1 MB Notification: Performance of Detect States: time 0.00017/0.01001, allocations: 103.7 kB / 0.5633 GB, free: 28.86 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0001028/0.01012, allocations: 78.09 kB / 0.5634 GB, free: 28.8 MB / 446.1 MB Notification: Performance of Causalize: time 0.0003923/0.01052, allocations: 276 kB / 0.5637 GB, free: 28.7 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001449/0.01068, allocations: 162.7 kB / 0.5638 GB, free: 28.57 MB / 446.1 MB Notification: Performance of Inline: time 0.0005786/0.01126, allocations: 0.4896 MB / 0.5643 GB, free: 28.24 MB / 446.1 MB Notification: Performance of Partitioning: time 2.918e-05/0.0113, allocations: 28.28 kB / 0.5643 GB, free: 28.22 MB / 446.1 MB Notification: Performance of Cleanup: time 1.799e-05/0.01133, allocations: 8.656 kB / 0.5643 GB, free: 28.21 MB / 446.1 MB Notification: Performance of Causalize: time 0.0009116/0.01224, allocations: 0.6954 MB / 0.565 GB, free: 27.99 MB / 446.1 MB Notification: Performance of Tearing: time 1.062e-05/0.01226, allocations: 5.219 kB / 0.565 GB, free: 27.99 MB / 446.1 MB Notification: Performance of Initialization: time 5.81e-07/0.01227, allocations: 0 / 0.565 GB, free: 27.99 MB / 446.1 MB Notification: Performance of Tearing: time 3.056e-06/0.01228, allocations: 1.312 kB / 0.565 GB, free: 27.99 MB / 446.1 MB Notification: Performance of Categorize: time 9.307e-06/0.01229, allocations: 0 / 0.565 GB, free: 27.99 MB / 446.1 MB Notification: Performance of Solve: time 0.0001269/0.01242, allocations: 67.23 kB / 0.5651 GB, free: 27.96 MB / 446.1 MB Notification: Performance of Jacobian: time 3.687e-06/0.01244, allocations: 0 / 0.5651 GB, free: 27.96 MB / 446.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 4.452e-05/0.01249, allocations: 31.05 kB / 0.5651 GB, free: 27.94 MB / 446.1 MB Notification: Performance of SimCode: time 0.002083/0.01457, allocations: 1.532 MB / 0.5666 GB, free: 26.93 MB / 446.1 MB Notification: Performance of Templates: time 0.006808/0.0214, allocations: 1.827 MB / 0.5684 GB, free: 26.73 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.makefile make -j1 -f IBPSA_latest_IBPSA.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.o IBPSA_latest_IBPSA.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator_functions.o IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator_functions.c IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator_functions.c:45:37: error: use of undeclared identifier '_OMC_LIT0' tmpMeta3 = stringAppend(_OMC_LIT0,tmp2); ^ IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator_functions.c:46:46: error: use of undeclared identifier '_OMC_LIT1' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT1); ^ IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator_functions.c:49:46: error: use of undeclared identifier '_OMC_LIT2' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT2); ^ IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator_functions.c:52:47: error: use of undeclared identifier '_OMC_LIT1' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT1); ^ 4 errors generated. make: *** [: IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator_functions.o] Error 1