Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator") translateModel(IDEAS.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001047/0.001047, allocations: 108.6 kB / 16.42 MB, free: 6.512 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.001026/0.001026, allocations: 187.2 kB / 17.35 MB, free: 5.754 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.114/1.114, allocations: 222.9 MB / 241 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6764/0.6764, allocations: 132.2 MB / 423.4 MB, free: 6.527 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.044e-05/1.045e-05, allocations: 4.531 kB / 0.582 GB, free: 24.1 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.001838/0.001857, allocations: 1.775 MB / 0.5837 GB, free: 22.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.002936, allocations: 1.026 MB / 0.5847 GB, free: 21.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.011e-05/0.003007, allocations: 3.031 kB / 0.5847 GB, free: 21.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004317/0.003444, allocations: 162.4 kB / 0.5849 GB, free: 21.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002089/0.003662, allocations: 106.1 kB / 0.585 GB, free: 21.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002982/0.00397, allocations: 174.6 kB / 0.5851 GB, free: 21.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.004155, allocations: 182.7 kB / 0.5853 GB, free: 21.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.736e-05/0.004249, allocations: 24.86 kB / 0.5853 GB, free: 21.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.543e-05/0.00434, allocations: 72.56 kB / 0.5854 GB, free: 21.49 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.453e-05/0.004431, allocations: 73.09 kB / 0.5855 GB, free: 21.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.004456, allocations: 12.44 kB / 0.5855 GB, free: 21.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.911e-05/0.004559, allocations: 55.88 kB / 0.5855 GB, free: 21.43 MB / 446.1 MB Notification: Performance of combineBinaries: time 9.648e-05/0.004663, allocations: 191.6 kB / 0.5857 GB, free: 21.29 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 4.241e-05/0.00471, allocations: 118.8 kB / 0.5858 GB, free: 21.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.673e-05/0.004741, allocations: 26.44 kB / 0.5858 GB, free: 21.19 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.785e-05/0.004764, allocations: 2.5 kB / 0.5859 GB, free: 21.19 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.0004122/0.00518, allocations: 0.5586 MB / 0.5864 GB, free: 20.68 MB / 446.1 MB Notification: Performance of FunctionAlias: time 3.701e-05/0.005223, allocations: 24.25 kB / 0.5864 GB, free: 20.66 MB / 446.1 MB Notification: Performance of Early Inline: time 0.0001214/0.00535, allocations: 191.8 kB / 0.5866 GB, free: 20.49 MB / 446.1 MB Notification: Performance of simplify1: time 1.507e-05/0.005371, allocations: 9.547 kB / 0.5866 GB, free: 20.48 MB / 446.1 MB Notification: Performance of Alias: time 0.0002651/0.005641, allocations: 253.7 kB / 0.5869 GB, free: 20.27 MB / 446.1 MB Notification: Performance of simplify2: time 8.726e-06/0.005658, allocations: 5.453 kB / 0.5869 GB, free: 20.27 MB / 446.1 MB Notification: Performance of Events: time 6.153e-05/0.005724, allocations: 41.64 kB / 0.5869 GB, free: 20.24 MB / 446.1 MB Notification: Performance of Detect States: time 0.0001029/0.005834, allocations: 94.98 kB / 0.587 GB, free: 20.15 MB / 446.1 MB Notification: Performance of Partitioning: time 6.609e-05/0.005907, allocations: 76.75 kB / 0.5871 GB, free: 20.09 MB / 446.1 MB Notification: Performance of Causalize: time 0.0002679/0.00618, allocations: 277.6 kB / 0.5873 GB, free: 19.96 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 9.573e-05/0.006283, allocations: 170 kB / 0.5875 GB, free: 19.81 MB / 446.1 MB Notification: Performance of Inline: time 0.0003556/0.006644, allocations: 487.7 kB / 0.588 GB, free: 19.45 MB / 446.1 MB Notification: Performance of Partitioning: time 2.197e-05/0.006675, allocations: 31.02 kB / 0.588 GB, free: 19.42 MB / 446.1 MB Notification: Performance of Cleanup: time 1.455e-05/0.006694, allocations: 14.64 kB / 0.588 GB, free: 19.41 MB / 446.1 MB Notification: Performance of Causalize: time 0.0006221/0.00732, allocations: 0.7066 MB / 0.5887 GB, free: 19.14 MB / 446.1 MB Notification: Performance of Tearing: time 5.08e-06/0.007334, allocations: 3.984 kB / 0.5887 GB, free: 19.13 MB / 446.1 MB Notification: Performance of Initialization: time 3.01e-07/0.007338, allocations: 5.312 kB / 0.5887 GB, free: 19.13 MB / 446.1 MB Notification: Performance of Tearing: time 9.22e-07/0.007343, allocations: 0 / 0.5887 GB, free: 19.13 MB / 446.1 MB Notification: Performance of Categorize: time 7.093e-06/0.007354, allocations: 5.406 kB / 0.5887 GB, free: 19.12 MB / 446.1 MB Notification: Performance of Solve: time 8.364e-05/0.007442, allocations: 59.12 kB / 0.5888 GB, free: 19.09 MB / 446.1 MB Notification: Performance of Jacobian: time 2.445e-06/0.00745, allocations: 0.875 kB / 0.5888 GB, free: 19.09 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 2.419e-05/0.007478, allocations: 28.88 kB / 0.5888 GB, free: 19.07 MB / 446.1 MB Notification: Performance of SimCode: time 0.001216/0.008699, allocations: 1.533 MB / 0.5903 GB, free: 17.87 MB / 446.1 MB Notification: Performance of Templates: time 0.003218/0.01193, allocations: 1.861 MB / 0.5921 GB, free: 16.02 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.makefile make -j1 -f IDEAS_IDEAS.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=IDEAS_IDEAS_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 IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.o IDEAS_IDEAS.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=IDEAS_IDEAS_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 IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator_functions.o IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator_functions.c IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator_functions.c:45:37: error: use of undeclared identifier '_OMC_LIT0' tmpMeta3 = stringAppend(_OMC_LIT0,tmp2); ^ IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator_functions.c:46:46: error: use of undeclared identifier '_OMC_LIT1' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT1); ^ IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator_functions.c:49:46: error: use of undeclared identifier '_OMC_LIT2' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT2); ^ IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator_functions.c:52:47: error: use of undeclared identifier '_OMC_LIT1' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT1); ^ 4 errors generated. make: *** [: IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator_functions.o] Error 1