Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Drives.SM_ctrl,fileNamePrefix="PowerSystems_latest_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.0007457/0.0007458, allocations: 89.91 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.0007395/0.0007395, allocations: 173.9 kB / 17.56 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.258/1.258, allocations: 223.2 MB / 241.6 MB, free: 104 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.164/0.164, allocations: 38.1 MB / 330.8 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002668/0.0002668, allocations: 12.97 kB / 400.8 MB, free: 34.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09308/0.09336, allocations: 59.16 MB / 460 MB, free: 6.992 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.SM_ctrl): time 0.008742/0.1022, allocations: 8.041 MB / 468 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005248/0.1074, allocations: 3.464 MB / 471.5 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006944/0.1082, allocations: 51.69 kB / 471.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006777/0.1088, allocations: 210.6 kB / 471.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001646/0.1105, allocations: 0.7159 MB / 472.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008784/0.1114, allocations: 427.5 kB / 472.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002212/0.1136, allocations: 2.331 MB / 475.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001672/0.1153, allocations: 1.436 MB / 476.6 MB, free: 6.211 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007914/0.1161, allocations: 0.5797 MB / 477.2 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008933/0.117, allocations: 0.7393 MB / 478 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.1171, allocations: 60 kB / 478 MB, free: 4.828 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009633/0.1181, allocations: 0.6279 MB / 478.6 MB, free: 4.199 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004171/0.1185, allocations: 458.7 kB / 479.1 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000608/0.1192, allocations: 0.6663 MB / 479.8 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001953/0.1211, allocations: 2.258 MB / 482 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1211, allocations: 7.922 kB / 482 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.1211, allocations: 0 / 482 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.82e-05/0.1212, allocations: 0 / 482 MB, free: 0.8008 MB / 350.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.003219/0.1244, allocations: 1.636 MB / 483.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.1244, allocations: 8.031 kB / 483.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002492/0.1247, allocations: 185.7 kB / 483.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006855/0.1254, allocations: 195.2 kB / 484 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/0.1269, allocations: 0.9492 MB / 485 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001726/0.127, allocations: 191.3 kB / 485.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002518/0.1273, allocations: 127.9 kB / 485.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003164/0.1305, allocations: 1.853 MB / 487.2 MB, free: 11.42 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.895e-05/0.1305, allocations: 7.891 kB / 487.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001507/0.1307, allocations: 44 kB / 487.2 MB, free: 11.37 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00012/0.1308, allocations: 77.97 kB / 487.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002758/0.1336, allocations: 1.464 MB / 488.7 MB, free: 9.828 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008043/0.1416, allocations: 6.388 MB / 495.1 MB, free: 3.176 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003177/0.1448, allocations: 1.271 MB / 496.4 MB, free: 1.852 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001379/0.1462, allocations: 0.6259 MB / 497 MB, free: 1.219 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.906e-05/0.1463, allocations: 12.59 kB / 497 MB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001566/0.1479, allocations: 0.8058 MB / 497.8 MB, free: 392 kB / 366.1 MB Notification: Performance of pre-optimization done (n=88): time 2.785e-06/0.1479, allocations: 0 / 497.8 MB, free: 392 kB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.007975/0.1559, allocations: 3.622 MB / 0.4897 GB, free: 12.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.156, allocations: 165.1 kB / 0.4899 GB, free: 12.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.1571, allocations: 0.8291 MB / 0.4907 GB, free: 11.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.673e-05/0.1572, allocations: 53.7 kB / 0.4907 GB, free: 11.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004649/0.1577, allocations: 0.5573 MB / 0.4913 GB, free: 11.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002654/0.158, allocations: 307.7 kB / 0.4916 GB, free: 10.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.1581, allocations: 113.6 kB / 0.4917 GB, free: 10.63 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.1583, allocations: 406.7 kB / 0.4921 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008653/0.1592, allocations: 0.5414 MB / 0.4926 GB, free: 9.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.1602, allocations: 0.8656 MB / 0.4934 GB, free: 8.672 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005149/0.1654, allocations: 2.726 MB / 0.4961 GB, free: 5.773 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.1654, allocations: 4 kB / 0.4961 GB, free: 5.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00375/0.1691, allocations: 2.107 MB / 0.4982 GB, free: 3.641 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002923/0.1695, allocations: 448.8 kB / 0.4986 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.1695, allocations: 8 kB / 0.4986 GB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001906/0.1714, allocations: 0.8023 MB / 0.4994 GB, free: 2.238 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006028/0.172, allocations: 179.7 kB / 0.4996 GB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002163/0.1742, allocations: 1.874 MB / 0.5014 GB, free: 160 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007583/0.1749, allocations: 95.89 kB / 0.5015 GB, free: 64 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.1817/0.3567, allocations: 77.34 kB / 0.5016 GB, free: 55.03 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.3568, allocations: 4.062 kB / 0.5016 GB, free: 55.03 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004159/0.3609, allocations: 2.129 MB / 0.5036 GB, free: 54.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.361, allocations: 11.06 kB / 0.5036 GB, free: 54.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001843/0.3628, allocations: 0.7645 MB / 0.5044 GB, free: 54.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006183/0.3634, allocations: 184.8 kB / 0.5046 GB, free: 54.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001937/0.3654, allocations: 1.829 MB / 0.5064 GB, free: 53.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008158/0.3662, allocations: 86.84 kB / 0.5064 GB, free: 53.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/0.3664, allocations: 85.12 kB / 0.5065 GB, free: 53.93 MB / 382.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.0007585/0.3671, allocations: 0.5214 MB / 0.507 GB, free: 53.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/0.3673, allocations: 104.6 kB / 0.5071 GB, free: 53.58 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003072/0.3704, allocations: 1.347 MB / 0.5084 GB, free: 53.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.513e-05/0.3704, allocations: 16.09 kB / 0.5085 GB, free: 53.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.3704, allocations: 2.688 kB / 0.5085 GB, free: 53.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.3705, allocations: 11.56 kB / 0.5085 GB, free: 53.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004951/0.3754, allocations: 2.764 MB / 0.5112 GB, free: 51.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.3754, allocations: 1.547 kB / 0.5112 GB, free: 51.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000779/0.3762, allocations: 161.1 kB / 0.5113 GB, free: 51.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001079/0.3763, allocations: 32.81 kB / 0.5114 GB, free: 51.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.382e-05/0.3764, allocations: 26.39 kB / 0.5114 GB, free: 51.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007347/0.3772, allocations: 1.285 MB / 0.5126 GB, free: 50.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.3772, allocations: 1.625 kB / 0.5126 GB, free: 50.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004505/0.3817, allocations: 2.126 MB / 0.5147 GB, free: 49.81 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006175/0.3823, allocations: 293.7 kB / 0.515 GB, free: 49.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002398/0.3826, allocations: 94.03 kB / 0.5151 GB, free: 49.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008985/0.3835, allocations: 119.3 kB / 0.5152 GB, free: 49.6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001835/0.3837, allocations: 61.53 kB / 0.5153 GB, free: 49.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.617e-05/0.3838, allocations: 30.73 kB / 0.5153 GB, free: 49.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009118/0.3847, allocations: 0.5667 MB / 0.5158 GB, free: 49.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.72e-07/0.3847, allocations: 3.906 kB / 0.5158 GB, free: 49.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001633/0.3863, allocations: 494.4 kB / 0.5163 GB, free: 49.29 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.004846/0.3912, allocations: 2.772 MB / 0.519 GB, free: 47.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004179/0.3954, allocations: 2.624 MB / 0.5216 GB, free: 46.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.3954, allocations: 1.125 kB / 0.5216 GB, free: 46.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001373/0.3968, allocations: 0.754 MB / 0.5223 GB, free: 46.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/0.3981, allocations: 268.7 kB / 0.5226 GB, free: 46.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01481/0.4129, allocations: 12.73 MB / 0.535 GB, free: 35.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005594/0.4135, allocations: 1.225 MB / 0.5362 GB, free: 33.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008864/0.4144, allocations: 328 kB / 0.5365 GB, free: 33.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004549/0.4149, allocations: 427.3 kB / 0.5369 GB, free: 33.06 MB / 382.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4149, allocations: 0 / 0.5369 GB, free: 33.06 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03718/0.4521, allocations: 28.71 MB / 0.565 GB, free: 4.664 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001543/0.4523, allocations: 225.2 kB / 0.5652 GB, free: 4.414 MB / 382.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_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl.c:7: In file included from ./PowerSystems_latest_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_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_functions.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_functions.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_functions.c:2: In file included from ./PowerSystems_latest_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_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_records.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_records.c In file included from PowerSystems_latest_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_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_01exo.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_01exo.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_01exo.c:2: In file included from ./PowerSystems_latest_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_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_02nls.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_02nls.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_02nls.c:2: In file included from ./PowerSystems_latest_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_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_03lsy.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_03lsy.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_03lsy.c:2: In file included from ./PowerSystems_latest_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_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_04set.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_04set.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_04set.c:2: In file included from ./PowerSystems_latest_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_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_05evt.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_05evt.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_05evt.c:2: In file included from ./PowerSystems_latest_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_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_06inz.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_06inz.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_06inz.c:2: In file included from ./PowerSystems_latest_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_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_07dly.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_07dly.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_07dly.c:2: In file included from ./PowerSystems_latest_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_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_08bnd.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_08bnd.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_08bnd.c:2: In file included from ./PowerSystems_latest_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_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_09alg.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_09alg.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_09alg.c:2: In file included from ./PowerSystems_latest_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_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_10asr.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_10asr.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_10asr.c:2: In file included from ./PowerSystems_latest_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_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_11mix.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_11mix.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_11mix.c:2: In file included from ./PowerSystems_latest_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_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_12jac.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_12jac.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_12jac.c:2: In file included from ./PowerSystems_latest_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_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_13opt.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_13opt.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_13opt.c:2: In file included from ./PowerSystems_latest_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_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_14lnz.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_14lnz.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_14lnz.c:2: In file included from ./PowerSystems_latest_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_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_15syn.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_15syn.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_15syn.c:2: In file included from ./PowerSystems_latest_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_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_16dae.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_16dae.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_16dae.c:2: In file included from ./PowerSystems_latest_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_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_17inl.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_17inl.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_17inl.c:2: In file included from ./PowerSystems_latest_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_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_18spd.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_18spd.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_18spd.c:2: In file included from ./PowerSystems_latest_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_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_init_fmu.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_init_fmu.c In file included from PowerSystems_latest_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_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_FMU.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_FMU.c In file included from PowerSystems_latest_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_latest_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_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl.so PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_functions.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_records.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_01exo.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_02nls.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_03lsy.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_04set.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_05evt.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_06inz.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_07dly.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_08bnd.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_09alg.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_10asr.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_11mix.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_12jac.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_13opt.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_14lnz.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_15syn.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_16dae.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_17inl.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_18spd.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_init_fmu.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_SM_ctrl_FMU.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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