Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.Actions1.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Modelica_StateGraph2 with version 2.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo) Running command: "" <> buildModelFMU(Modelica_StateGraph2.Examples.BasicStateGraphs.Actions1,fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_StateGraph2): time 2.203/2.203, allocations: 208.5 MB / 216 MB, free: 10.15 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.911e-05/1.911e-05, allocations: 3.984 kB / 269.6 MB, free: 4.477 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1118, allocations: 47.78 MB / 317.4 MB, free: 4.602 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4254/0.5373, allocations: 71.72 MB / 389.1 MB, free: 15.02 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001675/0.5376, allocations: 49.17 kB / 389.2 MB, free: 15 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo:12150:5-12156:3:writable] Warning: Usage of non-standard operator (not specified in the Modelica specification): Connections.uniqueRoot. Functionality might be partially supported but is not guaranteed. Notification: Performance of FrontEnd - DAE generated: time 0.03518/0.5728, allocations: 8.897 MB / 398 MB, free: 7.625 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.5728, allocations: 0 / 398 MB, free: 7.625 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.627e-05/0.5729, allocations: 27.98 kB / 398.1 MB, free: 7.598 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.001709/0.5746, allocations: 0.7946 MB / 398.9 MB, free: 6.797 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/0.5747, allocations: 15.97 kB / 398.9 MB, free: 6.781 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002282/0.5749, allocations: 86.97 kB / 399 MB, free: 6.695 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.5762, allocations: 483 kB / 399.4 MB, free: 6.25 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.311e-05/0.5763, allocations: 27.56 kB / 399.5 MB, free: 6.227 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/0.5764, allocations: 55.92 kB / 399.5 MB, free: 6.172 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001474/0.5779, allocations: 0.5185 MB / 400 MB, free: 5.828 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001807/0.5797, allocations: 0.7937 MB / 400.8 MB, free: 5.141 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.804e-05/0.5798, allocations: 0 / 400.8 MB, free: 5.141 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.921e-05/0.5799, allocations: 4 kB / 400.8 MB, free: 5.137 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-05/0.58, allocations: 37.92 kB / 400.9 MB, free: 5.098 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005571/0.5856, allocations: 3.445 MB / 404.3 MB, free: 1.805 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.5867, allocations: 0.7325 MB / 405.1 MB, free: 1.07 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004589/0.5872, allocations: 150.8 kB / 405.2 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000164/0.5874, allocations: 85.48 kB / 405.3 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006339/0.588, allocations: 207.2 kB / 405.5 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of pre-optimization done (n=51): time 4.889e-06/0.5881, allocations: 0 / 405.5 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of matching and sorting (n=51): time 0.001462/0.5895, allocations: 355.6 kB / 405.8 MB, free: 420 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001608/0.5897, allocations: 196.5 kB / 406 MB, free: 180 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008579/0.5906, allocations: 392.7 kB / 406.4 MB, free: 15.88 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001161/0.5907, allocations: 41.19 kB / 406.5 MB, free: 15.83 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004115/0.5912, allocations: 322.5 kB / 406.8 MB, free: 15.57 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/0.5914, allocations: 112.7 kB / 406.9 MB, free: 15.48 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.5914, allocations: 0 / 406.9 MB, free: 15.48 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002362/0.5917, allocations: 362 kB / 407.2 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005645/0.5922, allocations: 169.3 kB / 407.4 MB, free: 15.03 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009154/0.5932, allocations: 474.7 kB / 407.9 MB, free: 14.51 MB / 330.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.002101/0.5953, allocations: 0.5833 MB / 408.4 MB, free: 14.04 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.295e-05/0.5953, allocations: 4 kB / 408.4 MB, free: 14.03 MB / 330.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002194/0.5975, allocations: 0.6239 MB / 409.1 MB, free: 13.51 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.187e-05/0.5976, allocations: 11.94 kB / 409.1 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-05/0.5976, allocations: 8 kB / 409.1 MB, free: 13.49 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.956e-05/0.5977, allocations: 19.94 kB / 409.1 MB, free: 13.47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006611/0.5984, allocations: 88.08 kB / 409.2 MB, free: 13.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002803/0.6012, allocations: 3.426 MB / 412.6 MB, free: 9.809 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009541/0.6022, allocations: 39.98 kB / 412.7 MB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/0.6023, allocations: 43.36 kB / 412.7 MB, free: 9.734 MB / 330.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $PRE.initialStep.newActive = true. Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: multiSwitch1.firstActiveIndex:DISCRETE(fixed = false protected = true ) type: Integer Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: multiSwitch1.u[1]:DISCRETE(fixed = false ) "Set y = expr[i], if u[i] = true" type: Boolean [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 104 ($PRE.T1.enableFire,$PRE.T2.enableFire,$PRE.T3.enableFire,$PRE.T4.enableFire,$PRE.T5.enableFire,$PRE.or1.u[1],$PRE.or1.u[2],$PRE.multiSwitch1.u[1],$PRE.multiSwitch1.u[2],$PRE.initialStep.oldActive,initialStep.oldActive,$PRE.step2.oldActive,step2.oldActive,$PRE.step3.oldActive,step3.oldActive,$PRE.step4.oldActive,step4.oldActive,$PRE.step5.oldActive,step5.oldActive,initialStep.node.resume,initialStep.node.suspend,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.initialStep.newActive,initialStep.newActive,initialStep.inport_fire,initialStep.outport_fire,T1.fire,T1.enableFire,$PRE.T1.t_start,T1.t_start,$PRE.step2.newActive,step2.newActive,step2.inport_fire,step2.outport_fire,T2.fire,T2.enableFire,$PRE.T2.t_start,T2.t_start,$PRE.step3.newActive,step3.newActive,step3.inport_fire,step3.outport_fire,T3.fire,T3.enableFire,$PRE.T3.t_start,T3.t_start,$PRE.step4.newActive,step4.newActive,step4.inport_fire,step4.outport_fire,T4.fire,T4.enableFire,$PRE.T4.t_start,T4.t_start,T5.fire,T5.enableFire,$PRE.T5.t_start,T5.t_start,$PRE.step5.newActive,step5.newActive,step5.inport_fire,step5.outport_fire,or1.u[1],or1.u[2],or1.y,multiSwitch1.u[1],multiSwitch1.u[2],multiSwitch1.firstActiveIndex,$PRE.multiSwitch2.y,multiSwitch2.y,multiSwitch2.firstActiveIndex,$PRE.multiSwitch3.y,multiSwitch3.y,multiSwitch3.firstActiveIndex,multiSwitch2.expr[1],multiSwitch2.expr[2],multiSwitch3.expr[1],multiSwitch3.expr[2],T5.condition,T4.condition,T3.condition,T2.condition,T1.condition,T5.outPort.checkOneDelayedTransitionPerLoop,step5.outPort[1].checkOneDelayedTransitionPerLoop,step5.inPort[1].checkUnaryConnection,T4.outPort.checkOneDelayedTransitionPerLoop,step4.outPort[1].checkOneDelayedTransitionPerLoop,step4.inPort[1].checkUnaryConnection,T2.outPort.checkOneDelayedTransitionPerLoop,step3.outPort[1].checkOneDelayedTransitionPerLoop,initialStep.inPort[1].checkUnaryConnection,T3.outPort.checkOneDelayedTransitionPerLoop,initialStep.outPort[1].checkOneDelayedTransitionPerLoop,step3.inPort[1].checkUnaryConnection,T1.outPort.checkOneDelayedTransitionPerLoop,step2.outPort[1].checkOneDelayedTransitionPerLoop,step2.inPort[1].checkUnaryConnection,showValue4.number,showValue3.active) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004778/0.6028, allocations: 184.3 kB / 412.9 MB, free: 9.551 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001349/0.6042, allocations: 352 kB / 413.2 MB, free: 9.266 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.6044, allocations: 47.44 kB / 413.3 MB, free: 9.219 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00162/0.606, allocations: 401.6 kB / 413.7 MB, free: 8.902 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/0.606, allocations: 8 kB / 413.7 MB, free: 8.895 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.606, allocations: 0 / 413.7 MB, free: 8.895 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.6061, allocations: 0 / 413.7 MB, free: 8.895 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003564/0.6097, allocations: 1.072 MB / 414.7 MB, free: 7.941 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.6097, allocations: 3.984 kB / 414.7 MB, free: 7.938 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/0.6099, allocations: 19 kB / 414.8 MB, free: 7.922 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-05/0.6099, allocations: 7.984 kB / 414.8 MB, free: 7.914 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-05/0.61, allocations: 6.812 kB / 414.8 MB, free: 7.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.61, allocations: 0 / 414.8 MB, free: 7.91 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.61, allocations: 0 / 414.8 MB, free: 7.91 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/0.6114, allocations: 453.2 kB / 415.2 MB, free: 7.512 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003067/0.6117, allocations: 145.9 kB / 415.4 MB, free: 7.359 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.6118, allocations: 11.42 kB / 415.4 MB, free: 7.352 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000521/0.6124, allocations: 23.91 kB / 415.4 MB, free: 7.328 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002172/0.6126, allocations: 51.17 kB / 415.5 MB, free: 7.285 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.037e-05/0.6127, allocations: 14.12 kB / 415.5 MB, free: 7.273 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004094/0.6131, allocations: 223.8 kB / 415.7 MB, free: 7.094 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6131, allocations: 0 / 415.7 MB, free: 7.094 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001286/0.6144, allocations: 107.2 kB / 415.8 MB, free: 6.992 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 50 (initialStep.inport_fire,initialStep.outport_fire,or1.u[2],multiSwitch1.u[1],T1.enableFire,step2.outport_fire,multiSwitch1.u[2],T2.enableFire,step3.outport_fire,T4.enableFire,step4.outport_fire,T5.enableFire,or1.u[1],T3.enableFire,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,initialStep.newActive,initialStep.oldActive,T1.fire,T1.t_start,step2.newActive,step2.oldActive,step2.inport_fire,T2.fire,T2.t_start,step3.newActive,step3.oldActive,step3.inport_fire,T3.fire,T3.t_start,step4.newActive,step4.oldActive,step4.inport_fire,T4.fire,T4.t_start,T5.fire,T5.t_start,step5.newActive,step5.oldActive,step5.inport_fire,step5.outport_fire,or1.y,multiSwitch1.firstActiveIndex,multiSwitch2.y,multiSwitch2.firstActiveIndex,multiSwitch3.y,multiSwitch3.firstActiveIndex) * Number of discrete states: 7 (step5.newActive,step4.newActive,step3.newActive,multiSwitch2.y,step2.newActive,multiSwitch3.y,initialStep.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001918/0.6164, allocations: 1.013 MB / 416.8 MB, free: 6.023 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001683/0.6181, allocations: 447.7 kB / 417.2 MB, free: 5.688 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.6181, allocations: 0 / 417.2 MB, free: 5.688 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004875/0.6186, allocations: 156.5 kB / 417.4 MB, free: 5.574 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006315/0.6193, allocations: 51.92 kB / 417.4 MB, free: 5.543 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003324/0.6226, allocations: 0.8001 MB / 418.2 MB, free: 4.777 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009623/0.6236, allocations: 0.9333 MB / 419.2 MB, free: 3.816 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006203/0.6242, allocations: 100.8 kB / 419.3 MB, free: 3.715 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005466/0.6248, allocations: 232.6 kB / 419.5 MB, free: 3.648 MB / 330.7 MB Notification: Performance of SimCode: time 3.897e-06/0.6248, allocations: 0 / 419.5 MB, free: 3.648 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07321/0.698, allocations: 9.612 MB / 429.1 MB, free: 10.05 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001963/0.6983, allocations: 146.9 kB / 429.3 MB, free: 9.859 MB / 346.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_FMU.o Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_FMU.c In file included from Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_FMU.c:9: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_FMU.c:54: include/fmi2/fmu2_model_interface.c:73:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ include/fmi2/fmu2_model_interface.c:162: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); ^~~~ include/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. clang -Os -fPIC -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1.o Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1.c In file included from Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1.c:7: In file included from ./Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_functions.o Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_functions.c In file included from Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_functions.c:1: In file included from ./Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_functions.h:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_records.o Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_records.c In file included from Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_records.c:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_01exo.o Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_01exo.c In file included from Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_01exo.c:2: In file included from ./Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_02nls.o Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_02nls.c In file included from Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_02nls.c:2: In file included from ./Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_02nls.c:47:96: error: no member named 'nominal' in 'struct BOOLEAN_ATTRIBUTE' sysData->nominal[i] = data->modelData->booleanVarsData[33].attribute /* multiSwitch1.u[1] */.nominal; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_02nls.c:48:96: error: no member named 'min' in 'struct BOOLEAN_ATTRIBUTE' sysData->min[i] = data->modelData->booleanVarsData[33].attribute /* multiSwitch1.u[1] */.min; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_02nls.c:49:96: error: no member named 'max' in 'struct BOOLEAN_ATTRIBUTE' sysData->max[i++] = data->modelData->booleanVarsData[33].attribute /* multiSwitch1.u[1] */.max; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_02nls.c:98:107: error: no member named 'nominal' in 'struct INTEGER_ATTRIBUTE' sysData->nominal[i] = data->modelData->integerVarsData[0].attribute /* multiSwitch1.firstActiveIndex */.nominal; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ 2 warnings and 4 errors generated. : recipe for target 'Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_02nls.o' failed make: *** [Modelica_StateGraph2_Modelica_StateGraph2_Examples_BasicStateGraphs_Actions1_02nls.o] Error 1