Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Drives.SM_ctrl,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Drives.SM_ctrl,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007585/0.0007585, allocations: 92.97 kB / 16.65 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009281/0.0009282, allocations: 172.2 kB / 17.56 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.293/1.293, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1722/0.1722, allocations: 38.06 MB / 310.1 MB, free: 5.992 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005187/0.0005186, allocations: 12 kB / 377.3 MB, free: 2.695 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2503, allocations: 56.32 MB / 433.6 MB, free: 18.67 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.SM_ctrl): time 0.007072/0.2575, allocations: 8.049 MB / 441.6 MB, free: 10.58 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005373/0.2629, allocations: 3.495 MB / 445.1 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001107/0.264, allocations: 51.69 kB / 445.2 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007524/0.2648, allocations: 218.6 kB / 445.4 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001765/0.2666, allocations: 0.7198 MB / 446.1 MB, free: 6.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008535/0.2674, allocations: 422 kB / 446.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001806/0.2692, allocations: 2.346 MB / 448.9 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001421/0.2707, allocations: 1.429 MB / 450.3 MB, free: 1.844 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006837/0.2714, allocations: 0.5873 MB / 450.9 MB, free: 1.254 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000732/0.2721, allocations: 0.7432 MB / 451.6 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.2722, allocations: 60 kB / 451.7 MB, free: 460 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008913/0.2731, allocations: 0.6201 MB / 452.3 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004006/0.2735, allocations: 458.6 kB / 452.8 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006011/0.2742, allocations: 0.6663 MB / 453.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001903/0.2761, allocations: 2.254 MB / 455.7 MB, free: 12.44 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2761, allocations: 4 kB / 455.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2761, allocations: 0 / 455.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.215e-05/0.2761, allocations: 0 / 455.7 MB, free: 12.43 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 302 * Number of variables: 302 Notification: Performance of Generate backend data structure: time 0.003154/0.2793, allocations: 1.656 MB / 457.3 MB, free: 10.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.2793, allocations: 8.031 kB / 457.3 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002364/0.2796, allocations: 185.7 kB / 457.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006524/0.2802, allocations: 191.2 kB / 457.7 MB, free: 10.31 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001554/0.2818, allocations: 0.9609 MB / 458.7 MB, free: 9.305 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000166/0.282, allocations: 191.3 kB / 458.9 MB, free: 9.098 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002395/0.2822, allocations: 116 kB / 459 MB, free: 8.984 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003167/0.2854, allocations: 1.853 MB / 460.8 MB, free: 7.035 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.152e-05/0.2855, allocations: 15.84 kB / 460.8 MB, free: 7.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/0.2856, allocations: 47.98 kB / 460.9 MB, free: 6.973 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001254/0.2857, allocations: 77.97 kB / 461 MB, free: 6.895 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002699/0.2884, allocations: 1.452 MB / 462.4 MB, free: 5.445 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007902/0.2964, allocations: 6.396 MB / 468.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003086/0.2995, allocations: 1.267 MB / 470.1 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001357/0.3008, allocations: 0.6297 MB / 470.7 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.972e-05/0.3009, allocations: 20.8 kB / 470.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00161/0.3025, allocations: 0.7995 MB / 471.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=88): time 4.088e-06/0.3025, allocations: 3.984 kB / 471.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=92): time 0.008672/0.3112, allocations: 3.63 MB / 475.2 MB, free: 8.309 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.3114, allocations: 157.1 kB / 475.3 MB, free: 8.121 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.3125, allocations: 0.8369 MB / 476.2 MB, free: 7.273 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.014e-05/0.3126, allocations: 57.69 kB / 476.2 MB, free: 7.211 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004695/0.3131, allocations: 0.5573 MB / 476.8 MB, free: 6.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003009/0.3134, allocations: 315.8 kB / 477.1 MB, free: 6.332 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.3135, allocations: 109.7 kB / 477.2 MB, free: 6.219 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.3137, allocations: 357.9 kB / 477.5 MB, free: 5.863 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008497/0.3145, allocations: 0.5336 MB / 478.1 MB, free: 5.328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/0.3156, allocations: 0.8733 MB / 478.9 MB, free: 4.312 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005332/0.3209, allocations: 2.714 MB / 481.7 MB, free: 1.426 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.131e-05/0.321, allocations: 0 / 481.7 MB, free: 1.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003904/0.3249, allocations: 2.111 MB / 483.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000335/0.3252, allocations: 448.5 kB / 484.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.3253, allocations: 12 kB / 484.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001908/0.3272, allocations: 0.7945 MB / 485 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006409/0.3278, allocations: 179.7 kB / 485.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002283/0.3301, allocations: 1.874 MB / 487.1 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009549/0.3311, allocations: 91.91 kB / 487.2 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/0.3313, allocations: 79.89 kB / 487.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.3313, allocations: 8 kB / 487.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003714/0.335, allocations: 2.138 MB / 489.4 MB, free: 9.488 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-05/0.3351, allocations: 12 kB / 489.4 MB, free: 9.477 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001846/0.3369, allocations: 0.7756 MB / 490.2 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000631/0.3376, allocations: 187.7 kB / 490.3 MB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002193/0.3398, allocations: 1.835 MB / 492.2 MB, free: 6.641 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008412/0.3406, allocations: 83.94 kB / 492.3 MB, free: 6.559 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/0.3408, allocations: 79.89 kB / 492.3 MB, free: 6.48 MB / 366.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.sm_ctrl.rotor.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 29 (system.initime,$PRE.sm_ctrl.inverter.modulator.gates[1],$PRE.sm_ctrl.inverter.modulator.gates[2],$PRE.sm_ctrl.inverter.modulator.gates[3],$PRE.sm_ctrl.inverter.modulator.gates[4],$PRE.sm_ctrl.inverter.modulator.gates[5],$PRE.sm_ctrl.inverter.modulator.gates[6],$PRE.sm_ctrl.inverter.modulator.t0[3],$PRE.sm_ctrl.inverter.modulator.t0[2],$PRE.sm_ctrl.inverter.modulator.t0[1],$PRE.sm_ctrl.inverter.modulator.sigdel_t[3],$PRE.sm_ctrl.inverter.modulator.sigdel_t[2],$PRE.sm_ctrl.inverter.modulator.sigdel_t[1],sm_ctrl.inverter.modulator.t0[3],sm_ctrl.inverter.modulator.t0[2],sm_ctrl.inverter.modulator.t0[1],sm_ctrl.inverter.modulator.sigdel_t[3],sm_ctrl.inverter.modulator.sigdel_t[2],sm_ctrl.inverter.modulator.sigdel_t[1],sm_ctrl.inverter.modulator.gates[6],sm_ctrl.inverter.modulator.gates[5],sm_ctrl.inverter.modulator.gates[4],sm_ctrl.inverter.modulator.gates[3],sm_ctrl.inverter.modulator.gates[2],sm_ctrl.inverter.modulator.gates[1],$whenCondition1,$whenCondition2,$whenCondition3,PI_i_q.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 102 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,30)} Notification: Performance of prepare postOptimizeDAE: time 0.0009722/0.3418, allocations: 0.5288 MB / 492.9 MB, free: 5.945 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002894/0.3421, allocations: 110.7 kB / 493 MB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003191/0.3453, allocations: 1.348 MB / 494.3 MB, free: 4.473 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.957e-05/0.3453, allocations: 20 kB / 494.3 MB, free: 4.453 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.988e-06/0.3453, allocations: 0 / 494.3 MB, free: 4.453 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.3453, allocations: 3.984 kB / 494.3 MB, free: 4.449 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005481/0.3508, allocations: 2.766 MB / 497.1 MB, free: 1.609 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.3508, allocations: 4 kB / 497.1 MB, free: 1.605 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008033/0.3517, allocations: 163.8 kB / 497.3 MB, free: 1.445 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001186/0.3518, allocations: 24.84 kB / 497.3 MB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.852e-05/0.3519, allocations: 27.97 kB / 497.3 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009679/0.3529, allocations: 1.284 MB / 498.6 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.3529, allocations: 4.031 kB / 498.6 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004462/0.3573, allocations: 2.123 MB / 0.489 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005424/0.3579, allocations: 291.8 kB / 0.4893 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002857/0.3582, allocations: 91.94 kB / 0.4894 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009443/0.3591, allocations: 115.9 kB / 0.4895 GB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/0.3593, allocations: 60.91 kB / 0.4895 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.982e-05/0.3594, allocations: 31.98 kB / 0.4896 GB, free: 13.22 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009361/0.3603, allocations: 0.5693 MB / 0.4901 GB, free: 12.65 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3603, allocations: 0 / 0.4901 GB, free: 12.65 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001794/0.3622, allocations: 495.9 kB / 0.4906 GB, free: 12.17 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (sm_ctrl.motor.i_s[1],sm_ctrl.motor.i_s[2],sm_ctrl.motor.i_s[3],loadInertia.w,frictTorq.phi,PI_i_q.I.y) * Number of discrete variables: 16 ($whenCondition3,$whenCondition2,$whenCondition1,sm_ctrl.inverter.modulator.gates[1],sm_ctrl.inverter.modulator.gates[2],sm_ctrl.inverter.modulator.gates[3],sm_ctrl.inverter.modulator.gates[4],sm_ctrl.inverter.modulator.gates[5],sm_ctrl.inverter.modulator.gates[6],sm_ctrl.inverter.modulator.sigdel_t[1],sm_ctrl.inverter.modulator.sigdel_t[2],sm_ctrl.inverter.modulator.sigdel_t[3],sm_ctrl.inverter.modulator.t0[1],sm_ctrl.inverter.modulator.t0[2],sm_ctrl.inverter.modulator.t0[3],system.initime) * Number of discrete states: 12 (sm_ctrl.inverter.modulator.t0[3],sm_ctrl.inverter.modulator.sigdel_t[3],sm_ctrl.inverter.modulator.gates[5],sm_ctrl.inverter.modulator.gates[6],sm_ctrl.inverter.modulator.t0[2],sm_ctrl.inverter.modulator.sigdel_t[2],sm_ctrl.inverter.modulator.gates[3],sm_ctrl.inverter.modulator.gates[4],sm_ctrl.inverter.modulator.t0[1],sm_ctrl.inverter.modulator.sigdel_t[1],sm_ctrl.inverter.modulator.gates[1],sm_ctrl.inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 73 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005306/0.3675, allocations: 2.788 MB / 0.4933 GB, free: 9.348 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004793/0.3723, allocations: 2.616 MB / 0.4959 GB, free: 6.711 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.3723, allocations: 0 / 0.4959 GB, free: 6.711 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00164/0.374, allocations: 0.7502 MB / 0.4966 GB, free: 5.949 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001736/0.3757, allocations: 258.6 kB / 0.4969 GB, free: 5.707 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02167/0.3974, allocations: 12.77 MB / 0.5093 GB, free: 8.402 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008721/0.3983, allocations: 1.23 MB / 0.5105 GB, free: 7.145 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001072/0.3994, allocations: 324 kB / 0.5108 GB, free: 6.824 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000601/0.4, allocations: 423.3 kB / 0.5112 GB, free: 6.41 MB / 398.1 MB Notification: Performance of SimCode: time 9.31e-07/0.4, allocations: 0 / 0.5112 GB, free: 6.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2374/0.6374, allocations: 28.75 MB / 0.5393 GB, free: 73.93 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001609/0.6376, allocations: 218.6 kB / 0.5395 GB, free: 73.68 MB / 398.1 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl.c:7: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227: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 -Wno-parentheses-equality -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_functions.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_functions.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_functions.c:2: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227: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 -Wno-parentheses-equality -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_records.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_records.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227: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 -Wno-parentheses-equality -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_01exo.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_01exo.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_01exo.c:2: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227: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 -Wno-parentheses-equality -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_02nls.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_02nls.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_02nls.c:2: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227: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 -Wno-parentheses-equality -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_03lsy.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_03lsy.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_03lsy.c:2: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227: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 -Wno-parentheses-equality -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_04set.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_04set.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_04set.c:2: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227: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 -Wno-parentheses-equality -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_05evt.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_05evt.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_05evt.c:2: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227: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 -Wno-parentheses-equality -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_06inz.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_06inz.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_06inz.c:2: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227: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 -Wno-parentheses-equality -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_07dly.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_07dly.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_07dly.c:2: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227: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 -Wno-parentheses-equality -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_08bnd.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_08bnd.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_08bnd.c:2: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227: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 -Wno-parentheses-equality -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_09alg.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_09alg.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_09alg.c:2: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227: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 -Wno-parentheses-equality -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_10asr.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_10asr.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_10asr.c:2: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227: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 -Wno-parentheses-equality -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_11mix.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_11mix.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_11mix.c:2: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227: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 -Wno-parentheses-equality -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_12jac.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_12jac.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_12jac.c:2: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227: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 -Wno-parentheses-equality -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_13opt.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_13opt.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_13opt.c:2: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227: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 -Wno-parentheses-equality -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_14lnz.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_14lnz.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_14lnz.c:2: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227: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 -Wno-parentheses-equality -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_15syn.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_15syn.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_15syn.c:2: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227: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 -Wno-parentheses-equality -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_16dae.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_16dae.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_16dae.c:2: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227: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 -Wno-parentheses-equality -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_17inl.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_17inl.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_17inl.c:2: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227: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 -Wno-parentheses-equality -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_18spd.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_18spd.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_18spd.c:2: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227: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 -Wno-parentheses-equality -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_init_fmu.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_init_fmu.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_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:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227: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 -Wno-parentheses-equality -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_FMU.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_FMU.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_FMU.c:9: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_FMU.c:59: ./fmi-export/fmu2_model_interface.c.inc:213: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); ^ 3 warnings generated. mkdir -p ../binaries/linux64 clang -shared -o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl.so PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_functions.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_records.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_01exo.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_02nls.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_03lsy.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_04set.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_05evt.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_06inz.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_07dly.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_08bnd.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_09alg.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_10asr.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_11mix.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_12jac.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_13opt.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_14lnz.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_15syn.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_16dae.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_17inl.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_18spd.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_init_fmu.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_FMU.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/Examples/AC3ph" -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' -Wl,-Bstatic -lSimulationRuntimeFMI -Wl,--no-as-needed -Wl,--disable-new-dtags -llapack -lblas -Wl,-Bdynamic -lm -lpthread -rdynamic -Wl,--no-undefined /usr/bin/ld: /lib/x86_64-linux-gnu/liblapack.a(dtrtri.o): in function `dtrtri_': (.text+0x1a2): undefined reference to `_gfortran_concat_string' clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:65: nozip] Error 1