Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 180.8 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009622/0.0009622, allocations: 95.78 kB / 291.5 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002615/0.0002617, allocations: 4 kB / 351.2 MB, free: 15.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2392, allocations: 50.41 MB / 401.6 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1063/0.3456, allocations: 83.05 MB / 484.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/0.3459, allocations: 77.05 kB / 484.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0325/0.3784, allocations: 12.2 MB / 496.9 MB, free: 1.137 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3784, allocations: 0 / 496.9 MB, free: 1.137 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.834e-05/0.3785, allocations: 23.94 kB / 496.9 MB, free: 1.113 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.002261/0.3808, allocations: 1.001 MB / 497.9 MB, free: 40 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.3808, allocations: 12.22 kB / 497.9 MB, free: 28 kB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003705/0.3812, allocations: 155.9 kB / 498.1 MB, free: 15.87 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002681/0.3815, allocations: 106.8 kB / 498.2 MB, free: 15.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009816/0.3825, allocations: 0.5044 MB / 498.7 MB, free: 15.22 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001659/0.3827, allocations: 141.3 kB / 498.8 MB, free: 15.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001859/0.3829, allocations: 96 kB / 498.9 MB, free: 14.97 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003071/0.3859, allocations: 1.668 MB / 0.4889 GB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/0.386, allocations: 0 / 0.4889 GB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.402e-05/0.3861, allocations: 36 kB / 0.4889 GB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.167e-05/0.3861, allocations: 20 kB / 0.4889 GB, free: 13.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001603/0.3877, allocations: 0.7615 MB / 0.4897 GB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003956/0.3917, allocations: 2.102 MB / 0.4917 GB, free: 10.26 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/0.3935, allocations: 1.016 MB / 0.4927 GB, free: 9.164 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.871e-05/0.3937, allocations: 28.12 kB / 0.4927 GB, free: 9.137 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007495/0.3944, allocations: 403.5 kB / 0.4931 GB, free: 8.719 MB / 378.7 MB Notification: Performance of pre-optimization done (n=102): time 5.911e-06/0.3944, allocations: 0 / 0.4931 GB, free: 8.719 MB / 378.7 MB Notification: Performance of matching and sorting (n=102): time 0.002433/0.3969, allocations: 1.138 MB / 0.4942 GB, free: 7.582 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001888/0.3971, allocations: 253.5 kB / 0.4945 GB, free: 7.285 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005687/0.3977, allocations: 392.2 kB / 0.4948 GB, free: 6.895 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001269/0.3978, allocations: 65.69 kB / 0.4949 GB, free: 6.824 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002649/0.3981, allocations: 277.2 kB / 0.4952 GB, free: 6.547 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/0.3983, allocations: 150.3 kB / 0.4953 GB, free: 6.398 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.056e-05/0.3983, allocations: 20 kB / 0.4953 GB, free: 6.379 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.3985, allocations: 374.7 kB / 0.4957 GB, free: 6.004 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006673/0.3992, allocations: 329.8 kB / 0.496 GB, free: 5.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008506/0.4001, allocations: 0.6043 MB / 0.4966 GB, free: 4.941 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000737/0.4008, allocations: 392.7 kB / 0.497 GB, free: 4.555 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.14e-05/0.4008, allocations: 4 kB / 0.497 GB, free: 4.551 MB / 378.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001807/0.4027, allocations: 1.004 MB / 0.498 GB, free: 3.535 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.693e-05/0.4027, allocations: 45.69 kB / 0.498 GB, free: 3.484 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.019e-05/0.4028, allocations: 8 kB / 0.498 GB, free: 3.477 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.663e-05/0.4028, allocations: 16 kB / 0.498 GB, free: 3.461 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004664/0.4033, allocations: 111.7 kB / 0.4981 GB, free: 3.352 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.997e-05/0.4033, allocations: 23.92 kB / 0.4982 GB, free: 3.328 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004366/0.4038, allocations: 67.77 kB / 0.4982 GB, free: 3.262 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.645e-05/0.4039, allocations: 47.97 kB / 0.4983 GB, free: 3.215 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 91 (conjunctiveClock.reset_ticked.input_tick.y,conjunctiveClock.reset_ticked.input_tick.u,conjunctiveClock.reset_ticked.input_sample.y,disjunctiveClock.reset_ticked.input_tick.y,disjunctiveClock.reset_ticked.input_tick.u,disjunctiveClock.reset_ticked.input_sample.y,disjunctiveClock.input_ticked[2].input_tick.y,disjunctiveClock.input_ticked[2].input_tick.u,disjunctiveClock.input_ticked[2].input_sample.y,conjunctiveClock.input_ticked[2].input_tick.y,conjunctiveClock.input_ticked[2].input_tick.u,conjunctiveClock.input_ticked[2].input_sample.y,rotational_clock_2.changed.y,rotational_clock_2.changed.u,$CLKPRE.rotational_clock_2.changed.u,rotational_clock_2.cast.y,rotational_clock_2.direction_changed,rotational_clock_2.direction,disjunctiveClock.input_ticked[1].input_hold.u,disjunctiveClock.input_ticked[2].input_hold.u,disjunctiveClock.reset_ticked.input_hold.u,disjunctiveClock.combinator.u[1],disjunctiveClock.combinator.u[2],disjunctiveClock.clock.u,$PRE.disjunctiveClock.input_ticked[1].input_ticked.u,disjunctiveClock.input_ticked[1].input_ticked.u,$PRE.disjunctiveClock.input_ticked[2].input_ticked.u,disjunctiveClock.input_ticked[2].input_ticked.u,disjunctiveClock.forbidden_state[1].u2,disjunctiveClock.forbidden_state[1].y,disjunctiveClock.forbidden_state[2].u2,disjunctiveClock.forbidden_state[2].y,disjunctiveClock.input_memory[1].QI,$PRE.disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[1].S,disjunctiveClock.input_memory[2].QI,$PRE.disjunctiveClock.input_memory[2].pre.u,disjunctiveClock.input_memory[2].pre.u,disjunctiveClock.input_memory[2].S,$PRE.disjunctiveClock.reset_ticked.input_ticked.u,disjunctiveClock.reset_ticked.input_ticked.u,disjunctiveClock.splitter.y[2],$whenCondition4,disjunctiveClock.input_ticked[1].input_tick.y,disjunctiveClock.input_ticked[1].input_tick.u,disjunctiveClock.input_ticked[1].input_sample.y,conjunctiveClock.input_ticked[1].input_hold.u,conjunctiveClock.input_ticked[2].input_hold.u,conjunctiveClock.reset_ticked.input_hold.u,conjunctiveClock.combinator.u[1],conjunctiveClock.combinator.u[2],conjunctiveClock.clock.u,$PRE.conjunctiveClock.input_ticked[1].input_ticked.u,conjunctiveClock.input_ticked[1].input_ticked.u,$PRE.conjunctiveClock.input_ticked[2].input_ticked.u,conjunctiveClock.input_ticked[2].input_ticked.u,conjunctiveClock.forbidden_state[1].u2,conjunctiveClock.forbidden_state[1].y,conjunctiveClock.forbidden_state[2].u2,conjunctiveClock.forbidden_state[2].y,conjunctiveClock.input_memory[1].QI,$PRE.conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[1].S,conjunctiveClock.input_memory[2].QI,$PRE.conjunctiveClock.input_memory[2].pre.u,conjunctiveClock.input_memory[2].pre.u,conjunctiveClock.input_memory[2].S,$PRE.conjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.splitter.y[2],$whenCondition5,conjunctiveClock.input_ticked[1].input_tick.y,conjunctiveClock.input_ticked[1].input_tick.u,conjunctiveClock.input_ticked[1].input_sample.y,rotational_clock_1.changed.y,rotational_clock_1.changed.u,$CLKPRE.rotational_clock_1.changed.u,rotational_clock_1.cast.y,rotational_clock_1.direction_changed,rotational_clock_1.direction,$whenCondition1,$PRE.trigger_interval_input.T_start,trigger_interval_input.T_start,$PRE.trigger_interval_input.count,trigger_interval_input.count,rotational_clock_1.less.y,rotational_clock_2.less.y,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 2 (rotational_clock_2.changed.u,rotational_clock_1.changed.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007202/0.4046, allocations: 411.3 kB / 0.4987 GB, free: 2.801 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008055/0.4054, allocations: 379.5 kB / 0.499 GB, free: 2.426 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007553/0.4062, allocations: 407.2 kB / 0.4994 GB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/0.4062, allocations: 12 kB / 0.4994 GB, free: 2.016 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.585e-05/0.4062, allocations: 4 kB / 0.4994 GB, free: 2.012 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.4062, allocations: 3.984 kB / 0.4994 GB, free: 2.008 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002925/0.4092, allocations: 1.662 MB / 0.5011 GB, free: 296 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.607e-05/0.4092, allocations: 7.984 kB / 0.5011 GB, free: 288 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004102/0.4096, allocations: 99.75 kB / 0.5012 GB, free: 188 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.475e-05/0.4096, allocations: 8 kB / 0.5012 GB, free: 180 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.596e-05/0.4097, allocations: 23.98 kB / 0.5012 GB, free: 156 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/0.4097, allocations: 4 kB / 0.5012 GB, free: 152 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.4097, allocations: 4 kB / 0.5012 GB, free: 148 kB / 378.7 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:332:7-332:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed (Purely discrete algebraic loops cannot be solved by iterative processes. Try to break them open using the delay() operator.) conjunctiveClock.reset_ticked.input_ticked.u conjunctiveClock.reset_ticked.input_hold.u conjunctiveClock.reset_ticked.input_tick.y conjunctiveClock.reset_ticked.input_tick.u conjunctiveClock.reset_ticked.input_sample.y conjunctiveClock.reset_ticked.input_sample.y = $getPart(conjunctiveClock.reset_ticked.input_ticked.u) conjunctiveClock.reset_ticked.input_tick.u = conjunctiveClock.reset_ticked.input_sample.y conjunctiveClock.reset_ticked.input_tick.y = not conjunctiveClock.reset_ticked.input_tick.u conjunctiveClock.reset_ticked.input_hold.u = conjunctiveClock.reset_ticked.input_tick.y conjunctiveClock.reset_ticked.input_ticked.u = $getPart(conjunctiveClock.reset_ticked.input_hold.u) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: conjunctiveClock.reset_ticked.input_ticked.u conjunctiveClock.reset_ticked.input_hold.u conjunctiveClock.reset_ticked.input_tick.y conjunctiveClock.reset_ticked.input_tick.u conjunctiveClock.reset_ticked.input_sample.y equations: conjunctiveClock.reset_ticked.input_sample.y = $getPart(conjunctiveClock.reset_ticked.input_ticked.u) conjunctiveClock.reset_ticked.input_tick.u = conjunctiveClock.reset_ticked.input_sample.y conjunctiveClock.reset_ticked.input_tick.y = not conjunctiveClock.reset_ticked.input_tick.u conjunctiveClock.reset_ticked.input_hold.u = conjunctiveClock.reset_ticked.input_tick.y conjunctiveClock.reset_ticked.input_ticked.u = $getPart(conjunctiveClock.reset_ticked.input_hold.u) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7906:5-7906:89:writable] Error: Internal error Transformation module sort components failed Warning: The optimization module detectJacobianSparsePattern failed. This module will be skipped and the transformation process continued. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2019/0.6116, allocations: 1.196 MB / 0.5024 GB, free: 95.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/0.6118, allocations: 133.2 kB / 0.5025 GB, free: 95.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/0.612, allocations: 39.95 kB / 0.5025 GB, free: 95.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004408/0.6124, allocations: 42.97 kB / 0.5026 GB, free: 95.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002494/0.6127, allocations: 96.23 kB / 0.5027 GB, free: 95.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-05/0.6128, allocations: 35.39 kB / 0.5027 GB, free: 95.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003606/0.6131, allocations: 246.1 kB / 0.5029 GB, free: 95.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6131, allocations: 0 / 0.5029 GB, free: 95.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001002/0.6141, allocations: 169.7 kB / 0.5031 GB, free: 95.52 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 77 (rotational_clock_1.direction,rotational_clock_1.direction_changed,rotational_clock_1.cast.y,rotational_clock_1.changed.u,rotational_clock_1.changed.y,conjunctiveClock.input_ticked[1].input_sample.y,conjunctiveClock.input_ticked[1].input_tick.u,conjunctiveClock.input_ticked[1].input_tick.y,conjunctiveClock.input_ticked[1].input_hold.u,disjunctiveClock.input_ticked[1].input_sample.y,disjunctiveClock.input_ticked[1].input_tick.u,disjunctiveClock.input_ticked[1].input_tick.y,disjunctiveClock.input_ticked[1].input_hold.u,rotational_clock_2.direction,rotational_clock_2.direction_changed,rotational_clock_2.cast.y,rotational_clock_2.changed.u,rotational_clock_2.changed.y,conjunctiveClock.input_ticked[2].input_sample.y,conjunctiveClock.input_ticked[2].input_tick.u,conjunctiveClock.input_ticked[2].input_tick.y,conjunctiveClock.input_ticked[2].input_hold.u,disjunctiveClock.input_ticked[2].input_sample.y,disjunctiveClock.input_ticked[2].input_tick.u,disjunctiveClock.input_ticked[2].input_tick.y,disjunctiveClock.input_ticked[2].input_hold.u,disjunctiveClock.reset_ticked.input_sample.y,disjunctiveClock.reset_ticked.input_tick.u,disjunctiveClock.reset_ticked.input_tick.y,disjunctiveClock.reset_ticked.input_hold.u,conjunctiveClock.reset_ticked.input_sample.y,conjunctiveClock.reset_ticked.input_tick.u,conjunctiveClock.reset_ticked.input_tick.y,conjunctiveClock.reset_ticked.input_hold.u,conjunctiveClock.clock.u,conjunctiveClock.combinator.u[1],conjunctiveClock.combinator.u[2],conjunctiveClock.input_ticked[1].input_ticked.u,conjunctiveClock.input_ticked[2].input_ticked.u,conjunctiveClock.forbidden_state[1].u2,conjunctiveClock.forbidden_state[1].y,conjunctiveClock.forbidden_state[2].u2,conjunctiveClock.forbidden_state[2].y,conjunctiveClock.input_memory[1].QI,conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[1].S,conjunctiveClock.input_memory[2].QI,conjunctiveClock.input_memory[2].pre.u,conjunctiveClock.input_memory[2].S,conjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.splitter.y[2],$whenCondition5,disjunctiveClock.clock.u,disjunctiveClock.combinator.u[1],disjunctiveClock.combinator.u[2],disjunctiveClock.input_ticked[1].input_ticked.u,disjunctiveClock.input_ticked[2].input_ticked.u,disjunctiveClock.forbidden_state[1].u2,disjunctiveClock.forbidden_state[1].y,disjunctiveClock.forbidden_state[2].u2,disjunctiveClock.forbidden_state[2].y,disjunctiveClock.input_memory[1].QI,disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[1].S,disjunctiveClock.input_memory[2].QI,disjunctiveClock.input_memory[2].pre.u,disjunctiveClock.input_memory[2].S,disjunctiveClock.reset_ticked.input_ticked.u,disjunctiveClock.splitter.y[2],$whenCondition4,rotational_clock_1.less.y,rotational_clock_2.less.y,$whenCondition1,trigger_interval_input.T_start,trigger_interval_input.count,$whenCondition2,$whenCondition3) * Number of discrete states: 11 (trigger_interval_input.count,disjunctiveClock.input_ticked[1].input_ticked.u,disjunctiveClock.input_ticked[2].input_ticked.u,disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[2].pre.u,disjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.input_ticked[1].input_ticked.u,conjunctiveClock.input_ticked[2].input_ticked.u,conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[2].pre.u,conjunctiveClock.reset_ticked.input_ticked.u) * Number of clocked states: 2 (rotational_clock_1.changed.u,rotational_clock_2.changed.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:332:7-332:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed (Purely discrete algebraic loops cannot be solved by iterative processes. Try to break them open using the delay() operator.) conjunctiveClock.reset_ticked.input_ticked.u conjunctiveClock.reset_ticked.input_hold.u conjunctiveClock.reset_ticked.input_tick.y conjunctiveClock.reset_ticked.input_tick.u conjunctiveClock.reset_ticked.input_sample.y conjunctiveClock.reset_ticked.input_sample.y = $getPart(conjunctiveClock.reset_ticked.input_ticked.u) conjunctiveClock.reset_ticked.input_tick.u = conjunctiveClock.reset_ticked.input_sample.y conjunctiveClock.reset_ticked.input_tick.y = not conjunctiveClock.reset_ticked.input_tick.u conjunctiveClock.reset_ticked.input_hold.u = conjunctiveClock.reset_ticked.input_tick.y conjunctiveClock.reset_ticked.input_ticked.u = $getPart(conjunctiveClock.reset_ticked.input_hold.u) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: conjunctiveClock.reset_ticked.input_ticked.u conjunctiveClock.reset_ticked.input_hold.u conjunctiveClock.reset_ticked.input_tick.y conjunctiveClock.reset_ticked.input_tick.u conjunctiveClock.reset_ticked.input_sample.y equations: conjunctiveClock.reset_ticked.input_sample.y = $getPart(conjunctiveClock.reset_ticked.input_ticked.u) conjunctiveClock.reset_ticked.input_tick.u = conjunctiveClock.reset_ticked.input_sample.y conjunctiveClock.reset_ticked.input_tick.y = not conjunctiveClock.reset_ticked.input_tick.u conjunctiveClock.reset_ticked.input_hold.u = conjunctiveClock.reset_ticked.input_tick.y conjunctiveClock.reset_ticked.input_ticked.u = $getPart(conjunctiveClock.reset_ticked.input_hold.u) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7906:5-7906:89:writable] Error: Internal error Transformation module sort components failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1765:3-1765:84:writable] Error: Internal error function createFMIModelDerivatives failed Notification: Performance of Backend phase and start with SimCode phase: time 0.002286/0.6164, allocations: 1.909 MB / 0.505 GB, free: 94.53 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002084/0.6185, allocations: 0.9202 MB / 0.5059 GB, free: 94.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.321e-06/0.6186, allocations: 1.062 kB / 0.5059 GB, free: 94.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007136/0.6193, allocations: 293.7 kB / 0.5061 GB, free: 94.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008989/0.6202, allocations: 276.7 kB / 0.5064 GB, free: 94.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002841/0.623, allocations: 1.664 MB / 0.508 GB, free: 93.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004664/0.6235, allocations: 1.025 MB / 0.509 GB, free: 93.04 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003263/0.6239, allocations: 128.9 kB / 0.5091 GB, free: 93.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003594/0.6242, allocations: 264.4 kB / 0.5094 GB, free: 93.03 MB / 378.7 MB Notification: Performance of SimCode: time 9.91e-07/0.6242, allocations: 0 / 0.5094 GB, free: 93.03 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02403/0.6483, allocations: 12.69 MB / 0.5218 GB, free: 88.65 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001389/0.6485, allocations: 199.3 kB / 0.522 GB, free: 88.4 MB / 378.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.c:7: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.c:790:5: warning: implicit declaration of function 'fireClock' is invalid in C99 [-Wimplicit-function-declaration] fireClock(data, threadData, 0, data->localData[0]->timeValue); ^ Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.c:808:5: warning: implicit declaration of function 'fireClock' is invalid in C99 [-Wimplicit-function-declaration] fireClock(data, threadData, 1, data->localData[0]->timeValue); ^ Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.c:826:5: warning: implicit declaration of function 'fireClock' is invalid in C99 [-Wimplicit-function-declaration] fireClock(data, threadData, 2, data->localData[0]->timeValue); ^ Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.c:844:5: warning: implicit declaration of function 'fireClock' is invalid in C99 [-Wimplicit-function-declaration] fireClock(data, threadData, 3, data->localData[0]->timeValue); ^ 6 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_functions.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_functions.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_functions.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_records.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_records.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_01exo.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_01exo.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_01exo.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_02nls.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_02nls.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_02nls.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_03lsy.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_03lsy.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_03lsy.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_04set.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_04set.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_04set.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_05evt.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_05evt.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_05evt.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_06inz.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_06inz.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_06inz.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_07dly.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_07dly.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_07dly.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_08bnd.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_08bnd.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_08bnd.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_09alg.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_09alg.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_09alg.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_10asr.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_10asr.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_10asr.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_11mix.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_11mix.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_11mix.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_12jac.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_12jac.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_12jac.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_13opt.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_13opt.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_13opt.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_14lnz.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_14lnz.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_14lnz.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_15syn.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_15syn.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_15syn.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_16dae.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_16dae.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_16dae.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_17inl.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_17inl.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_17inl.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_init_fmu.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_init_fmu.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_init_fmu.c:1: In file included from ./simulation_data.h:39: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_FMU.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_FMU.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_FMU.c:9: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_FMU.c:55: ./fmi-export/fmu2_model_interface.c.inc:79:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ ./fmi-export/fmu2_model_interface.c.inc:168:16: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] GC_vasprintf(&str, msg, args); ^~~~ ./gc/../meta/../util/modelica_string.h:71:31: note: passing argument to parameter 'strp' here int GC_vasprintf(const char **strp, const char *fmt, va_list ap); ^ 4 warnings generated. mkdir -p ../binaries/linux64 clang -shared -o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.so Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_functions.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_records.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_01exo.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_02nls.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_03lsy.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_04set.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_05evt.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_06inz.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_07dly.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_08bnd.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_09alg.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_10asr.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_11mix.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_12jac.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_13opt.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_14lnz.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_15syn.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_16dae.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_17inl.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_init_fmu.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_FMU.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Clocked/Examples/Elementary/ClockSignals" -Wl,-Bstatic -Wl,-Bdynamic -L'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc' -Wl,-rpath,'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc' -lSimulationRuntimeFMI -Wl,--no-as-needed -Wl,--disable-new-dtags -llapack -lblas -lm -lpthread -rdynamic -Wl,--no-undefined /usr/bin/ld: Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.o: in function `Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_eqFunction_176': Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.c:(.text+0xf0a): undefined reference to `fireClock' /usr/bin/ld: Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.o: in function `Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_eqFunction_175': Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.c:(.text+0xf3d): undefined reference to `fireClock' /usr/bin/ld: Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.o: in function `Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_eqFunction_174': Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.c:(.text+0xf70): undefined reference to `fireClock' /usr/bin/ld: Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.o: in function `Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_eqFunction_173': Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.c:(.text+0xfa3): undefined reference to `fireClock' clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:58: nozip] Error 1