Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001314/0.001314, allocations: 114.5 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001404/0.001404, allocations: 211.4 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.506/1.506, allocations: 230.4 MB / 258.1 MB, free: 8.133 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5095,variableFilter="time|sample_angle.y|rotationalClock.angle|rotationalClock.direction|rotationalClock.direction_changed",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5095,variableFilter="time|sample_angle.y|rotationalClock.angle|rotationalClock.direction|rotationalClock.direction_changed",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 71.83 kB / 378.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3017, allocations: 53.31 MB / 432 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample): time 0.004182/0.3059, allocations: 2.024 MB / 434.1 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.3074, allocations: 0.7089 MB / 434.8 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.3076, allocations: 4 kB / 434.8 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.086e-05/0.3076, allocations: 19.73 kB / 434.8 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001302/0.3078, allocations: 19.75 kB / 434.8 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004917/0.3083, allocations: 127.7 kB / 434.9 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000332/0.3086, allocations: 215.9 kB / 435.1 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002326/0.3088, allocations: 68.33 kB / 435.2 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002442/0.3091, allocations: 91.62 kB / 435.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.3092, allocations: 95.59 kB / 435.4 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.831e-05/0.3093, allocations: 20 kB / 435.4 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.866e-05/0.3093, allocations: 20 kB / 435.4 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.554e-05/0.3094, allocations: 51.83 kB / 435.5 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.3095, allocations: 79.59 kB / 435.6 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003327/0.3098, allocations: 220.6 kB / 435.8 MB, free: 3.625 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3098, allocations: 3.938 kB / 435.8 MB, free: 3.621 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3098, allocations: 0 / 435.8 MB, free: 3.621 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.365e-06/0.3098, allocations: 0 / 435.8 MB, free: 3.621 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009896/0.3108, allocations: 0.5374 MB / 436.3 MB, free: 3.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.3109, allocations: 8.031 kB / 436.3 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002111/0.3111, allocations: 36.78 kB / 436.4 MB, free: 2.977 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003834/0.3115, allocations: 228.6 kB / 436.6 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.299e-05/0.3115, allocations: 46.58 kB / 436.6 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.425e-05/0.3116, allocations: 19.94 kB / 436.7 MB, free: 2.645 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008121/0.3124, allocations: 329.8 kB / 437 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.3124, allocations: 3.984 kB / 437 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.987e-05/0.3124, allocations: 15.98 kB / 437 MB, free: 2.289 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.3124, allocations: 4 kB / 437 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004544/0.3129, allocations: 123.9 kB / 437.1 MB, free: 2.164 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008275/0.3137, allocations: 469.3 kB / 437.6 MB, free: 1.652 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005185/0.3142, allocations: 189.2 kB / 437.8 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000273/0.3145, allocations: 109.7 kB / 437.9 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.3145, allocations: 80 / 437.9 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003092/0.3149, allocations: 119.3 kB / 438 MB, free: 1.207 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 1.593e-06/0.3149, allocations: 0 / 438 MB, free: 1.207 MB / 334.1 MB Notification: Performance of matching and sorting (n=23): time 0.0009022/0.3158, allocations: 289.3 kB / 438.3 MB, free: 0.918 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.972e-05/0.3158, allocations: 81.11 kB / 438.3 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.316, allocations: 161.3 kB / 438.5 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.584e-05/0.316, allocations: 25.7 kB / 438.5 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.563e-05/0.3161, allocations: 116.5 kB / 438.6 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.123e-05/0.3162, allocations: 35.73 kB / 438.7 MB, free: 480 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.3163, allocations: 49.64 kB / 438.7 MB, free: 424 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.3164, allocations: 330.8 kB / 439.1 MB, free: 84 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/0.3166, allocations: 67.95 kB / 439.1 MB, free: 16 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002862/0.3169, allocations: 142.1 kB / 439.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004702/0.3174, allocations: 229.1 kB / 439.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.3174, allocations: 0 / 439.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005934/0.318, allocations: 273.7 kB / 439.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.642e-05/0.318, allocations: 33.7 kB / 439.8 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.318, allocations: 11.92 kB / 439.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.3181, allocations: 4 kB / 439.8 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.3183, allocations: 39.97 kB / 439.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.3183, allocations: 7.938 kB / 439.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/0.3185, allocations: 24.28 kB / 439.9 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.3185, allocations: 12 kB / 439.9 MB, free: 15.16 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 (rotationalClock.changed.y,rotationalClock.changed.u,rotationalClock.cast.y,rotationalClock.direction_changed,rotationalClock.direction,$whenCondition2,rotationalClock.less.y,trigger_interval_input.count,$PRE.trigger_interval_input.count,trigger_interval_input.T_start,$PRE.trigger_interval_input.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001585/0.3186, allocations: 149.6 kB / 440 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.82e-05/0.3187, allocations: 15.91 kB / 440 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.624e-05/0.3187, allocations: 16.72 kB / 440.1 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.3188, allocations: 7.984 kB / 440.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3188, allocations: 0 / 440.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.642e-05/0.3188, allocations: 93.02 kB / 440.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.296e-05/0.3189, allocations: 11.94 kB / 440.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.319, allocations: 19.97 kB / 440.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.872e-05/0.3191, allocations: 15.98 kB / 440.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007682/0.3199, allocations: 392.9 kB / 440.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007102/0.3206, allocations: 473.6 kB / 441 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002631/0.3208, allocations: 95.91 kB / 441.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.908e-05/0.3209, allocations: 114.6 kB / 441.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of Backend: time 3.11e-07/0.3209, allocations: 4 kB / 441.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008091/0.3217, allocations: 253.5 kB / 441.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of SimCode: time 0.0008602/0.3226, allocations: 0.7045 MB / 442.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of Templates: time 0.006376/0.329, allocations: 2.322 MB / 444.5 MB, free: 10.41 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample.makefile [Timeout 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample.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_2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample -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 Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample.o Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample.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_2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample -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 Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_functions.o Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_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_2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample -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 Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_records.o Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_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_2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample -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 Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_01exo.o Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_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_2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample -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 Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_02nls.o Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_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_2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample -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 Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_03lsy.o Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_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_2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample -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 Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_04set.o Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_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_2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample -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 Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_05evt.o Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_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_2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample -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 Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_06inz.o Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_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_2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample -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 Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_07dly.o Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_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_2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample -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 Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_08bnd.o Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_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_2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample -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 Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_09alg.o Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_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_2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample -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 Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_10asr.o Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_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_2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample -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 Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_11mix.o Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_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_2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample -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 Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_12jac.o Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_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_2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample -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 Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_13opt.o Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_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_2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample -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 Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_14lnz.o Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_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_2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample -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 Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_15syn.o Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_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_2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_1_0_beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample -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 Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_16dae.o Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_16dae.c Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_16dae.c:414:158: error: use of undeclared identifier 'baseClockIndex' (data->localData[0]->booleanVars[data->simulationInfo->booleanVarsIndex[2]] /* rotationalClock.changed.y DISCRETE */) = ((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0 /* false */:(!((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[1]] /* rotationalClock.changed.u DISCRETE */) == _omcQ_24CLKPRE._rotationalClock._changed._u))); ^ Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_16dae.c:414:184: error: use of undeclared identifier 'subClockIndex' (data->localData[0]->booleanVars[data->simulationInfo->booleanVarsIndex[2]] /* rotationalClock.changed.y DISCRETE */) = ((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0 /* false */:(!((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[1]] /* rotationalClock.changed.u DISCRETE */) == _omcQ_24CLKPRE._rotationalClock._changed._u))); ^ Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_16dae.c:414:355: error: use of undeclared identifier '_omcQ_24CLKPRE' (data->localData[0]->booleanVars[data->simulationInfo->booleanVarsIndex[2]] /* rotationalClock.changed.y DISCRETE */) = ((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0 /* false */:(!((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[1]] /* rotationalClock.changed.u DISCRETE */) == _omcQ_24CLKPRE._rotationalClock._changed._u))); ^ 3 errors generated. make: *** [: Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample_16dae.o] Error 1 [Calling os._exit(0), Time elapsed: 4.193376108072698] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample_angle.y', 'rotationalClock.angle', 'rotationalClock.direction', 'rotationalClock.direction_changed'] 0.33879431104287505 0.355959487 0.042483087 Calling exit ...