Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002366/0.002372, allocations: 187.3 kB / 15.81 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.713/2.713, allocations: 205.4 MB / 221.9 MB, free: 13.81 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001158/0.001158, allocations: 94.84 kB / 270.3 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1002/0.1002, allocations: 12.6 MB / 331.1 MB, free: 10.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006017/0.0006019, allocations: 20.09 kB / 392.1 MB, free: 54.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1017, allocations: 50.38 MB / 442.5 MB, free: 10.79 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample): time 0.004288/0.1061, allocations: 2.594 MB / 445.1 MB, free: 8.176 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002687/0.1088, allocations: 1.061 MB / 446.1 MB, free: 7.105 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004815/0.1094, allocations: 19.88 kB / 446.2 MB, free: 7.086 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002328/0.1096, allocations: 63.41 kB / 446.2 MB, free: 7.023 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001948/0.1098, allocations: 35.88 kB / 446.3 MB, free: 6.988 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.111, allocations: 253.2 kB / 446.5 MB, free: 6.742 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007562/0.1118, allocations: 0.4957 MB / 447 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001705/0.1135, allocations: 0.6535 MB / 447.7 MB, free: 5.574 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009181/0.1145, allocations: 202.9 kB / 447.9 MB, free: 5.375 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004315/0.115, allocations: 242.4 kB / 448.1 MB, free: 5.137 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.28e-05/0.1151, allocations: 20 kB / 448.1 MB, free: 5.117 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.1152, allocations: 28 kB / 448.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.1154, allocations: 123.4 kB / 448.3 MB, free: 4.969 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.1155, allocations: 153.2 kB / 448.4 MB, free: 4.812 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001136/0.1167, allocations: 0.9634 MB / 449.4 MB, free: 3.848 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1167, allocations: 0 / 449.4 MB, free: 3.848 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1167, allocations: 0 / 449.4 MB, free: 3.848 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.405e-05/0.1168, allocations: 4 kB / 449.4 MB, free: 3.844 MB / 282.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.002155/0.1189, allocations: 0.9899 MB / 450.4 MB, free: 2.785 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.119, allocations: 12.03 kB / 450.4 MB, free: 2.773 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002316/0.1192, allocations: 156 kB / 450.5 MB, free: 2.613 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002186/0.1195, allocations: 102.7 kB / 450.6 MB, free: 2.512 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009615/0.1204, allocations: 0.5255 MB / 451.2 MB, free: 1.945 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001461/0.1206, allocations: 129.4 kB / 451.3 MB, free: 1.805 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001813/0.1208, allocations: 104 kB / 451.4 MB, free: 1.703 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004001/0.1248, allocations: 1.718 MB / 453.1 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.742e-05/0.1249, allocations: 3.953 kB / 453.1 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001501/0.125, allocations: 36 kB / 453.1 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-05/0.1251, allocations: 20 kB / 453.2 MB, free: 15.87 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002878/0.128, allocations: 0.8094 MB / 454 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005657/0.1337, allocations: 2.141 MB / 456.1 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003153/0.1369, allocations: 1.047 MB / 457.2 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000143/0.1371, allocations: 33.36 kB / 457.2 MB, free: 11.69 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001202/0.1383, allocations: 415.2 kB / 457.6 MB, free: 11.26 MB / 298.7 MB Notification: Performance of pre-optimization done (n=102): time 5.891e-06/0.1383, allocations: 0 / 457.6 MB, free: 11.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=102): time 0.004235/0.1425, allocations: 1.158 MB / 458.8 MB, free: 10.1 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002512/0.1428, allocations: 237.6 kB / 459 MB, free: 9.816 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008274/0.1437, allocations: 429 kB / 459.4 MB, free: 9.387 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001855/0.1439, allocations: 61.69 kB / 459.5 MB, free: 9.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003709/0.1443, allocations: 281.4 kB / 459.7 MB, free: 9.039 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002555/0.1445, allocations: 158.2 kB / 459.9 MB, free: 8.883 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-05/0.1446, allocations: 20 kB / 459.9 MB, free: 8.863 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002536/0.1449, allocations: 374.7 kB / 460.3 MB, free: 8.488 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/0.146, allocations: 329.8 kB / 460.6 MB, free: 8.168 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001334/0.1474, allocations: 0.6043 MB / 461.2 MB, free: 7.434 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/0.1486, allocations: 409.2 kB / 461.6 MB, free: 7.027 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.434e-05/0.1486, allocations: 7.953 kB / 461.6 MB, free: 7.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003041/0.1517, allocations: 0.9989 MB / 462.6 MB, free: 6.012 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.547e-05/0.1518, allocations: 41.69 kB / 462.7 MB, free: 5.965 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.306e-05/0.1518, allocations: 8 kB / 462.7 MB, free: 5.957 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.97e-05/0.1519, allocations: 16.41 kB / 462.7 MB, free: 5.941 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007381/0.1526, allocations: 119.7 kB / 462.8 MB, free: 5.824 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.295e-05/0.1527, allocations: 15.94 kB / 462.8 MB, free: 5.809 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007023/0.1534, allocations: 95.19 kB / 462.9 MB, free: 5.715 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/0.1535, allocations: 47.98 kB / 462.9 MB, free: 5.668 MB / 298.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 (disjunctiveClock.reset_ticked.input_tick.y,disjunctiveClock.reset_ticked.input_tick.u,disjunctiveClock.reset_ticked.input_sample.y,conjunctiveClock.reset_ticked.input_tick.y,conjunctiveClock.reset_ticked.input_tick.u,conjunctiveClock.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.y,$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.suppress_S[1].y,disjunctiveClock.suppress_S[2].y,disjunctiveClock.input_memory[1].Q,disjunctiveClock.input_memory[1].QI,$PRE.disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[2].Q,disjunctiveClock.input_memory[2].QI,$PRE.disjunctiveClock.input_memory[2].pre.u,disjunctiveClock.input_memory[2].pre.u,$PRE.disjunctiveClock.reset_ticked.input_ticked.u,disjunctiveClock.reset_ticked.input_ticked.u,disjunctiveClock.splitter.y[2],$whenCondition5,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.y,$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.suppress_S[1].y,conjunctiveClock.suppress_S[2].y,conjunctiveClock.input_memory[1].Q,conjunctiveClock.input_memory[1].QI,$PRE.conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[2].Q,conjunctiveClock.input_memory[2].QI,$PRE.conjunctiveClock.input_memory[2].pre.u,conjunctiveClock.input_memory[2].pre.u,$PRE.conjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.splitter.y[2],$whenCondition4,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.0009067/0.1545, allocations: 403.4 kB / 463.3 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001227/0.1557, allocations: 388.9 kB / 463.7 MB, free: 4.875 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/0.1569, allocations: 416.3 kB / 464.1 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-05/0.1569, allocations: 16.08 kB / 464.1 MB, free: 4.453 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.1569, allocations: 4 kB / 464.1 MB, free: 4.449 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.15e-05/0.157, allocations: 11.97 kB / 464.2 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004176/0.1611, allocations: 1.686 MB / 465.8 MB, free: 2.691 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.909e-05/0.1612, allocations: 4 kB / 465.8 MB, free: 2.688 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007924/0.162, allocations: 95.8 kB / 465.9 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.849e-05/0.162, allocations: 8 kB / 466 MB, free: 2.586 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-05/0.1621, allocations: 23.97 kB / 466 MB, free: 2.562 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.668e-05/0.1622, allocations: 8 kB / 466 MB, free: 2.555 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.1622, allocations: 7.938 kB / 466 MB, free: 2.547 MB / 298.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.) disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_ticked.u disjunctiveClock.reset_ticked.input_hold.u disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_tick.u disjunctiveClock.reset_ticked.input_tick.u = disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_tick.y = not disjunctiveClock.reset_ticked.input_tick.u disjunctiveClock.reset_ticked.input_hold.u = disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_ticked.u = $getPart(disjunctiveClock.reset_ticked.input_hold.u) disjunctiveClock.reset_ticked.input_sample.y = $getPart(disjunctiveClock.reset_ticked.input_ticked.u) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_ticked.u disjunctiveClock.reset_ticked.input_hold.u disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_tick.u equations: disjunctiveClock.reset_ticked.input_tick.u = disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_tick.y = not disjunctiveClock.reset_ticked.input_tick.u disjunctiveClock.reset_ticked.input_hold.u = disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_ticked.u = $getPart(disjunctiveClock.reset_ticked.input_hold.u) disjunctiveClock.reset_ticked.input_sample.y = $getPart(disjunctiveClock.reset_ticked.input_ticked.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:7903:5-7903: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.003158/0.1654, allocations: 1.219 MB / 467.2 MB, free: 1.266 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002146/0.1656, allocations: 140.3 kB / 467.3 MB, free: 1.109 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001843/0.1658, allocations: 43.97 kB / 467.4 MB, free: 1.066 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006825/0.1665, allocations: 43.97 kB / 467.4 MB, free: 1.023 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000306/0.1668, allocations: 95.81 kB / 467.5 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/0.1669, allocations: 27.98 kB / 467.6 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004292/0.1674, allocations: 243.2 kB / 467.8 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.1674, allocations: 0 / 467.8 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00126/0.1686, allocations: 191.4 kB / 468 MB, free: 488 kB / 298.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,conjunctiveClock.reset_ticked.input_sample.y,conjunctiveClock.reset_ticked.input_tick.u,conjunctiveClock.reset_ticked.input_tick.y,conjunctiveClock.reset_ticked.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.combinator.y,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.suppress_S[1].y,conjunctiveClock.suppress_S[2].y,conjunctiveClock.input_memory[1].Q,conjunctiveClock.input_memory[1].QI,conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[2].Q,conjunctiveClock.input_memory[2].QI,conjunctiveClock.input_memory[2].pre.u,conjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.splitter.y[2],$whenCondition4,disjunctiveClock.combinator.y,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.suppress_S[1].y,disjunctiveClock.suppress_S[2].y,disjunctiveClock.input_memory[1].Q,disjunctiveClock.input_memory[1].QI,disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[2].Q,disjunctiveClock.input_memory[2].QI,disjunctiveClock.input_memory[2].pre.u,disjunctiveClock.reset_ticked.input_ticked.u,disjunctiveClock.splitter.y[2],$whenCondition5,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.) disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_ticked.u disjunctiveClock.reset_ticked.input_hold.u disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_tick.u disjunctiveClock.reset_ticked.input_tick.u = disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_tick.y = not disjunctiveClock.reset_ticked.input_tick.u disjunctiveClock.reset_ticked.input_hold.u = disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_ticked.u = $getPart(disjunctiveClock.reset_ticked.input_hold.u) disjunctiveClock.reset_ticked.input_sample.y = $getPart(disjunctiveClock.reset_ticked.input_ticked.u) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_ticked.u disjunctiveClock.reset_ticked.input_hold.u disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_tick.u equations: disjunctiveClock.reset_ticked.input_tick.u = disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_tick.y = not disjunctiveClock.reset_ticked.input_tick.u disjunctiveClock.reset_ticked.input_hold.u = disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_ticked.u = $getPart(disjunctiveClock.reset_ticked.input_hold.u) disjunctiveClock.reset_ticked.input_sample.y = $getPart(disjunctiveClock.reset_ticked.input_ticked.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:7903:5-7903: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.003869/0.1725, allocations: 1.908 MB / 469.9 MB, free: 14.5 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002959/0.1755, allocations: 0.9097 MB / 470.8 MB, free: 13.58 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.1756, allocations: 0 / 470.8 MB, free: 13.58 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.1766, allocations: 304.7 kB / 471.1 MB, free: 13.29 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/0.1781, allocations: 266.5 kB / 471.4 MB, free: 13.03 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005253/0.1834, allocations: 1.669 MB / 473 MB, free: 11.31 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/0.1845, allocations: 1.03 MB / 474.1 MB, free: 10.26 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006696/0.1852, allocations: 128.7 kB / 474.2 MB, free: 10.13 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007272/0.1859, allocations: 273.3 kB / 474.4 MB, free: 9.863 MB / 314.7 MB Notification: Performance of SimCode: time 1.463e-06/0.1859, allocations: 0 / 474.4 MB, free: 9.863 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06415/0.2501, allocations: 12.72 MB / 487.2 MB, free: 13.12 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003699/0.2505, allocations: 212.6 kB / 487.4 MB, free: 12.87 MB / 330.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -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_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample.c:7: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample.c:799:5: warning: implicit declaration of function 'fireClock' is invalid in C99 [-Wimplicit-function-declaration] fireClock(data, threadData, 0, data->localData[0]->timeValue); ^ Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample.c:817:5: warning: implicit declaration of function 'fireClock' is invalid in C99 [-Wimplicit-function-declaration] fireClock(data, threadData, 1, data->localData[0]->timeValue); ^ Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample.c:835:5: warning: implicit declaration of function 'fireClock' is invalid in C99 [-Wimplicit-function-declaration] fireClock(data, threadData, 2, data->localData[0]->timeValue); ^ Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample.c:853: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 -mfpmath=sse -fno-dollars-in-identifiers -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_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_functions.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_functions.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_functions.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -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_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_records.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_records.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -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_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_01exo.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_01exo.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_01exo.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -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_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_02nls.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_02nls.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_02nls.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -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_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_03lsy.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_03lsy.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_03lsy.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -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_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_04set.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_04set.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_04set.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -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_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_05evt.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_05evt.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_05evt.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -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_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_06inz.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_06inz.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_06inz.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -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_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_07dly.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_07dly.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_07dly.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -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_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_08bnd.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_08bnd.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_08bnd.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -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_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_09alg.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_09alg.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_09alg.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -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_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_10asr.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_10asr.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_10asr.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -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_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_11mix.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_11mix.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_11mix.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -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_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_12jac.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_12jac.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_12jac.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -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_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_13opt.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_13opt.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_13opt.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -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_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_14lnz.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_14lnz.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_14lnz.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -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_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_15syn.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_15syn.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_15syn.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -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_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_16dae.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_16dae.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_16dae.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -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_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_17inl.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_17inl.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_17inl.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -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_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_init_fmu.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_init_fmu.c In file included from Modelica_Synchronous_Modelica_Synchronous_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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -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_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_FMU.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_FMU.c In file included from Modelica_Synchronous_Modelica_Synchronous_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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Modelica_Synchronous_Modelica_Synchronous_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_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample.so Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_functions.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_records.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_01exo.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_02nls.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_03lsy.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_04set.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_05evt.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_06inz.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_07dly.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_08bnd.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_09alg.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_10asr.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_11mix.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_12jac.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_13opt.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_14lnz.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_15syn.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_16dae.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_17inl.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_init_fmu.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_FMU.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master" -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 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample.o: In function `Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_eqFunction_176': Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample.c:(.text+0xf2a): undefined reference to `fireClock' Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample.o: In function `Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_eqFunction_175': Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample.c:(.text+0xf5d): undefined reference to `fireClock' Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample.o: In function `Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_eqFunction_174': Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample.c:(.text+0xf90): undefined reference to `fireClock' Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample.o: In function `Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_eqFunction_173': Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample.c:(.text+0xfc3): undefined reference to `fireClock' clang: error: linker command failed with exit code 1 (use -v to see invocation) Makefile:59: recipe for target 'nozip' failed make: *** [nozip] Error 1