Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001184/0.001184, allocations: 98.39 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001493/0.001494, allocations: 206.9 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.3 MB / 245.9 MB, free: 10.33 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002359/0.0002359, allocations: 7.984 kB / 306.7 MB, free: 1.293 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1095, allocations: 51.49 MB / 358.2 MB, free: 13.81 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.003222/0.1128, allocations: 2.639 MB / 360.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.1145, allocations: 1.075 MB / 361.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002151/0.1148, allocations: 15.94 kB / 361.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001664/0.1149, allocations: 63.41 kB / 362 MB, free: 9.996 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001261/0.1151, allocations: 43.81 kB / 362 MB, free: 9.953 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007444/0.1158, allocations: 267.2 kB / 362.3 MB, free: 9.695 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004959/0.1163, allocations: 0.4918 MB / 362.8 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007715/0.1171, allocations: 0.6612 MB / 363.4 MB, free: 8.527 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002752/0.1174, allocations: 198.9 kB / 363.6 MB, free: 8.332 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002357/0.1176, allocations: 250.4 kB / 363.9 MB, free: 8.086 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.496e-05/0.1177, allocations: 23.94 kB / 363.9 MB, free: 8.062 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.1178, allocations: 39.92 kB / 363.9 MB, free: 8.023 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.1179, allocations: 115.4 kB / 364.1 MB, free: 7.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.1181, allocations: 153.3 kB / 364.2 MB, free: 7.754 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008563/0.1189, allocations: 1.025 MB / 365.2 MB, free: 6.727 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.1189, allocations: 0 / 365.2 MB, free: 6.727 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.1189, allocations: 4 kB / 365.2 MB, free: 6.723 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.119, allocations: 4 kB / 365.2 MB, free: 6.719 MB / 302.1 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.001499/0.1205, allocations: 0.9976 MB / 366.2 MB, free: 5.652 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.1205, allocations: 12.03 kB / 366.2 MB, free: 5.641 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001828/0.1207, allocations: 156 kB / 366.4 MB, free: 5.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003306/0.121, allocations: 122.8 kB / 366.5 MB, free: 5.359 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007452/0.1218, allocations: 0.5216 MB / 367 MB, free: 4.797 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/0.1219, allocations: 137.4 kB / 367.2 MB, free: 4.648 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.1221, allocations: 96 kB / 367.3 MB, free: 4.555 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002584/0.1246, allocations: 1.698 MB / 369 MB, free: 2.797 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.1247, allocations: 3.938 kB / 369 MB, free: 2.793 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.98e-05/0.1248, allocations: 39.98 kB / 369 MB, free: 2.754 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/0.1248, allocations: 28 kB / 369 MB, free: 2.727 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001443/0.1262, allocations: 0.7976 MB / 369.8 MB, free: 1.93 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1936/0.3199, allocations: 2.15 MB / 372 MB, free: 17.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002156/0.3221, allocations: 1.047 MB / 373 MB, free: 17.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001026/0.3222, allocations: 28.19 kB / 373.1 MB, free: 17.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008231/0.3231, allocations: 401.1 kB / 373.5 MB, free: 17.6 MB / 302.1 MB Notification: Performance of pre-optimization done (n=102): time 4.729e-06/0.3231, allocations: 0.875 kB / 373.5 MB, free: 17.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=102): time 0.0027/0.3258, allocations: 1.159 MB / 374.6 MB, free: 17.56 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001566/0.326, allocations: 253.4 kB / 374.9 MB, free: 17.31 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006422/0.3266, allocations: 424.1 kB / 375.3 MB, free: 17.17 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.958e-05/0.3267, allocations: 63.83 kB / 375.3 MB, free: 17.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/0.3269, allocations: 281.9 kB / 375.6 MB, free: 17 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/0.3271, allocations: 156.1 kB / 375.8 MB, free: 16.94 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/0.3271, allocations: 14.75 kB / 375.8 MB, free: 16.94 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.3273, allocations: 372.3 kB / 376.1 MB, free: 16.62 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006611/0.3279, allocations: 329.9 kB / 376.5 MB, free: 16.6 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007657/0.3287, allocations: 0.6087 MB / 377.1 MB, free: 16.12 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006496/0.3294, allocations: 403 kB / 377.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/0.3294, allocations: 2.594 kB / 377.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00188/0.3313, allocations: 1.003 MB / 378.5 MB, free: 15.55 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.618e-05/0.3313, allocations: 36.06 kB / 378.5 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/0.3313, allocations: 9.75 kB / 378.5 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.49e-05/0.3314, allocations: 20.08 kB / 378.5 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003831/0.3318, allocations: 113.6 kB / 378.6 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.427e-05/0.3318, allocations: 24.53 kB / 378.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004084/0.3322, allocations: 97.66 kB / 378.8 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.05e-05/0.3323, allocations: 43.34 kB / 378.8 MB, free: 15.43 MB / 302.1 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.0006495/0.333, allocations: 403.3 kB / 379.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007257/0.3337, allocations: 392.1 kB / 379.6 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007631/0.3345, allocations: 419.5 kB / 380 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.3345, allocations: 13.44 kB / 380 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/0.3345, allocations: 0.7969 kB / 380 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.831e-05/0.3346, allocations: 9.453 kB / 380 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002792/0.3374, allocations: 1.687 MB / 381.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/0.3374, allocations: 2 kB / 381.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003874/0.3378, allocations: 93.75 kB / 381.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.235e-05/0.3378, allocations: 6.031 kB / 381.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.787e-05/0.3379, allocations: 27.11 kB / 381.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.28e-05/0.3379, allocations: 10.03 kB / 381.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.3379, allocations: 11.73 kB / 381.9 MB, free: 13.88 MB / 302.1 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.002023/0.3399, allocations: 1.208 MB / 383.1 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.3401, allocations: 144.5 kB / 383.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.3402, allocations: 42.19 kB / 383.2 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003659/0.3405, allocations: 46.89 kB / 383.3 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002007/0.3408, allocations: 92.62 kB / 383.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.267e-05/0.3408, allocations: 32.95 kB / 383.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002723/0.3411, allocations: 248.2 kB / 383.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3411, allocations: 0 / 383.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008724/0.342, allocations: 189.1 kB / 383.8 MB, free: 12.78 MB / 302.1 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.002138/0.3441, allocations: 1.901 MB / 385.7 MB, free: 11.44 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001767/0.3459, allocations: 0.9149 MB / 386.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.3459, allocations: 0.9375 kB / 386.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005501/0.3465, allocations: 294.8 kB / 386.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008511/0.3473, allocations: 281.1 kB / 387.2 MB, free: 10.92 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002961/0.3503, allocations: 1.656 MB / 388.9 MB, free: 9.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006865/0.351, allocations: 1.029 MB / 389.9 MB, free: 9.191 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004031/0.3514, allocations: 136.2 kB / 390 MB, free: 9.172 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003783/0.3518, allocations: 268.9 kB / 390.3 MB, free: 8.977 MB / 302.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3518, allocations: 0 / 390.3 MB, free: 8.977 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02545/0.3773, allocations: 12.68 MB / 403 MB, free: 500 kB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001444/0.3775, allocations: 207.1 kB / 403.2 MB, free: 248 kB / 302.1 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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.c:7: In file included from ./Modelica_trunk_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: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_trunk_Modelica_Clocked_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_trunk_Modelica_Clocked_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_trunk_Modelica_Clocked_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_trunk_Modelica_Clocked_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 -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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_functions.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_functions.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_functions.c:2: In file included from ./Modelica_trunk_Modelica_Clocked_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 -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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_records.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_records.c In file included from Modelica_trunk_Modelica_Clocked_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 -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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_01exo.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_01exo.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_01exo.c:2: In file included from ./Modelica_trunk_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: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 -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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_02nls.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_02nls.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_02nls.c:2: In file included from ./Modelica_trunk_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: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 -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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_03lsy.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_03lsy.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_03lsy.c:2: In file included from ./Modelica_trunk_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: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 -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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_04set.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_04set.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_04set.c:2: In file included from ./Modelica_trunk_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: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 -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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_05evt.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_05evt.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_05evt.c:2: In file included from ./Modelica_trunk_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: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 -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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_06inz.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_06inz.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_06inz.c:2: In file included from ./Modelica_trunk_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: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 -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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_07dly.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_07dly.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_07dly.c:2: In file included from ./Modelica_trunk_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: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 -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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_08bnd.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_08bnd.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_08bnd.c:2: In file included from ./Modelica_trunk_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: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 -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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_09alg.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_09alg.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_09alg.c:2: In file included from ./Modelica_trunk_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: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 -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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_10asr.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_10asr.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_10asr.c:2: In file included from ./Modelica_trunk_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: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 -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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_11mix.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_11mix.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_11mix.c:2: In file included from ./Modelica_trunk_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: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 -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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_12jac.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_12jac.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_12jac.c:2: In file included from ./Modelica_trunk_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: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 -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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_13opt.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_13opt.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_13opt.c:2: In file included from ./Modelica_trunk_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: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 -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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_14lnz.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_14lnz.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_14lnz.c:2: In file included from ./Modelica_trunk_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: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 -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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_15syn.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_15syn.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_15syn.c:2: In file included from ./Modelica_trunk_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: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 -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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_16dae.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_16dae.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_16dae.c:2: In file included from ./Modelica_trunk_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: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 -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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_17inl.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_17inl.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_17inl.c:2: In file included from ./Modelica_trunk_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: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 -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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_init_fmu.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_init_fmu.c In file included from Modelica_trunk_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: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 -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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_FMU.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_FMU.c In file included from Modelica_trunk_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: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_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.so Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_functions.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_records.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_01exo.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_02nls.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_03lsy.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_04set.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_05evt.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_06inz.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_07dly.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_08bnd.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_09alg.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_10asr.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_11mix.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_12jac.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_13opt.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_14lnz.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_15syn.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_16dae.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_17inl.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_init_fmu.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_FMU.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.o: in function `Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_eqFunction_176': Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.c:(.text+0xd48): undefined reference to `fireClock' /usr/bin/ld: Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.o: in function `Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_eqFunction_175': Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.c:(.text+0xd7b): undefined reference to `fireClock' /usr/bin/ld: Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.o: in function `Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_eqFunction_174': Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.c:(.text+0xdae): undefined reference to `fireClock' /usr/bin/ld: Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.o: in function `Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_eqFunction_173': Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.c:(.text+0xde1): undefined reference to `fireClock' clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:60: nozip] Error 1