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: translateModel(HanserModelica.Electrical.RLSeriesFrequencySweep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep") translateModel(HanserModelica.Electrical.RLSeriesFrequencySweep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006964/0.006964, allocations: 170.5 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.03665/0.03665, allocations: 8.799 MB / 24.65 MB, free: 4.09 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.197/1.197, allocations: 223.2 MB / 250.7 MB, free: 6.473 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.00078/0.0007799, allocations: 95.33 kB / 304 MB, free: 3.992 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003159/0.000316, allocations: 12 kB / 367.1 MB, free: 4.926 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2077, allocations: 52.54 MB / 419.6 MB, free: 48.12 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0892/0.297, allocations: 86.18 MB / 0.4939 GB, free: 2.891 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/0.2972, allocations: 83.95 kB / 0.494 GB, free: 2.809 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03789/0.3351, allocations: 16.52 MB / 0.5101 GB, free: 2.156 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.3352, allocations: 4 kB / 0.5101 GB, free: 2.152 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.888e-05/0.3352, allocations: 12 kB / 0.5102 GB, free: 2.141 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.001584/0.3368, allocations: 0.8075 MB / 0.5109 GB, free: 1.285 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.3368, allocations: 8.562 kB / 0.511 GB, free: 1.277 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001814/0.3386, allocations: 299.1 kB / 0.5112 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004091/0.3391, allocations: 348 kB / 0.5116 GB, free: 0.5977 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.858e-05/0.3391, allocations: 41.31 kB / 0.5116 GB, free: 0.5586 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-05/0.3392, allocations: 60 kB / 0.5117 GB, free: 0.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.3403, allocations: 0.651 MB / 0.5123 GB, free: 15.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.3403, allocations: 0 / 0.5123 GB, free: 15.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.519e-05/0.3404, allocations: 27.95 kB / 0.5123 GB, free: 15.81 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/0.3404, allocations: 16 kB / 0.5123 GB, free: 15.79 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.3415, allocations: 0.622 MB / 0.513 GB, free: 15.17 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00306/0.3446, allocations: 2.255 MB / 0.5152 GB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001504/0.3461, allocations: 1.26 MB / 0.5164 GB, free: 11.33 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.358e-05/0.3462, allocations: 89.86 kB / 0.5165 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.3463, allocations: 38.94 kB / 0.5165 GB, free: 11.18 MB / 394.7 MB Notification: Performance of pre-optimization done (n=48): time 1.834e-06/0.3463, allocations: 4 kB / 0.5165 GB, free: 11.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=48): time 0.001701/0.348, allocations: 0.9406 MB / 0.5174 GB, free: 10.18 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.348, allocations: 84.86 kB / 0.5175 GB, free: 10.07 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.3483, allocations: 245.6 kB / 0.5177 GB, free: 9.836 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.22e-05/0.3483, allocations: 29.7 kB / 0.5178 GB, free: 9.801 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.3485, allocations: 244.3 kB / 0.518 GB, free: 9.555 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.3486, allocations: 161.6 kB / 0.5182 GB, free: 9.395 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.336e-05/0.3486, allocations: 16 kB / 0.5182 GB, free: 9.379 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.3488, allocations: 338.8 kB / 0.5185 GB, free: 9.039 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003542/0.3491, allocations: 177 kB / 0.5187 GB, free: 8.867 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004206/0.3496, allocations: 299.2 kB / 0.519 GB, free: 8.523 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004089/0.35, allocations: 216.3 kB / 0.5192 GB, free: 8.309 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.35, allocations: 4 kB / 0.5192 GB, free: 8.305 MB / 394.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001061/0.3511, allocations: 0.58 MB / 0.5197 GB, free: 7.715 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004839/0.3515, allocations: 1.315 MB / 0.521 GB, free: 6.301 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.3516, allocations: 4 kB / 0.521 GB, free: 6.297 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002405/0.3518, allocations: 56.83 kB / 0.5211 GB, free: 6.238 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004253/0.3522, allocations: 111.9 kB / 0.5212 GB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001439/0.3537, allocations: 1.595 MB / 0.5227 GB, free: 4.398 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000336/0.354, allocations: 63.42 kB / 0.5228 GB, free: 4.336 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.618e-05/0.3541, allocations: 20 kB / 0.5228 GB, free: 4.316 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.585e-06/0.3541, allocations: 7.953 kB / 0.5228 GB, free: 4.309 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009105/0.355, allocations: 0.5123 MB / 0.5233 GB, free: 3.797 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.355, allocations: 4 kB / 0.5233 GB, free: 3.793 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001377/0.3552, allocations: 48.83 kB / 0.5234 GB, free: 3.742 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003909/0.3556, allocations: 103.8 kB / 0.5235 GB, free: 3.641 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/0.3568, allocations: 1.535 MB / 0.525 GB, free: 1.973 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002883/0.3571, allocations: 63.53 kB / 0.525 GB, free: 1.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.354e-05/0.3571, allocations: 20 kB / 0.5251 GB, free: 1.891 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.0002375/0.3573, allocations: 257 kB / 0.5253 GB, free: 1.629 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.919e-05/0.3574, allocations: 31.56 kB / 0.5253 GB, free: 1.598 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/0.3585, allocations: 0.5749 MB / 0.5259 GB, free: 1.012 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.3586, allocations: 4 kB / 0.5259 GB, free: 1.008 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3586, allocations: 4 kB / 0.5259 GB, free: 1.004 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.3586, allocations: 3.984 kB / 0.5259 GB, free: 1 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001664/0.3603, allocations: 1.174 MB / 0.527 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3603, allocations: 0 / 0.527 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003729/0.3606, allocations: 83.89 kB / 0.5271 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001569/0.3608, allocations: 52.78 kB / 0.5272 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.275e-05/0.3609, allocations: 15.98 kB / 0.5272 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001297/0.3622, allocations: 1.592 MB / 0.5287 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3622, allocations: 0 / 0.5287 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/0.3636, allocations: 0.8506 MB / 0.5296 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/0.3637, allocations: 156.6 kB / 0.5297 GB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.357e-05/0.3638, allocations: 12.06 kB / 0.5297 GB, free: 12.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002883/0.3641, allocations: 31.94 kB / 0.5298 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.108e-05/0.3642, allocations: 32.39 kB / 0.5298 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.184e-05/0.3642, allocations: 15.98 kB / 0.5298 GB, free: 12.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001616/0.3644, allocations: 186 kB / 0.53 GB, free: 12.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3644, allocations: 0 / 0.53 GB, free: 12.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007667/0.3652, allocations: 263 kB / 0.5302 GB, free: 12.31 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.000218/0.3654, allocations: 143.3 kB / 0.5304 GB, free: 12.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001619/0.367, allocations: 0.9934 MB / 0.5313 GB, free: 11.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.367, allocations: 3.938 kB / 0.5314 GB, free: 11.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000558/0.3676, allocations: 373.8 kB / 0.5317 GB, free: 10.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.3679, allocations: 37.23 kB / 0.5317 GB, free: 10.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.3693, allocations: 1.099 MB / 0.5328 GB, free: 9.605 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.3697, allocations: 0.8366 MB / 0.5336 GB, free: 8.742 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000347/0.3701, allocations: 75.23 kB / 0.5337 GB, free: 8.664 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.93e-05/0.3702, allocations: 35.42 kB / 0.5337 GB, free: 8.629 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3702, allocations: 0 / 0.5337 GB, free: 8.629 MB / 410.7 MB Notification: Performance of Templates: time 0.009275/0.3794, allocations: 5.07 MB / 0.5387 GB, free: 3.59 MB / 410.7 MB make -j1 -f HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.makefile make -j1 -f HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=HanserModelica_HanserModelica_Electrical_RLSeriesFrequencySweep -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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: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 errors generated. make: *** [: HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.o] Error 1