Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Blocks.BooleanPulseN.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.001832/0.001832, allocations: 77.88 kB / 20.67 MB, free: 3.832 MB / 18.57 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.001971/0.001971, allocations: 165 kB / 24.07 MB, free: 444 kB / 18.57 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.691/1.691, allocations: 177.1 MB / 204.5 MB, free: 5.109 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo): time 0.0925/0.0925, allocations: 12.76 MB / 273.8 MB, free: 15.97 MB / 266.7 MB " [Timeout remaining time 180] Using package Bodylight with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/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(Bodylight.Blocks.BooleanPulseN,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Blocks.BooleanPulseN") translateModel(Bodylight.Blocks.BooleanPulseN,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Blocks.BooleanPulseN") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.092e-05/2.092e-05, allocations: 4.422 kB / 348 MB, free: 1.914 MB / 314.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Blocks.mo:1663:5-1664:39:writable] Warning: Parameter period has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Bodylight.Blocks.BooleanPulseN): time 0.002624/0.002645, allocations: 1.365 MB / 349.4 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008948/0.003539, allocations: 438.9 kB / 349.8 MB, free: 108 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.608e-05/0.003566, allocations: 0 / 349.8 MB, free: 108 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 3.435e-05/0.0036, allocations: 3.938 kB / 349.8 MB, free: 104 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.793e-05/0.003678, allocations: 3.938 kB / 349.8 MB, free: 100 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001167/0.003795, allocations: 11.92 kB / 349.8 MB, free: 88 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 8.361e-05/0.003878, allocations: 31.91 kB / 349.9 MB, free: 56 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.771e-05/0.003926, allocations: 3.984 kB / 349.9 MB, free: 52 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.533e-05/0.003991, allocations: 15.94 kB / 349.9 MB, free: 36 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.342e-05/0.004045, allocations: 11.98 kB / 349.9 MB, free: 24 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.25e-05/0.004067, allocations: 4 kB / 349.9 MB, free: 20 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.745e-06/0.004075, allocations: 0 / 349.9 MB, free: 20 kB / 314.7 MB Notification: Performance of combineBinaries: time 8.946e-05/0.004164, allocations: 39.72 kB / 349.9 MB, free: 15.98 MB / 330.7 MB Notification: Performance of replaceArrayConstructors: time 3.404e-05/0.004198, allocations: 27.8 kB / 350 MB, free: 15.95 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.378e-05/0.004212, allocations: 4 kB / 350 MB, free: 15.95 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.213e-05/0.004224, allocations: 3.938 kB / 350 MB, free: 15.95 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 (3) * Number of variables: 3 (3) Notification: Performance of [SIM] Bindings: time 0.0004702/0.004694, allocations: 253.3 kB / 350.2 MB, free: 15.58 MB / 330.7 MB Notification: Performance of [SIM] FunctionAlias: time 6.103e-05/0.004756, allocations: 31.94 kB / 350.2 MB, free: 15.55 MB / 330.7 MB Notification: Performance of [SIM] Early Inline: time 0.0001571/0.004913, allocations: 124.3 kB / 350.4 MB, free: 15.4 MB / 330.7 MB Notification: Performance of [SIM] Simplify 1: time 7.59e-05/0.004989, allocations: 44.36 kB / 350.4 MB, free: 15.33 MB / 330.7 MB Notification: Performance of [SIM] Alias: time 0.0001248/0.005113, allocations: 96.7 kB / 350.5 MB, free: 15.18 MB / 330.7 MB Notification: Performance of [SIM] Simplify 2: time 6.416e-05/0.005177, allocations: 44.3 kB / 350.5 MB, free: 15.11 MB / 330.7 MB Notification: Performance of [SIM] Remove Stream: time 6.221e-05/0.00524, allocations: 44.42 kB / 350.6 MB, free: 15.04 MB / 330.7 MB Notification: Performance of [SIM] Detect States: time 0.0002302/0.00547, allocations: 125 kB / 350.7 MB, free: 14.86 MB / 330.7 MB Notification: Performance of [SIM] Events: time 8.47e-05/0.005555, allocations: 35.8 kB / 350.7 MB, free: 14.82 MB / 330.7 MB Notification: Performance of [SIM] Partitioning: time 0.0001774/0.005732, allocations: 104.5 kB / 350.8 MB, free: 14.68 MB / 330.7 MB Notification: Performance of [SIM] Causalize: time 0.0001918/0.005924, allocations: 56.08 kB / 350.9 MB, free: 14.62 MB / 330.7 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.000136/0.00606, allocations: 119.9 kB / 351 MB, free: 14.5 MB / 330.7 MB Notification: Performance of [INI] Simplify: time 0.0002932/0.006353, allocations: 141.7 kB / 351.2 MB, free: 14.3 MB / 330.7 MB Notification: Performance of [INI] Inline: time 0.0001604/0.006513, allocations: 143.8 kB / 351.3 MB, free: 14.16 MB / 330.7 MB Notification: Performance of [INI] Partitioning: time 2.017e-05/0.006534, allocations: 12.12 kB / 351.3 MB, free: 14.14 MB / 330.7 MB Notification: Performance of [INI] Cleanup: time 3.188e-05/0.006565, allocations: 23.97 kB / 351.3 MB, free: 14.12 MB / 330.7 MB Notification: Performance of [INI] Causalize: time 0.0003183/0.006884, allocations: 178.5 kB / 351.5 MB, free: 13.94 MB / 330.7 MB Notification: Performance of [INI] Tearing: time 1.519e-05/0.006899, allocations: 8 kB / 351.5 MB, free: 13.93 MB / 330.7 MB Notification: Performance of [SIM] Initialization: time 4.61e-07/0.006899, allocations: 0 / 351.5 MB, free: 13.93 MB / 330.7 MB Notification: Performance of [SIM] Remove Dummies: time 2.554e-06/0.006902, allocations: 0 / 351.5 MB, free: 13.93 MB / 330.7 MB Notification: Performance of [SIM] Tearing: time 1.192e-06/0.006903, allocations: 0 / 351.5 MB, free: 13.93 MB / 330.7 MB Notification: Performance of [SIM] Categorize: time 5e-06/0.006908, allocations: 4 kB / 351.5 MB, free: 13.93 MB / 330.7 MB Notification: Performance of [SIM] Solve: time 8.668e-05/0.006995, allocations: 35.97 kB / 351.6 MB, free: 13.89 MB / 330.7 MB Notification: Performance of [SIM] Jacobian: time 9.387e-06/0.007004, allocations: 3.938 kB / 351.6 MB, free: 13.89 MB / 330.7 MB Notification: Performance of [SIM] Minimize Homotopy System: time 3.91e-07/0.007005, allocations: 4 kB / 351.6 MB, free: 13.88 MB / 330.7 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: .................... 2 (2) {count, pulseStart} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 4 (4) {y, $WC_1, $WC_0, $SEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 4 (scalar:4, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, 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: ........... 8 (scalar:8, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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 3.989e-05/0.007045, allocations: 24.86 kB / 351.6 MB, free: 13.86 MB / 330.7 MB Notification: Performance of SimCode: time 0.0003069/0.007351, allocations: 179.7 kB / 351.8 MB, free: 13.68 MB / 330.7 MB Notification: Performance of Templates: time 0.002865/0.01022, allocations: 0.5238 MB / 352.3 MB, free: 13.15 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Blocks.BooleanPulseN.makefile [Timeout 660] make -j1 -f Bodylight_Bodylight.Blocks.BooleanPulseN.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -DOM_HAVE_PTHREADS -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=Bodylight_Bodylight_Blocks_BooleanPulseN -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -DOMC_RUST_SIMULATION_RUNTIME -c -o Bodylight_Bodylight.Blocks.BooleanPulseN.o Bodylight_Bodylight.Blocks.BooleanPulseN.c clang -Os -DOM_HAVE_PTHREADS -fPIC -DOM_HAVE_PTHREADS -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=Bodylight_Bodylight_Blocks_BooleanPulseN -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -DOMC_RUST_SIMULATION_RUNTIME -c -o Bodylight_Bodylight.Blocks.BooleanPulseN_functions.o Bodylight_Bodylight.Blocks.BooleanPulseN_functions.c clang -Os -DOM_HAVE_PTHREADS -fPIC -DOM_HAVE_PTHREADS -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=Bodylight_Bodylight_Blocks_BooleanPulseN -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -DOMC_RUST_SIMULATION_RUNTIME -c -o Bodylight_Bodylight.Blocks.BooleanPulseN_records.o Bodylight_Bodylight.Blocks.BooleanPulseN_records.c clang -Os -DOM_HAVE_PTHREADS -fPIC -DOM_HAVE_PTHREADS -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=Bodylight_Bodylight_Blocks_BooleanPulseN -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -DOMC_RUST_SIMULATION_RUNTIME -c -o Bodylight_Bodylight.Blocks.BooleanPulseN_01exo.o Bodylight_Bodylight.Blocks.BooleanPulseN_01exo.c clang -Os -DOM_HAVE_PTHREADS -fPIC -DOM_HAVE_PTHREADS -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=Bodylight_Bodylight_Blocks_BooleanPulseN -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -DOMC_RUST_SIMULATION_RUNTIME -c -o Bodylight_Bodylight.Blocks.BooleanPulseN_02nls.o Bodylight_Bodylight.Blocks.BooleanPulseN_02nls.c clang -Os -DOM_HAVE_PTHREADS -fPIC -DOM_HAVE_PTHREADS -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=Bodylight_Bodylight_Blocks_BooleanPulseN -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -DOMC_RUST_SIMULATION_RUNTIME -c -o Bodylight_Bodylight.Blocks.BooleanPulseN_03lsy.o Bodylight_Bodylight.Blocks.BooleanPulseN_03lsy.c clang -Os -DOM_HAVE_PTHREADS -fPIC -DOM_HAVE_PTHREADS -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=Bodylight_Bodylight_Blocks_BooleanPulseN -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -DOMC_RUST_SIMULATION_RUNTIME -c -o Bodylight_Bodylight.Blocks.BooleanPulseN_04set.o Bodylight_Bodylight.Blocks.BooleanPulseN_04set.c clang -Os -DOM_HAVE_PTHREADS -fPIC -DOM_HAVE_PTHREADS -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=Bodylight_Bodylight_Blocks_BooleanPulseN -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -DOMC_RUST_SIMULATION_RUNTIME -c -o Bodylight_Bodylight.Blocks.BooleanPulseN_05evt.o Bodylight_Bodylight.Blocks.BooleanPulseN_05evt.c clang -Os -DOM_HAVE_PTHREADS -fPIC -DOM_HAVE_PTHREADS -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=Bodylight_Bodylight_Blocks_BooleanPulseN -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -DOMC_RUST_SIMULATION_RUNTIME -c -o Bodylight_Bodylight.Blocks.BooleanPulseN_06inz.o Bodylight_Bodylight.Blocks.BooleanPulseN_06inz.c Bodylight_Bodylight.Blocks.BooleanPulseN_06inz.c:105:122: error: call to undeclared function 'sample'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 105 | (data->localData[0]->booleanVars[data->simulationInfo->booleanVarsIndex[1]] /* $WC_1 DISCRETE */) = ((tmp2 || tmp3) && sample((data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[2]] /* startTime PARAM */), (data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[1]] /* period PARAM */))); | ^ Bodylight_Bodylight.Blocks.BooleanPulseN_06inz.c:122:122: error: call to undeclared function 'sample'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 122 | (data->localData[0]->booleanVars[data->simulationInfo->booleanVarsIndex[2]] /* $WC_0 DISCRETE */) = ((tmp4 || tmp5) && sample((data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[2]] /* startTime PARAM */), (data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[1]] /* period PARAM */))); | ^ 2 errors generated. make: *** [: Bodylight_Bodylight.Blocks.BooleanPulseN_06inz.o] Error 1 [Calling os._exit(0), Time elapsed: 3.201248058117926]