Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.EquivalentCircuit.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.Machines.EquivalentCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.EquivalentCircuit") translateModel(HanserModelica.Machines.EquivalentCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.EquivalentCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004737/0.004737, allocations: 170.8 kB / 15.11 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03594/0.03594, allocations: 8.805 MB / 24.66 MB, free: 4.117 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.21/1.21, allocations: 223.2 MB / 250.7 MB, free: 6.551 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.0008104/0.0008104, allocations: 94.86 kB / 304 MB, free: 4.016 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003239/0.0003239, allocations: 8 kB / 367.1 MB, free: 4.957 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.215, allocations: 52.54 MB / 419.6 MB, free: 48.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.105/0.32, allocations: 102.1 MB / 0.5095 GB, free: 2.965 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001919/0.3202, allocations: 71.97 kB / 0.5095 GB, free: 2.895 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9702/1.29, allocations: 368.2 MB / 0.8691 GB, free: 30.79 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.483e-06/1.29, allocations: 0 / 0.8691 GB, free: 30.79 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003733/1.291, allocations: 234.7 kB / 0.8693 GB, free: 30.57 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3006 * Number of variables: 3006 Notification: Performance of Generate backend data structure: time 0.02802/1.319, allocations: 10.37 MB / 0.8794 GB, free: 20.19 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/1.319, allocations: 8.562 kB / 0.8794 GB, free: 20.18 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0249/1.344, allocations: 5.349 MB / 0.8847 GB, free: 14.86 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01292/1.357, allocations: 7.017 MB / 0.8915 GB, free: 7.809 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005085/1.357, allocations: 0.7616 MB / 0.8923 GB, free: 7.055 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002992/1.36, allocations: 1.002 MB / 0.8932 GB, free: 6.062 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02918/1.389, allocations: 17.54 MB / 0.9104 GB, free: 4.199 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001815/1.39, allocations: 11.89 kB / 0.9104 GB, free: 4.188 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001105/1.391, allocations: 450.9 kB / 0.9108 GB, free: 3.758 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006902/1.392, allocations: 0.8193 MB / 0.9116 GB, free: 2.934 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4435/1.835, allocations: 14.91 MB / 0.9262 GB, free: 52.98 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07909/1.914, allocations: 52.79 MB / 0.9777 GB, free: 44.22 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01225/1.926, allocations: 15.74 MB / 0.9931 GB, free: 32.25 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004832/1.927, allocations: 196.9 kB / 0.9933 GB, free: 32.14 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.754e-05/1.927, allocations: 90.67 kB / 0.9934 GB, free: 32.06 MB / 474.8 MB Notification: Performance of pre-optimization done (n=504): time 7.144e-06/1.927, allocations: 0 / 0.9934 GB, free: 32.06 MB / 474.8 MB Notification: Performance of matching and sorting (n=504): time 0.01812/1.945, allocations: 11.4 MB / 1.005 GB, free: 27.53 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/1.945, allocations: 127.5 kB / 1.005 GB, free: 27.43 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004126/1.949, allocations: 3.108 MB / 1.008 GB, free: 26.35 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005739/1.95, allocations: 107.9 kB / 1.008 GB, free: 26.26 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001721/1.952, allocations: 4.327 MB / 1.012 GB, free: 23.16 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00137/1.953, allocations: 1.7 MB / 1.014 GB, free: 21.85 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003425/1.953, allocations: 140 kB / 1.014 GB, free: 21.74 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0002818/1.954, allocations: 0.5859 MB / 1.014 GB, free: 21.32 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003823/1.958, allocations: 3.318 MB / 1.018 GB, free: 20.17 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004608/1.962, allocations: 5.631 MB / 1.023 GB, free: 16.06 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004958/1.967, allocations: 4.623 MB / 1.028 GB, free: 14.22 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-05/1.967, allocations: 24.22 kB / 1.028 GB, free: 14.22 MB / 474.8 MB Notification: Performance of matching and sorting (n=875) (initialization): time 0.01363/1.981, allocations: 10.33 MB / 1.038 GB, free: 10.74 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.12e-05/1.981, allocations: 35.78 kB / 1.038 GB, free: 10.74 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001591/1.981, allocations: 72.56 kB / 1.038 GB, free: 10.74 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002438/1.984, allocations: 1.067 MB / 1.039 GB, free: 10.52 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004885/1.988, allocations: 1.525 MB / 1.04 GB, free: 10.46 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01112/2, allocations: 12.62 MB / 1.053 GB, free: 2.074 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004538/2.004, allocations: 0.8481 MB / 1.054 GB, free: 1.594 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007644/2.005, allocations: 318.3 kB / 1.054 GB, free: 1.512 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * 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 (795): * Single equations (assignments): 783 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13,(4,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01332/2.018, allocations: 4.65 MB / 1.058 GB, free: 15.63 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009392/2.019, allocations: 397.7 kB / 1.059 GB, free: 15.24 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.013/2.032, allocations: 7.998 MB / 1.067 GB, free: 8.621 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009536/2.042, allocations: 6.602 MB / 1.073 GB, free: 2.969 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-05/2.042, allocations: 12 kB / 1.073 GB, free: 2.957 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.238e-05/2.042, allocations: 23.16 kB / 1.073 GB, free: 2.957 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03037/2.072, allocations: 17.63 MB / 1.09 GB, free: 4.793 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.191e-05/2.072, allocations: 11.95 kB / 1.09 GB, free: 4.781 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003447/2.076, allocations: 0.9201 MB / 1.091 GB, free: 4.02 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002523/2.078, allocations: 0.9595 MB / 1.092 GB, free: 3.293 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004192/2.079, allocations: 115.6 kB / 1.092 GB, free: 3.188 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2326/2.311, allocations: 12.5 MB / 1.104 GB, free: 73.4 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/2.311, allocations: 12.16 kB / 1.104 GB, free: 73.4 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0151/2.327, allocations: 12.57 MB / 1.117 GB, free: 71.6 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002506/2.329, allocations: 1.123 MB / 1.118 GB, free: 71.33 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005184/2.33, allocations: 96.77 kB / 1.118 GB, free: 71.33 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0021/2.332, allocations: 317.2 kB / 1.118 GB, free: 71.33 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005634/2.332, allocations: 360 kB / 1.119 GB, free: 71.32 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002788/2.333, allocations: 151.8 kB / 1.119 GB, free: 71.32 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.002874/2.335, allocations: 2.316 MB / 1.121 GB, free: 71.18 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.51e-07/2.335, allocations: 0 / 1.121 GB, free: 71.18 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.006785/2.342, allocations: 2.668 MB / 1.124 GB, free: 70.85 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (main_e.plug_p.reference.gamma,converter_m.port_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 (487): * Single equations (assignments): 475 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13,(4,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007944/2.343, allocations: 331.8 kB / 1.124 GB, free: 70.76 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01154/2.355, allocations: 8.681 MB / 1.132 GB, free: 70.05 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.389e-05/2.355, allocations: 3.781 kB / 1.132 GB, free: 70.05 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.006082/2.361, allocations: 4.259 MB / 1.137 GB, free: 69.51 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003838/2.365, allocations: 0.8078 MB / 1.137 GB, free: 69.49 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03003/2.395, allocations: 22.45 MB / 1.159 GB, free: 60.86 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006948/2.402, allocations: 7.162 MB / 1.166 GB, free: 59.84 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.006211/2.408, allocations: 2.549 MB / 1.169 GB, free: 59.65 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001056/2.409, allocations: 372.9 kB / 1.169 GB, free: 59.64 MB / 0.4949 GB Notification: Performance of SimCode: time 8.62e-07/2.409, allocations: 0 / 1.169 GB, free: 59.64 MB / 0.4949 GB Notification: Performance of Templates: time 0.09208/2.501, allocations: 65.26 MB / 1.233 GB, free: 38.88 MB / 0.4949 GB make -j1 -f HanserModelica_HanserModelica.Machines.EquivalentCircuit.makefile make -j1 -f HanserModelica_HanserModelica.Machines.EquivalentCircuit.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_Machines_EquivalentCircuit -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=8 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o HanserModelica_HanserModelica.Machines.EquivalentCircuit.o HanserModelica_HanserModelica.Machines.EquivalentCircuit.c In file included from HanserModelica_HanserModelica.Machines.EquivalentCircuit.c:7: In file included from ./HanserModelica_HanserModelica.Machines.EquivalentCircuit_model.h:24: ./HanserModelica_HanserModelica.Machines.EquivalentCircuit_functions.h:424:1: error: unknown type name '_omcQComplexOutput_24powerb_5F_5Fe_24powerSensor_24apparentPower' _omcQComplexOutput_24powerb_5F_5Fe_24powerSensor_24apparentPower omc__omcQComplexOutput_24powerb_5F_5Fe_24powerSensor_24apparentPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./HanserModelica_HanserModelica.Machines.EquivalentCircuit_functions.h:433:1: error: unknown type name '_omcQComplexOutput_24powerb_5F_5Fm_24powerSensor_24apparentPower' _omcQComplexOutput_24powerb_5F_5Fm_24powerSensor_24apparentPower omc__omcQComplexOutput_24powerb_5F_5Fm_24powerSensor_24apparentPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 2 errors generated. make: *** [: HanserModelica_HanserModelica.Machines.EquivalentCircuit.o] Error 1