Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001146/0.001146, allocations: 106.4 kB / 16.42 MB, free: 5.938 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.001105/0.001105, allocations: 191.3 kB / 17.36 MB, free: 5.555 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.202/1.202, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.975/1.975, allocations: 390.2 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.61e-05/1.612e-05, allocations: 2.281 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002537/0.002561, allocations: 1.781 MB / 0.9532 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.00402, allocations: 1.022 MB / 0.9542 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.716e-05/0.004098, allocations: 4 kB / 0.9542 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004913/0.004595, allocations: 171.5 kB / 0.9544 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002605/0.004873, allocations: 111.6 kB / 0.9545 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003509/0.005233, allocations: 163.3 kB / 0.9546 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002552/0.005498, allocations: 183.5 kB / 0.9548 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.909e-05/0.005607, allocations: 25.09 kB / 0.9548 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.005726, allocations: 75.7 kB / 0.9549 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.359e-05/0.005826, allocations: 71.73 kB / 0.955 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.582e-05/0.005858, allocations: 8 kB / 0.955 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.005973, allocations: 63.97 kB / 0.955 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.00015/0.00613, allocations: 189.8 kB / 0.9552 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 7.205e-05/0.006208, allocations: 126.3 kB / 0.9553 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.694e-05/0.00624, allocations: 11.94 kB / 0.9553 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.531e-05/0.00626, allocations: 4 kB / 0.9553 GB, free: 3.668 MB / 0.7325 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.000554/0.006818, allocations: 0.5621 MB / 0.9559 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 4.282e-05/0.006866, allocations: 25.75 kB / 0.9559 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of Early Inline: time 0.0002202/0.007092, allocations: 192.2 kB / 0.9561 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of simplify1: time 1.596e-05/0.007114, allocations: 7.984 kB / 0.9561 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of Alias: time 0.000324/0.007444, allocations: 250.1 kB / 0.9564 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of simplify2: time 1.068e-05/0.007464, allocations: 7.984 kB / 0.9564 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of Detect States: time 0.0001234/0.007594, allocations: 86.12 kB / 0.9564 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of Events: time 6.461e-05/0.007666, allocations: 39.89 kB / 0.9565 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of Partitioning: time 8.297e-05/0.007756, allocations: 80.22 kB / 0.9566 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0003181/0.00808, allocations: 295.5 kB / 0.9568 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 0.0001357/0.008223, allocations: 164.3 kB / 0.957 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of Inline: time 0.0004676/0.008697, allocations: 485.8 kB / 0.9575 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of Partitioning: time 3.069e-05/0.008736, allocations: 44.03 kB / 0.9575 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of Cleanup: time 1.816e-05/0.008759, allocations: 11.98 kB / 0.9575 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0007058/0.00947, allocations: 0.7021 MB / 0.9582 GB, free: 472 kB / 0.7325 GB Notification: Performance of Tearing: time 7.134e-06/0.009486, allocations: 0 / 0.9582 GB, free: 472 kB / 0.7325 GB Notification: Performance of Initialization: time 3.31e-07/0.009491, allocations: 0 / 0.9582 GB, free: 472 kB / 0.7325 GB Notification: Performance of Tearing: time 1.212e-06/0.009496, allocations: 0 / 0.9582 GB, free: 472 kB / 0.7325 GB Notification: Performance of Categorize: time 6.281e-06/0.009505, allocations: 0 / 0.9582 GB, free: 472 kB / 0.7325 GB Notification: Performance of Solve: time 9.543e-05/0.009604, allocations: 64.06 kB / 0.9583 GB, free: 408 kB / 0.7325 GB Notification: Performance of Jacobian: time 2.244e-06/0.009615, allocations: 4 kB / 0.9583 GB, free: 404 kB / 0.7325 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.21e-05/0.009651, allocations: 30.12 kB / 0.9583 GB, free: 372 kB / 0.7325 GB Notification: Performance of SimCode: time 0.001556/0.01121, allocations: 1.539 MB / 0.9598 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of Templates: time 0.003862/0.01509, allocations: 1.821 MB / 0.9616 GB, free: 13.13 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile make -j1 -f Buildings_9_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_9_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_9_Buildings.Utilities.Math.Examples.BooleanReplicator.o Buildings_9_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_9_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_9_Buildings.Utilities.Math.Examples.BooleanReplicator_functions.o Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator_functions.c Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator_functions.c:45:37: error: use of undeclared identifier '_OMC_LIT0' tmpMeta3 = stringAppend(_OMC_LIT0,tmp2); ^ Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator_functions.c:46:46: error: use of undeclared identifier '_OMC_LIT1' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT1); ^ Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator_functions.c:49:46: error: use of undeclared identifier '_OMC_LIT2' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT2); ^ Buildings_9_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_9_Buildings.Utilities.Math.Examples.BooleanReplicator_functions.o] Error 1