Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IdealizedContact_IdealizedContact.Examples.Example10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IdealizedContact 0.2.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package IdealizedContact with version 0.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IdealizedContact 0.2.0-master/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(IdealizedContact.Examples.Example10,fileNamePrefix="IdealizedContact_IdealizedContact_Examples_Example10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IdealizedContact.Examples.Example10,fileNamePrefix="IdealizedContact_IdealizedContact_Examples_Example10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002224/0.002224, allocations: 176.7 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IdealizedContact 0.2.0-master/package.mo): time 0.1823/0.1823, allocations: 14.21 MB / 22.28 MB, free: 1.125 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.707/1.707, allocations: 170.6 MB / 196.8 MB, free: 8.871 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001909/0.001908, allocations: 114 kB / 239.6 MB, free: 1.363 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.829e-05/2.821e-05, allocations: 4 kB / 288.1 MB, free: 0.7773 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3087, allocations: 42.23 MB / 330.3 MB, free: 39.96 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.476/0.7848, allocations: 129.8 MB / 460.1 MB, free: 56.41 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/0.7851, allocations: 70.14 kB / 460.2 MB, free: 56.41 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IdealizedContact 0.2.0-master/package.mo:1555:39-1555:49:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IdealizedContact 0.2.0-master/package.mo:16734:7-16734:45:writable] Warning: Ignoring the modification on outer element: contact.contactDefinition.animation = true. Notification: Performance of FrontEnd - DAE generated: time 1.953/2.738, allocations: 400.1 MB / 0.8401 GB, free: 32.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.813e-06/2.738, allocations: 0 / 0.8401 GB, free: 32.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.001178/2.74, allocations: 382.7 kB / 0.8405 GB, free: 32.49 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5678 * Number of variables: 5678 Notification: Performance of Generate backend data structure: time 0.07953/2.819, allocations: 15.72 MB / 0.8558 GB, free: 27.28 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/2.819, allocations: 7.75 kB / 0.8558 GB, free: 27.28 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06097/2.88, allocations: 8.488 MB / 0.8641 GB, free: 26.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06242/2.943, allocations: 17.18 MB / 0.8809 GB, free: 13.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002093/2.945, allocations: 0.9404 MB / 0.8818 GB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01197/2.957, allocations: 1.105 MB / 0.8829 GB, free: 11.69 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.4331/3.39, allocations: 28.37 MB / 0.9106 GB, free: 33.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1441/3.534, allocations: 36.04 MB / 0.9458 GB, free: 28.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001757/3.536, allocations: 118.6 kB / 0.9459 GB, free: 28.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01242/3.548, allocations: 59.94 kB / 0.946 GB, free: 28.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01083/3.559, allocations: 2.572 MB / 0.9485 GB, free: 28.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7121/4.272, allocations: 154.2 MB / 1.099 GB, free: 27.92 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02508/4.297, allocations: 10.09 MB / 1.109 GB, free: 26.75 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01538/4.312, allocations: 6.475 MB / 1.115 GB, free: 26.72 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009705/4.322, allocations: 6.599 MB / 1.122 GB, free: 21.07 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001413/4.322, allocations: 87.34 kB / 1.122 GB, free: 21.02 MB / 458.7 MB Notification: Performance of pre-optimization done (n=514): time 1.321e-05/4.322, allocations: 0 / 1.122 GB, free: 21.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=725): time 1.478/5.801, allocations: 175.1 MB / 1.293 GB, free: 90.61 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002401/5.801, allocations: 0.6223 MB / 1.293 GB, free: 89.92 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02435/5.825, allocations: 7.78 MB / 1.301 GB, free: 89.07 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.003223/5.829, allocations: 29.23 kB / 1.301 GB, free: 89.04 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.009922/5.839, allocations: 9.917 MB / 1.311 GB, free: 83.12 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.006319/5.845, allocations: 2.581 MB / 1.313 GB, free: 81.55 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004724/5.85, allocations: 2.5 kB / 1.313 GB, free: 81.55 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.002544/5.852, allocations: 1.026 MB / 1.314 GB, free: 81.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03441/5.887, allocations: 14.04 MB / 1.328 GB, free: 79.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04095/5.928, allocations: 22.86 MB / 1.35 GB, free: 61.48 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04006/5.968, allocations: 18.1 MB / 1.368 GB, free: 50.89 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004519/5.969, allocations: 88 kB / 1.368 GB, free: 50.81 MB / 474.7 MB Notification: Performance of matching and sorting (n=2211) (initialization): time 0.9598/6.928, allocations: 80.48 MB / 1.447 GB, free: 74.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002656/6.929, allocations: 135.6 kB / 1.447 GB, free: 74.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.4914/7.42, allocations: 65.53 MB / 1.511 GB, free: 63.29 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1811/7.601, allocations: 24.15 MB / 1.534 GB, free: 42.29 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02869/7.63, allocations: 4.023 MB / 1.538 GB, free: 38.69 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5494/8.179, allocations: 57.11 MB / 1.594 GB, free: 75.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03452/8.214, allocations: 1.671 MB / 1.596 GB, free: 75.39 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006919/8.221, allocations: 0.9821 MB / 1.597 GB, free: 75.39 MB / 474.7 MB Warning: Assuming fixed start value for the following 6 variables: freeMotion.v_rel_a[3]:VARIABLE(start = 0.0 unit = "m/s" stateSelect=StateSelect.prefer ) "= der(r_rel_a), i.e., velocity of origin of frame_b with respect to origin of frame_a, resolved in frame_a" type: Real [3] freeMotion.v_rel_a[2]:VARIABLE(start = 0.0 unit = "m/s" stateSelect=StateSelect.prefer ) "= der(r_rel_a), i.e., velocity of origin of frame_b with respect to origin of frame_a, resolved in frame_a" type: Real [3] freeMotion.v_rel_a[1]:VARIABLE(start = 0.0 unit = "m/s" stateSelect=StateSelect.prefer ) "= der(r_rel_a), i.e., velocity of origin of frame_b with respect to origin of frame_a, resolved in frame_a" type: Real [3] $STATESET1.x[1]:VARIABLE(start = /*Real*/($STATESET1.A[1,1]) * $START.$DER.bodyShape.body.Q[4] + /*Real*/($STATESET1.A[1,2]) * $START.$DER.bodyShape.body.Q[3] + /*Real*/($STATESET1.A[1,3]) * $START.$DER.bodyShape.body.Q[2] + /*Real*/($STATESET1.A[1,4]) * $START.$DER.bodyShape.body.Q[1] fixed = false ) type: Real [3] $STATESET1.x[2]:VARIABLE(start = /*Real*/($STATESET1.A[2,1]) * $START.$DER.bodyShape.body.Q[4] + /*Real*/($STATESET1.A[2,2]) * $START.$DER.bodyShape.body.Q[3] + /*Real*/($STATESET1.A[2,3]) * $START.$DER.bodyShape.body.Q[2] + /*Real*/($STATESET1.A[2,4]) * $START.$DER.bodyShape.body.Q[1] fixed = false ) type: Real [3] $STATESET1.x[3]:VARIABLE(start = /*Real*/($STATESET1.A[3,1]) * $START.$DER.bodyShape.body.Q[4] + /*Real*/($STATESET1.A[3,2]) * $START.$DER.bodyShape.body.Q[3] + /*Real*/($STATESET1.A[3,3]) * $START.$DER.bodyShape.body.Q[2] + /*Real*/($STATESET1.A[3,4]) * $START.$DER.bodyShape.body.Q[1] fixed = false ) type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: bodyShape.frame_b.f[2]:VARIABLE(flow=true unit = "N" ) "Cut-force resolved in connector frame" type: Real [3] bodyShape.frame_b.f[1]:VARIABLE(flow=true unit = "N" ) "Cut-force resolved in connector frame" type: Real [3] bodyShape.frame_b.f[3]:VARIABLE(flow=true unit = "N" ) "Cut-force resolved in connector frame" type: Real [3] $DER.$DER.bodyShape.body.Q[4]:DUMMY_DER(fixed = false ) "Quaternion orientation object from world frame to frame_a (dummy value, if quaternions are not used as states)" type: Real [4] $DER.$DER.bodyShape.body.Q[2]:DUMMY_DER(fixed = false ) "Quaternion orientation object from world frame to frame_a (dummy value, if quaternions are not used as states)" type: Real [4] $DER.$DER.bodyShape.body.Q[1]:DUMMY_DER(fixed = false ) "Quaternion orientation object from world frame to frame_a (dummy value, if quaternions are not used as states)" type: Real [4] $DER.$DER.bodyShape.body.Q[3]:DUMMY_DER(fixed = false ) "Quaternion orientation object from world frame to frame_a (dummy value, if quaternions are not used as states)" type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1397 * Number of states: 0 () * Number of discrete variables: 41 (contact.contactDefinition.geometry.pointMass1.disableAnimation,contact.contactDefinition.geometry.pointMass.disableAnimation,contact.contactDefinition.force.enabled,contact.contactDefinition.contact,cylindricalContactSurface1.body.sphereColor[3],cylindricalContactSurface1.body.sphereColor[2],cylindricalContactSurface1.body.sphereColor[1],cylindricalContactSurface.body.sphereColor[3],cylindricalContactSurface.body.sphereColor[2],cylindricalContactSurface.body.sphereColor[1],contact.contactDefinition.geometry.enabled,contact.contactDefinition.force.force.connectionLineColor[3],contact.contactDefinition.force.force.connectionLineColor[2],contact.contactDefinition.force.force.connectionLineColor[1],contact.contactDefinition.force.force.forceColor[3],contact.contactDefinition.force.force.forceColor[2],contact.contactDefinition.force.force.forceColor[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2014): * Single equations (assignments): 1965 * Array equations: 27 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 7 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,400.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 2 {10 53,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.01184/8.233, allocations: 1.001 MB / 1.598 GB, free: 75.1 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.4288/8.662, allocations: 57.25 MB / 1.654 GB, free: 70.21 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005305/8.667, allocations: 0.8352 MB / 1.654 GB, free: 70.21 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4739/9.141, allocations: 59.51 MB / 1.712 GB, free: 31.38 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.821/9.962, allocations: 57.58 MB / 1.769 GB, free: 76.34 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.252e-05/9.962, allocations: 0 / 1.769 GB, free: 76.34 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00026/9.962, allocations: 30.09 kB / 1.769 GB, free: 76.34 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6243/10.59, allocations: 112.2 MB / 1.878 GB, free: 29.67 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001152/10.59, allocations: 14.34 kB / 1.878 GB, free: 29.66 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01643/10.6, allocations: 1.596 MB / 1.88 GB, free: 28.12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.4598/11.06, allocations: 13.63 MB / 1.893 GB, free: 75.23 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003144/11.07, allocations: 185.6 kB / 1.893 GB, free: 75.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1242/11.19, allocations: 45.21 MB / 1.938 GB, free: 71.52 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00259/11.19, allocations: 3.01 MB / 1.94 GB, free: 68.91 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4613/11.65, allocations: 78.54 MB / 2.017 GB, free: 44.01 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003561/11.66, allocations: 0.8412 MB / 2.018 GB, free: 43.61 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006116/11.66, allocations: 116.5 kB / 2.018 GB, free: 43.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02305/11.69, allocations: 1.223 MB / 2.019 GB, free: 42.87 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003869/11.69, allocations: 479 kB / 2.02 GB, free: 42.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0031/11.69, allocations: 260.8 kB / 2.02 GB, free: 42.39 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0158/11.71, allocations: 5.373 MB / 2.025 GB, free: 37.69 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.82e-07/11.71, allocations: 2.297 kB / 2.025 GB, free: 37.69 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0319/11.74, allocations: 4.32 MB / 2.029 GB, free: 33.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 24 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],contact.contactDefinition.geometry.intersectionCylinderBlock.limiterBlock[1].filter.x[1],contact.contactDefinition.geometry.intersectionCylinderBlock.limiterBlock[1].filter.x[2],contact.contactDefinition.geometry.intersectionCylinderBlock.limiterBlock[2].filter.x[1],contact.contactDefinition.geometry.intersectionCylinderBlock.limiterBlock[2].filter.x[2],contact.contactDefinition.geometry.limiterBlockReferenceIn[1].y,contact.contactDefinition.geometry.limiterBlockReferenceIn[1].filter.x[1],contact.contactDefinition.geometry.limiterBlockReferenceIn[2].y,contact.contactDefinition.geometry.limiterBlockReferenceIn[2].filter.x[1],contact.contactDefinition.geometry.limiterBlockReferenceIn[3].y,contact.contactDefinition.geometry.limiterBlockReferenceIn[3].filter.x[1],contact.contactDefinition.geometry.limiterBlockReferenceIn[4].y,contact.contactDefinition.geometry.limiterBlockReferenceIn[4].filter.x[1]) * Number of discrete variables: 1 (contact.contactDefinition.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (580): * Single equations (assignments): 552 * Array equations: 24 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {7 50} Notification: Performance of Backend phase and start with SimCode phase: time 0.8639/12.61, allocations: 82.94 MB / 2.11 GB, free: 73.94 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0769/12.68, allocations: 32.08 MB / 2.142 GB, free: 70.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.188e-05/12.68, allocations: 0 / 2.142 GB, free: 70.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.03393/12.72, allocations: 14.03 MB / 2.155 GB, free: 64.11 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01285/12.73, allocations: 1.091 MB / 2.157 GB, free: 63.76 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1666/12.9, allocations: 45.37 MB / 2.201 GB, free: 29.93 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03881/12.94, allocations: 12.48 MB / 2.213 GB, free: 20.55 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.03518/12.97, allocations: 5.849 MB / 2.219 GB, free: 16.55 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.4155/13.39, allocations: 7.825 MB / 2.226 GB, free: 57.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.824e-06/13.39, allocations: 0 / 2.226 GB, free: 57.6 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.645/15.03, allocations: 376.8 MB / 2.594 GB, free: 25.11 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002258/15.03, allocations: 163.1 kB / 2.594 GB, free: 24.92 MB / 0.4948 GB 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=IdealizedContact_IdealizedContact_Examples_Example10 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=10 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IdealizedContact_IdealizedContact_Examples_Example10_FMU.o IdealizedContact_IdealizedContact_Examples_Example10_FMU.c In file included from IdealizedContact_IdealizedContact_Examples_Example10_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 IdealizedContact_IdealizedContact_Examples_Example10_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=IdealizedContact_IdealizedContact_Examples_Example10 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=10 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IdealizedContact_IdealizedContact_Examples_Example10.o IdealizedContact_IdealizedContact_Examples_Example10.c In file included from IdealizedContact_IdealizedContact_Examples_Example10.c:7: In file included from ./IdealizedContact_IdealizedContact_Examples_Example10_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=IdealizedContact_IdealizedContact_Examples_Example10 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=10 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IdealizedContact_IdealizedContact_Examples_Example10_functions.o IdealizedContact_IdealizedContact_Examples_Example10_functions.c In file included from IdealizedContact_IdealizedContact_Examples_Example10_functions.c:1: In file included from ./IdealizedContact_IdealizedContact_Examples_Example10_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); ^ IdealizedContact_IdealizedContact_Examples_Example10_functions.c:2182:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((tmp9 == ((modelica_integer) 1))) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ IdealizedContact_IdealizedContact_Examples_Example10_functions.c:2182:14: note: remove extraneous parentheses around the comparison to silence this warning if((tmp9 == ((modelica_integer) 1))) ~ ^ ~ IdealizedContact_IdealizedContact_Examples_Example10_functions.c:2182:14: note: use '=' to turn this equality comparison into an assignment if((tmp9 == ((modelica_integer) 1))) ^~ = 3 warnings generated. clang -Os -fPIC -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=IdealizedContact_IdealizedContact_Examples_Example10 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=10 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IdealizedContact_IdealizedContact_Examples_Example10_records.o IdealizedContact_IdealizedContact_Examples_Example10_records.c In file included from IdealizedContact_IdealizedContact_Examples_Example10_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=IdealizedContact_IdealizedContact_Examples_Example10 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=10 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IdealizedContact_IdealizedContact_Examples_Example10_01exo.o IdealizedContact_IdealizedContact_Examples_Example10_01exo.c In file included from IdealizedContact_IdealizedContact_Examples_Example10_01exo.c:2: In file included from ./IdealizedContact_IdealizedContact_Examples_Example10_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=IdealizedContact_IdealizedContact_Examples_Example10 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=10 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IdealizedContact_IdealizedContact_Examples_Example10_02nls.o IdealizedContact_IdealizedContact_Examples_Example10_02nls.c In file included from IdealizedContact_IdealizedContact_Examples_Example10_02nls.c:2: In file included from ./IdealizedContact_IdealizedContact_Examples_Example10_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=IdealizedContact_IdealizedContact_Examples_Example10 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=10 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IdealizedContact_IdealizedContact_Examples_Example10_03lsy.o IdealizedContact_IdealizedContact_Examples_Example10_03lsy.c In file included from IdealizedContact_IdealizedContact_Examples_Example10_03lsy.c:2: In file included from ./IdealizedContact_IdealizedContact_Examples_Example10_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=IdealizedContact_IdealizedContact_Examples_Example10 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=10 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IdealizedContact_IdealizedContact_Examples_Example10_04set.o IdealizedContact_IdealizedContact_Examples_Example10_04set.c In file included from IdealizedContact_IdealizedContact_Examples_Example10_04set.c:2: In file included from ./IdealizedContact_IdealizedContact_Examples_Example10_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=IdealizedContact_IdealizedContact_Examples_Example10 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=10 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IdealizedContact_IdealizedContact_Examples_Example10_05evt.o IdealizedContact_IdealizedContact_Examples_Example10_05evt.c In file included from IdealizedContact_IdealizedContact_Examples_Example10_05evt.c:2: In file included from ./IdealizedContact_IdealizedContact_Examples_Example10_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=IdealizedContact_IdealizedContact_Examples_Example10 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=10 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IdealizedContact_IdealizedContact_Examples_Example10_06inz.o IdealizedContact_IdealizedContact_Examples_Example10_06inz.c In file included from IdealizedContact_IdealizedContact_Examples_Example10_06inz.c:2: In file included from ./IdealizedContact_IdealizedContact_Examples_Example10_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=IdealizedContact_IdealizedContact_Examples_Example10 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=10 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IdealizedContact_IdealizedContact_Examples_Example10_07dly.o IdealizedContact_IdealizedContact_Examples_Example10_07dly.c In file included from IdealizedContact_IdealizedContact_Examples_Example10_07dly.c:2: In file included from ./IdealizedContact_IdealizedContact_Examples_Example10_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=IdealizedContact_IdealizedContact_Examples_Example10 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=10 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IdealizedContact_IdealizedContact_Examples_Example10_08bnd.o IdealizedContact_IdealizedContact_Examples_Example10_08bnd.c In file included from IdealizedContact_IdealizedContact_Examples_Example10_08bnd.c:2: In file included from ./IdealizedContact_IdealizedContact_Examples_Example10_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=IdealizedContact_IdealizedContact_Examples_Example10 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=10 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IdealizedContact_IdealizedContact_Examples_Example10_09alg.o IdealizedContact_IdealizedContact_Examples_Example10_09alg.c In file included from IdealizedContact_IdealizedContact_Examples_Example10_09alg.c:2: In file included from ./IdealizedContact_IdealizedContact_Examples_Example10_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=IdealizedContact_IdealizedContact_Examples_Example10 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=10 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IdealizedContact_IdealizedContact_Examples_Example10_10asr.o IdealizedContact_IdealizedContact_Examples_Example10_10asr.c In file included from IdealizedContact_IdealizedContact_Examples_Example10_10asr.c:2: In file included from ./IdealizedContact_IdealizedContact_Examples_Example10_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=IdealizedContact_IdealizedContact_Examples_Example10 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=10 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IdealizedContact_IdealizedContact_Examples_Example10_11mix.o IdealizedContact_IdealizedContact_Examples_Example10_11mix.c In file included from IdealizedContact_IdealizedContact_Examples_Example10_11mix.c:2: In file included from ./IdealizedContact_IdealizedContact_Examples_Example10_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=IdealizedContact_IdealizedContact_Examples_Example10 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=10 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IdealizedContact_IdealizedContact_Examples_Example10_12jac.o IdealizedContact_IdealizedContact_Examples_Example10_12jac.c In file included from IdealizedContact_IdealizedContact_Examples_Example10_12jac.c:2: In file included from ./IdealizedContact_IdealizedContact_Examples_Example10_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=IdealizedContact_IdealizedContact_Examples_Example10 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=10 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IdealizedContact_IdealizedContact_Examples_Example10_13opt.o IdealizedContact_IdealizedContact_Examples_Example10_13opt.c In file included from IdealizedContact_IdealizedContact_Examples_Example10_13opt.c:2: In file included from ./IdealizedContact_IdealizedContact_Examples_Example10_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=IdealizedContact_IdealizedContact_Examples_Example10 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=10 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IdealizedContact_IdealizedContact_Examples_Example10_14lnz.o IdealizedContact_IdealizedContact_Examples_Example10_14lnz.c In file included from IdealizedContact_IdealizedContact_Examples_Example10_14lnz.c:2: In file included from ./IdealizedContact_IdealizedContact_Examples_Example10_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=IdealizedContact_IdealizedContact_Examples_Example10 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=10 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IdealizedContact_IdealizedContact_Examples_Example10_15syn.o IdealizedContact_IdealizedContact_Examples_Example10_15syn.c In file included from IdealizedContact_IdealizedContact_Examples_Example10_15syn.c:2: In file included from ./IdealizedContact_IdealizedContact_Examples_Example10_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=IdealizedContact_IdealizedContact_Examples_Example10 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=10 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IdealizedContact_IdealizedContact_Examples_Example10_16dae.o IdealizedContact_IdealizedContact_Examples_Example10_16dae.c In file included from IdealizedContact_IdealizedContact_Examples_Example10_16dae.c:2: In file included from ./IdealizedContact_IdealizedContact_Examples_Example10_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=IdealizedContact_IdealizedContact_Examples_Example10 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=10 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IdealizedContact_IdealizedContact_Examples_Example10_17inl.o IdealizedContact_IdealizedContact_Examples_Example10_17inl.c In file included from IdealizedContact_IdealizedContact_Examples_Example10_17inl.c:2: In file included from ./IdealizedContact_IdealizedContact_Examples_Example10_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=IdealizedContact_IdealizedContact_Examples_Example10 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=10 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IdealizedContact_IdealizedContact_Examples_Example10_init_fmu.o IdealizedContact_IdealizedContact_Examples_Example10_init_fmu.c In file included from IdealizedContact_IdealizedContact_Examples_Example10_init_fmu.c:1: In file included from include/simulation_data.h:39: 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=IdealizedContact_IdealizedContact_Examples_Example10 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=10 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IdealizedContact_IdealizedContact_Examples_Example10_06inz_part0.o IdealizedContact_IdealizedContact_Examples_Example10_06inz_part0.c In file included from IdealizedContact_IdealizedContact_Examples_Example10_06inz_part0.c:1: In file included from ./IdealizedContact_IdealizedContact_Examples_Example10_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); ^ IdealizedContact_IdealizedContact_Examples_Example10_06inz_part0.c:10983:46: error: use of undeclared identifier '$Pcontact$PintersectionCylinderBlock$PlimiterBlock$lB1$rB$Pf' data->simulationInfo->realParameter[145] = $Pcontact$PintersectionCylinderBlock$PlimiterBlock$lB1$rB$Pf; ^ IdealizedContact_IdealizedContact_Examples_Example10_06inz_part0.c:10996:46: error: use of undeclared identifier '$Pcontact$PintersectionCylinderBlock$PlimiterBlock$lB2$rB$Pf' data->simulationInfo->realParameter[146] = $Pcontact$PintersectionCylinderBlock$PlimiterBlock$lB2$rB$Pf; ^ IdealizedContact_IdealizedContact_Examples_Example10_06inz_part0.c:11009:46: error: use of undeclared identifier '$Pcontact$PlimiterBlockReferenceIn$lB1$rB$Pf' data->simulationInfo->realParameter[189] = $Pcontact$PlimiterBlockReferenceIn$lB1$rB$Pf; ^ IdealizedContact_IdealizedContact_Examples_Example10_06inz_part0.c:11022:46: error: use of undeclared identifier '$Pcontact$PlimiterBlockReferenceIn$lB2$rB$Pf' data->simulationInfo->realParameter[190] = $Pcontact$PlimiterBlockReferenceIn$lB2$rB$Pf; ^ IdealizedContact_IdealizedContact_Examples_Example10_06inz_part0.c:11035:46: error: use of undeclared identifier '$Pcontact$PlimiterBlockReferenceIn$lB3$rB$Pf' data->simulationInfo->realParameter[191] = $Pcontact$PlimiterBlockReferenceIn$lB3$rB$Pf; ^ IdealizedContact_IdealizedContact_Examples_Example10_06inz_part0.c:11048:46: error: use of undeclared identifier '$Pcontact$PlimiterBlockReferenceIn$lB4$rB$Pf' data->simulationInfo->realParameter[192] = $Pcontact$PlimiterBlockReferenceIn$lB4$rB$Pf; ^ 2 warnings and 6 errors generated. : recipe for target 'IdealizedContact_IdealizedContact_Examples_Example10_06inz_part0.o' failed make: *** [IdealizedContact_IdealizedContact_Examples_Example10_06inz_part0.o] Error 1