Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.Discrete.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 95.66 kB / 21.25 MB, free: 428 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002176/0.002176, allocations: 207.2 kB / 24.55 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.481/1.481, allocations: 230.6 MB / 258.3 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2322/0.2322, allocations: 46.97 MB / 361.7 MB, free: 3.996 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Discrete,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5106,variableFilter="time|firstOrderHold.c|firstOrderHold.firstTrigger|firstOrderHold.pre_uSample|firstOrderHold.tSample|firstOrderHold.uSample|sampler.firstTrigger|sampler.y|stateSpace.firstTrigger|stateSpace.x.1.|stateSpace.x.2.|stateSpace.y.1.|transferFunction.firstTrigger|transferFunction.x.1.|transferFunction.x1|transferFunction.xext.1.|transferFunction.xext.2.|transferFunction.y|triggeredMax.y|triggeredSampler.y|unitDelay.firstTrigger|unitDelay.u|unitDelay.y|zeroOrderHold.firstTrigger|zeroOrderHold.ySample",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.Discrete") translateModel(ModelicaTest.Blocks.Discrete,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5106,variableFilter="time|firstOrderHold.c|firstOrderHold.firstTrigger|firstOrderHold.pre_uSample|firstOrderHold.tSample|firstOrderHold.uSample|sampler.firstTrigger|sampler.y|stateSpace.firstTrigger|stateSpace.x.1.|stateSpace.x.2.|stateSpace.y.1.|transferFunction.firstTrigger|transferFunction.x.1.|transferFunction.x1|transferFunction.xext.1.|transferFunction.xext.2.|transferFunction.y|triggeredMax.y|triggeredSampler.y|unitDelay.firstTrigger|unitDelay.u|unitDelay.y|zeroOrderHold.firstTrigger|zeroOrderHold.ySample",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.Discrete") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.285e-05, allocations: 2.281 kB / 0.4974 GB, free: 7.227 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Discrete): time 0.003297/0.003319, allocations: 1.887 MB / 0.4992 GB, free: 5.328 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.004677, allocations: 0.6817 MB / 0.4999 GB, free: 4.641 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.971e-05/0.004767, allocations: 7.938 kB / 0.4999 GB, free: 4.633 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002145/0.004981, allocations: 35.7 kB / 0.5 GB, free: 4.598 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001284/0.005109, allocations: 75.47 kB / 0.5 GB, free: 4.523 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004216/0.005531, allocations: 119.7 kB / 0.5001 GB, free: 4.406 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003757/0.005907, allocations: 335 kB / 0.5005 GB, free: 4.078 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.006077, allocations: 36.56 kB / 0.5005 GB, free: 4.039 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002429/0.00632, allocations: 139.6 kB / 0.5006 GB, free: 3.902 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002189/0.006539, allocations: 147.3 kB / 0.5008 GB, free: 3.758 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.538e-05/0.006585, allocations: 20 kB / 0.5008 GB, free: 3.738 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.533e-05/0.00665, allocations: 24 kB / 0.5008 GB, free: 3.715 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0004385/0.007088, allocations: 479.3 kB / 0.5013 GB, free: 3.242 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001914/0.00728, allocations: 280.3 kB / 0.5015 GB, free: 2.965 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.529e-05/0.007325, allocations: 16 kB / 0.5015 GB, free: 2.949 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.37e-05/0.007359, allocations: 15.88 kB / 0.5016 GB, free: 2.934 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 (42) * Number of variables: 44 (42) Notification: Performance of [SIM] Bindings: time 0.001426/0.008784, allocations: 1.241 MB / 0.5028 GB, free: 1.566 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001423/0.008927, allocations: 121.2 kB / 0.5029 GB, free: 1.434 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.0007661/0.009693, allocations: 0.7482 MB / 0.5036 GB, free: 0.6602 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002559/0.009949, allocations: 160.5 kB / 0.5038 GB, free: 468 kB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.0009881/0.01094, allocations: 0.6654 MB / 0.5044 GB, free: 15.72 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002097/0.01115, allocations: 164.5 kB / 0.5046 GB, free: 15.51 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001258/0.01127, allocations: 106.9 kB / 0.5047 GB, free: 15.38 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.0005117/0.01178, allocations: 386.1 kB / 0.5051 GB, free: 14.95 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.0001703/0.01195, allocations: 103.4 kB / 0.5051 GB, free: 14.85 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004229/0.01238, allocations: 327.4 kB / 0.5055 GB, free: 14.52 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.0009034/0.01328, allocations: 0.5862 MB / 0.506 GB, free: 13.93 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0006069/0.01389, allocations: 0.6204 MB / 0.5066 GB, free: 13.3 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.0008095/0.0147, allocations: 0.5033 MB / 0.5071 GB, free: 12.72 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.0009793/0.01568, allocations: 0.9833 MB / 0.5081 GB, free: 11.73 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 5.289e-05/0.01573, allocations: 35.98 kB / 0.5081 GB, free: 11.69 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.0001427/0.01587, allocations: 151.8 kB / 0.5083 GB, free: 11.54 MB / 382.1 MB Notification: Performance of [INI] Causalize: time 0.00223/0.0181, allocations: 1.597 MB / 0.5098 GB, free: 9.934 MB / 382.1 MB Notification: Performance of [INI] Tearing: time 3.65e-05/0.01814, allocations: 40 kB / 0.5099 GB, free: 9.895 MB / 382.1 MB Notification: Performance of [SIM] Initialization: time 4.61e-07/0.01814, allocations: 4 kB / 0.5099 GB, free: 9.891 MB / 382.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0001086/0.01825, allocations: 58.95 kB / 0.5099 GB, free: 9.828 MB / 382.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.096e-06/0.01826, allocations: 384 / 0.5099 GB, free: 9.824 MB / 382.1 MB Notification: Performance of [SIM] Tearing: time 2.03e-05/0.01828, allocations: 24 kB / 0.51 GB, free: 9.801 MB / 382.1 MB Notification: Performance of [SIM] Categorize: time 9.358e-06/0.01829, allocations: 4 kB / 0.51 GB, free: 9.797 MB / 382.1 MB Notification: Performance of [SIM] Solve: time 0.0005389/0.01882, allocations: 377.6 kB / 0.5103 GB, free: 9.434 MB / 382.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001815/0.01901, allocations: 190 kB / 0.5105 GB, free: 9.215 MB / 382.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: ......... 1 * 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: .................... 24 (22) {triggeredMax.y, booleanPulse.pulseStart, triggeredSampler.y, stateSpace.firstTrigger, stateSpace.y, stateSpace.x, transferFunction.firstTrigger, transferFunction.y, transferFunction.x, transferFunction.xext, transferFunction.x1, unitDelay.firstTrigger, unitDelay.y, firstOrderHold.firstTrigger, firstOrderHold.c, firstOrderHold.pre_uSample, firstOrderHold.uSample, firstOrderHold.tSample, zeroOrderHold.firstTrigger, zeroOrderHold.ySample, sampler.firstTrigger, sampler.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 18 (18) {sampler.sampleTrigger, zeroOrderHold.sampleTrigger, firstOrderHold.sampleTrigger, unitDelay.sampleTrigger, transferFunction.sampleTrigger, stateSpace.sampleTrigger, triggeredSampler.trigger, $SEV_0, $TEV_9, $TEV_8, $TEV_7, $TEV_6, $TEV_5, $TEV_4, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Warning: Cannot classify strong component: BLOCK: Sliced Component (status = Solve.EXPLICIT, size = 2) ------------------------------------------------------------- ### Variable: transferFunction.xext ### Equation: [WHEN] (2) ($RES_SIM_20) [----] when transferFunction.sampleTrigger then [----] transferFunction.xext := {transferFunction.x1, $PRE.transferFunction.x} [----] end when; Warning: Cannot classify strong component: BLOCK: Sliced Component (status = Solve.EXPLICIT, size = 2) ------------------------------------------------------------- ### Variable: stateSpace.x ### Equation: [WHEN] (2) ($RES_SIM_15) [----] when stateSpace.sampleTrigger then [----] stateSpace.x := stateSpace.A * $PRE.stateSpace.x + stateSpace.B * stateSpace.u [----] end when; Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 23 (scalar:23, array:0, record:0) * Number of multi strong components: ............ 20 (algorithm:0, when:20, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 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: ........... 73 (scalar:65, array:8, record:0) * Number of multi strong components: ............ 2 (algorithm:2, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001632/0.01917, allocations: 72.95 kB / 0.5106 GB, free: 9.164 MB / 382.1 MB Notification: Performance of SimCode: time 0.001245/0.02041, allocations: 0.8151 MB / 0.5114 GB, free: 8.316 MB / 382.1 MB Notification: Performance of Templates: time 0.005759/0.02617, allocations: 2.103 MB / 0.5134 GB, free: 6.227 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Discrete.makefile [Timeout 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Discrete.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_1_0_ModelicaTest_Blocks_Discrete -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 ModelicaTest_4.1.0_ModelicaTest.Blocks.Discrete.o ModelicaTest_4.1.0_ModelicaTest.Blocks.Discrete.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_1_0_ModelicaTest_Blocks_Discrete -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 ModelicaTest_4.1.0_ModelicaTest.Blocks.Discrete_functions.o ModelicaTest_4.1.0_ModelicaTest.Blocks.Discrete_functions.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_1_0_ModelicaTest_Blocks_Discrete -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 ModelicaTest_4.1.0_ModelicaTest.Blocks.Discrete_records.o ModelicaTest_4.1.0_ModelicaTest.Blocks.Discrete_records.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_1_0_ModelicaTest_Blocks_Discrete -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 ModelicaTest_4.1.0_ModelicaTest.Blocks.Discrete_01exo.o ModelicaTest_4.1.0_ModelicaTest.Blocks.Discrete_01exo.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_1_0_ModelicaTest_Blocks_Discrete -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 ModelicaTest_4.1.0_ModelicaTest.Blocks.Discrete_02nls.o ModelicaTest_4.1.0_ModelicaTest.Blocks.Discrete_02nls.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_1_0_ModelicaTest_Blocks_Discrete -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 ModelicaTest_4.1.0_ModelicaTest.Blocks.Discrete_03lsy.o ModelicaTest_4.1.0_ModelicaTest.Blocks.Discrete_03lsy.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_1_0_ModelicaTest_Blocks_Discrete -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 ModelicaTest_4.1.0_ModelicaTest.Blocks.Discrete_04set.o ModelicaTest_4.1.0_ModelicaTest.Blocks.Discrete_04set.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_1_0_ModelicaTest_Blocks_Discrete -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 ModelicaTest_4.1.0_ModelicaTest.Blocks.Discrete_05evt.o ModelicaTest_4.1.0_ModelicaTest.Blocks.Discrete_05evt.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_1_0_ModelicaTest_Blocks_Discrete -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 ModelicaTest_4.1.0_ModelicaTest.Blocks.Discrete_06inz.o ModelicaTest_4.1.0_ModelicaTest.Blocks.Discrete_06inz.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_1_0_ModelicaTest_Blocks_Discrete -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 ModelicaTest_4.1.0_ModelicaTest.Blocks.Discrete_07dly.o ModelicaTest_4.1.0_ModelicaTest.Blocks.Discrete_07dly.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_1_0_ModelicaTest_Blocks_Discrete -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 ModelicaTest_4.1.0_ModelicaTest.Blocks.Discrete_08bnd.o ModelicaTest_4.1.0_ModelicaTest.Blocks.Discrete_08bnd.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_1_0_ModelicaTest_Blocks_Discrete -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 ModelicaTest_4.1.0_ModelicaTest.Blocks.Discrete_09alg.o ModelicaTest_4.1.0_ModelicaTest.Blocks.Discrete_09alg.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_1_0_ModelicaTest_Blocks_Discrete -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 ModelicaTest_4.1.0_ModelicaTest.Blocks.Discrete_10asr.o ModelicaTest_4.1.0_ModelicaTest.Blocks.Discrete_10asr.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_1_0_ModelicaTest_Blocks_Discrete -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 ModelicaTest_4.1.0_ModelicaTest.Blocks.Discrete_11mix.o ModelicaTest_4.1.0_ModelicaTest.Blocks.Discrete_11mix.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_1_0_ModelicaTest_Blocks_Discrete -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 ModelicaTest_4.1.0_ModelicaTest.Blocks.Discrete_12jac.o ModelicaTest_4.1.0_ModelicaTest.Blocks.Discrete_12jac.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_1_0_ModelicaTest_Blocks_Discrete -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 ModelicaTest_4.1.0_ModelicaTest.Blocks.Discrete_13opt.o ModelicaTest_4.1.0_ModelicaTest.Blocks.Discrete_13opt.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_1_0_ModelicaTest_Blocks_Discrete -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 ModelicaTest_4.1.0_ModelicaTest.Blocks.Discrete_14lnz.o ModelicaTest_4.1.0_ModelicaTest.Blocks.Discrete_14lnz.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_1_0_ModelicaTest_Blocks_Discrete -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 ModelicaTest_4.1.0_ModelicaTest.Blocks.Discrete_15syn.o ModelicaTest_4.1.0_ModelicaTest.Blocks.Discrete_15syn.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_1_0_ModelicaTest_Blocks_Discrete -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 ModelicaTest_4.1.0_ModelicaTest.Blocks.Discrete_16dae.o ModelicaTest_4.1.0_ModelicaTest.Blocks.Discrete_16dae.c ModelicaTest_4.1.0_ModelicaTest.Blocks.Discrete_16dae.c:30:183: error: operand of type 'real_array' (aka 'struct base_array_s') where arithmetic or pointer type is required array_alloc_scalar_real_array(&tmp0, 2, (modelica_real)(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[17]] /* transferFunction.x1 DISCRETE */), (modelica_real)tmp1); ^~~~ 1 error generated. make: *** [: ModelicaTest_4.1.0_ModelicaTest.Blocks.Discrete_16dae.o] Error 1 [Calling os._exit(0), Time elapsed: 4.768718479026575] Failed to read output from testmodel.py, exit status != 0: ['time', 'firstOrderHold.c', 'firstOrderHold.firstTrigger', 'firstOrderHold.pre_uSample', 'firstOrderHold.tSample', 'firstOrderHold.uSample', 'sampler.firstTrigger', 'sampler.y', 'stateSpace.firstTrigger', 'stateSpace.x[1]', 'stateSpace.x[2]', 'stateSpace.y[1]', 'transferFunction.firstTrigger', 'transferFunction.x[1]', 'transferFunction.x1', 'transferFunction.xext[1]', 'transferFunction.xext[2]', 'transferFunction.y', 'triggeredMax.y', 'triggeredSampler.y', 'unitDelay.firstTrigger', 'unitDelay.u', 'unitDelay.y', 'zeroOrderHold.firstTrigger', 'zeroOrderHold.ySample'] 0.03447710699401796 0.312426023 0.302208403 Calling exit ...