Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.conf.json 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/HanserModelica 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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) Running command: "" <> buildModelFMU(HanserModelica.Electrical.RLSeriesFrequencySweep,fileNamePrefix="HanserModelica_HanserModelica_Electrical_RLSeriesFrequencySweep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Electrical.RLSeriesFrequencySweep,fileNamePrefix="HanserModelica_HanserModelica_Electrical_RLSeriesFrequencySweep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007826/0.007826, allocations: 169.8 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.05457/0.05458, allocations: 8.794 MB / 24.65 MB, free: 4.113 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 223.2 MB / 250.7 MB, free: 4.836 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009488/0.0009488, allocations: 104.8 kB / 304 MB, free: 3.672 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003675/0.0003674, allocations: 19.92 kB / 367.2 MB, free: 6.711 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09591/0.09629, allocations: 52.54 MB / 419.7 MB, free: 2.117 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2833/0.3796, allocations: 86.18 MB / 0.494 GB, free: 6.09 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.3799, allocations: 72.91 kB / 0.4941 GB, free: 6.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03791/0.4178, allocations: 16.5 MB / 0.5102 GB, free: 5.621 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4179, allocations: 0 / 0.5102 GB, free: 5.621 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.893e-05/0.4179, allocations: 11.98 kB / 0.5102 GB, free: 5.609 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001659/0.4196, allocations: 0.8187 MB / 0.511 GB, free: 4.746 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.4196, allocations: 8.562 kB / 0.511 GB, free: 4.738 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000159/0.4198, allocations: 108.8 kB / 0.5111 GB, free: 4.621 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001849/0.4217, allocations: 304.8 kB / 0.5114 GB, free: 4.324 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004269/0.4221, allocations: 344.1 kB / 0.5118 GB, free: 3.945 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.053e-05/0.4222, allocations: 49.3 kB / 0.5118 GB, free: 3.898 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.266e-05/0.4223, allocations: 56 kB / 0.5119 GB, free: 3.844 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.4234, allocations: 0.6588 MB / 0.5125 GB, free: 3.172 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.4234, allocations: 0 / 0.5125 GB, free: 3.172 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.786e-05/0.4235, allocations: 31.95 kB / 0.5125 GB, free: 3.141 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.4235, allocations: 12 kB / 0.5125 GB, free: 3.129 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.4246, allocations: 0.6297 MB / 0.5132 GB, free: 2.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00311/0.4277, allocations: 2.257 MB / 0.5154 GB, free: 104 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/0.4293, allocations: 1.26 MB / 0.5166 GB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.984e-05/0.4294, allocations: 93.53 kB / 0.5167 GB, free: 14.55 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.4294, allocations: 42.94 kB / 0.5167 GB, free: 14.5 MB / 394.7 MB Notification: Performance of pre-optimization done (n=48): time 2.766e-06/0.4294, allocations: 0 / 0.5167 GB, free: 14.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=48): time 0.001808/0.4312, allocations: 0.9406 MB / 0.5176 GB, free: 13.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.4313, allocations: 92.8 kB / 0.5177 GB, free: 13.39 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002341/0.4315, allocations: 237.6 kB / 0.518 GB, free: 13.16 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.473e-05/0.4316, allocations: 37.64 kB / 0.518 GB, free: 13.12 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.4317, allocations: 244.4 kB / 0.5182 GB, free: 12.88 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.4318, allocations: 157.9 kB / 0.5184 GB, free: 12.72 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.437e-05/0.4319, allocations: 12 kB / 0.5184 GB, free: 12.71 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.432, allocations: 346.8 kB / 0.5187 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003461/0.4323, allocations: 173 kB / 0.5189 GB, free: 12.2 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004183/0.4328, allocations: 299.2 kB / 0.5192 GB, free: 11.85 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000391/0.4332, allocations: 212.3 kB / 0.5194 GB, free: 11.64 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.4332, allocations: 0 / 0.5194 GB, free: 11.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001078/0.4343, allocations: 0.598 MB / 0.52 GB, free: 11.04 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004369/0.4347, allocations: 1.309 MB / 0.5212 GB, free: 9.625 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.4347, allocations: 7.984 kB / 0.5212 GB, free: 9.617 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002444/0.435, allocations: 56.77 kB / 0.5213 GB, free: 9.562 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004355/0.4354, allocations: 115.8 kB / 0.5214 GB, free: 9.449 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/0.4368, allocations: 1.595 MB / 0.523 GB, free: 7.719 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003518/0.4372, allocations: 63.36 kB / 0.523 GB, free: 7.656 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.834e-05/0.4372, allocations: 23.98 kB / 0.523 GB, free: 7.633 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.4373, allocations: 4.844 kB / 0.523 GB, free: 7.629 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009756/0.4382, allocations: 0.5083 MB / 0.5235 GB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.4383, allocations: 4 kB / 0.5235 GB, free: 7.117 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001458/0.4384, allocations: 56.77 kB / 0.5236 GB, free: 7.059 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003889/0.4388, allocations: 91.89 kB / 0.5237 GB, free: 6.969 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001133/0.4399, allocations: 1.536 MB / 0.5252 GB, free: 5.301 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000295/0.4403, allocations: 59.5 kB / 0.5252 GB, free: 5.242 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.716e-05/0.4403, allocations: 23.98 kB / 0.5253 GB, free: 5.219 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002669/0.4406, allocations: 249 kB / 0.5255 GB, free: 4.965 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.408e-05/0.4406, allocations: 31.62 kB / 0.5255 GB, free: 4.934 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/0.4418, allocations: 0.5712 MB / 0.5261 GB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.4418, allocations: 8 kB / 0.5261 GB, free: 4.348 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.4418, allocations: 0 / 0.5261 GB, free: 4.348 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.4418, allocations: 3.984 kB / 0.5261 GB, free: 4.344 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001708/0.4435, allocations: 1.182 MB / 0.5273 GB, free: 3.102 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.4435, allocations: 0 / 0.5273 GB, free: 3.102 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000376/0.4439, allocations: 87.89 kB / 0.5273 GB, free: 3.016 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001637/0.4441, allocations: 44.83 kB / 0.5274 GB, free: 2.969 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.169e-05/0.4441, allocations: 21.05 kB / 0.5274 GB, free: 2.949 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001228/0.4454, allocations: 1.59 MB / 0.529 GB, free: 1.223 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.4454, allocations: 2.25 kB / 0.529 GB, free: 1.223 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.4468, allocations: 0.87 MB / 0.5298 GB, free: 340 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.447, allocations: 155 kB / 0.53 GB, free: 168 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.669e-05/0.4471, allocations: 11.98 kB / 0.53 GB, free: 156 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002873/0.4473, allocations: 27.98 kB / 0.53 GB, free: 128 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.445e-05/0.4474, allocations: 28.39 kB / 0.53 GB, free: 100 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.942e-05/0.4475, allocations: 16 kB / 0.53 GB, free: 84 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001766/0.4477, allocations: 194 kB / 0.5302 GB, free: 15.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4477, allocations: 0 / 0.5302 GB, free: 15.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008364/0.4485, allocations: 255.1 kB / 0.5305 GB, free: 15.64 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensor.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001828/0.4503, allocations: 1.442 MB / 0.5319 GB, free: 14.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00169/0.452, allocations: 0.9891 MB / 0.5328 GB, free: 13.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.4521, allocations: 0 / 0.5328 GB, free: 13.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005495/0.4526, allocations: 381.5 kB / 0.5332 GB, free: 12.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.453, allocations: 36.55 kB / 0.5332 GB, free: 12.74 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004238/0.4572, allocations: 4.64 MB / 0.5378 GB, free: 7.992 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.4576, allocations: 0.8405 MB / 0.5386 GB, free: 7.125 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004557/0.4581, allocations: 71.25 kB / 0.5387 GB, free: 7.055 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003077/0.4584, allocations: 159.3 kB / 0.5388 GB, free: 6.898 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.4584, allocations: 0 / 0.5388 GB, free: 6.898 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02281/0.4812, allocations: 8.684 MB / 0.5473 GB, free: 14.51 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001639/0.4814, allocations: 201.6 kB / 0.5475 GB, free: 14.27 MB / 426.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o HanserModelica_HanserModelica_Electrical_RLSeriesFrequencySweep.o HanserModelica_HanserModelica_Electrical_RLSeriesFrequencySweep.c In file included from HanserModelica_HanserModelica_Electrical_RLSeriesFrequencySweep.c:7: In file included from ./HanserModelica_HanserModelica_Electrical_RLSeriesFrequencySweep_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from HanserModelica_HanserModelica_Electrical_RLSeriesFrequencySweep.c:7: In file included from ./HanserModelica_HanserModelica_Electrical_RLSeriesFrequencySweep_model.h:24: ./HanserModelica_HanserModelica_Electrical_RLSeriesFrequencySweep_functions.h:253:1: error: unknown type name '_omcQComplexOutput_24currentSensor_24i' _omcQComplexOutput_24currentSensor_24i omc__omcQComplexOutput_24currentSensor_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./HanserModelica_HanserModelica_Electrical_RLSeriesFrequencySweep_functions.h:262:1: error: unknown type name '_omcQComplexOutput_24voltageSensor_24v' _omcQComplexOutput_24voltageSensor_24v omc__omcQComplexOutput_24voltageSensor_24v (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 2 warnings and 2 errors generated. make: *** [: HanserModelica_HanserModelica_Electrical_RLSeriesFrequencySweep.o] Error 1