Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001434/0.001434, allocations: 201.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 226.5 MB / 245.4 MB, free: 6.512 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007204/0.0007204, allocations: 95.28 kB / 297.5 MB, free: 6.688 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002117/0.0002117, allocations: 8 kB / 358.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2057, allocations: 51.29 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0981/0.3038, allocations: 83.64 MB / 493 MB, free: 7.859 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/0.3042, allocations: 87.95 kB / 493.1 MB, free: 7.773 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03833/0.3425, allocations: 16.21 MB / 0.4974 GB, free: 7.402 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.3425, allocations: 0 / 0.4974 GB, free: 7.402 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.82e-05/0.3426, allocations: 8 kB / 0.4974 GB, free: 7.395 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001641/0.3442, allocations: 0.7533 MB / 0.4981 GB, free: 6.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.3443, allocations: 8.031 kB / 0.4981 GB, free: 6.582 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002384/0.3467, allocations: 368 kB / 0.4985 GB, free: 6.223 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004285/0.3471, allocations: 307.6 kB / 0.4988 GB, free: 5.883 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.508e-05/0.3472, allocations: 49.69 kB / 0.4988 GB, free: 5.832 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.079e-05/0.3473, allocations: 52.38 kB / 0.4989 GB, free: 5.781 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009214/0.3482, allocations: 0.5146 MB / 0.4994 GB, free: 5.262 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/0.3482, allocations: 4.094 kB / 0.4994 GB, free: 5.258 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.204e-05/0.3483, allocations: 23.94 kB / 0.4994 GB, free: 5.234 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.3483, allocations: 12 kB / 0.4994 GB, free: 5.223 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.3493, allocations: 0.5751 MB / 0.5 GB, free: 4.648 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002968/0.3523, allocations: 1.964 MB / 0.5019 GB, free: 2.551 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1839/0.5362, allocations: 2.181 MB / 0.504 GB, free: 90.1 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005679/0.5368, allocations: 213.7 kB / 0.5042 GB, free: 90.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001366/0.537, allocations: 173.4 kB / 0.5044 GB, free: 89.9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.537, allocations: 37.72 kB / 0.5044 GB, free: 89.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=47): time 2.145e-06/0.537, allocations: 0 / 0.5044 GB, free: 89.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=47): time 0.001967/0.539, allocations: 0.7948 MB / 0.5052 GB, free: 89.72 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.539, allocations: 58.91 kB / 0.5053 GB, free: 89.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.5392, allocations: 186.5 kB / 0.5054 GB, free: 89.56 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.774e-05/0.5393, allocations: 33.11 kB / 0.5055 GB, free: 89.53 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.5394, allocations: 219.7 kB / 0.5057 GB, free: 89.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.244e-05/0.5395, allocations: 154.8 kB / 0.5058 GB, free: 89.33 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.964e-05/0.5395, allocations: 10.16 kB / 0.5058 GB, free: 89.33 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.972e-05/0.5396, allocations: 343 kB / 0.5062 GB, free: 89.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000276/0.5398, allocations: 152.2 kB / 0.5063 GB, free: 89.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003425/0.5402, allocations: 231.3 kB / 0.5065 GB, free: 88.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006156/0.5408, allocations: 409.7 kB / 0.5069 GB, free: 88.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.5408, allocations: 0 / 0.5069 GB, free: 88.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008914/0.5417, allocations: 0.5396 MB / 0.5074 GB, free: 88.81 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.5418, allocations: 6.703 kB / 0.5074 GB, free: 88.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.5418, allocations: 1.406 kB / 0.5074 GB, free: 88.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003209/0.5421, allocations: 98.45 kB / 0.5075 GB, free: 88.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003523/0.5425, allocations: 94.09 kB / 0.5076 GB, free: 88.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001623/0.5441, allocations: 1.841 MB / 0.5094 GB, free: 87.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002544/0.5444, allocations: 50.92 kB / 0.5095 GB, free: 87.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-05/0.5444, allocations: 17.75 kB / 0.5095 GB, free: 87.45 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001934/0.5446, allocations: 165.8 kB / 0.5097 GB, free: 87.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.338e-05/0.5447, allocations: 29.81 kB / 0.5097 GB, free: 87.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001144/0.5458, allocations: 0.5491 MB / 0.5102 GB, free: 87.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.5458, allocations: 5.125 kB / 0.5102 GB, free: 87.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.5458, allocations: 2.562 kB / 0.5102 GB, free: 87.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.5459, allocations: 5.594 kB / 0.5102 GB, free: 87.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/0.5475, allocations: 1.115 MB / 0.5113 GB, free: 86.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.5476, allocations: 0 / 0.5113 GB, free: 86.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003276/0.5479, allocations: 84.69 kB / 0.5114 GB, free: 86.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002409/0.5481, allocations: 84.17 kB / 0.5115 GB, free: 86.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/0.5482, allocations: 11.47 kB / 0.5115 GB, free: 86.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001306/0.5495, allocations: 1.85 MB / 0.5133 GB, free: 85.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5495, allocations: 2.188 kB / 0.5133 GB, free: 85.54 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.5505, allocations: 0.7981 MB / 0.5141 GB, free: 85.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.544e-05/0.5506, allocations: 109.6 kB / 0.5142 GB, free: 85.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.229e-05/0.5506, allocations: 11.27 kB / 0.5142 GB, free: 85.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.5508, allocations: 23.03 kB / 0.5142 GB, free: 85.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.019e-05/0.5509, allocations: 32.7 kB / 0.5142 GB, free: 85.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.5509, allocations: 20.75 kB / 0.5143 GB, free: 85.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.843e-05/0.551, allocations: 132.5 kB / 0.5144 GB, free: 85.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.551, allocations: 0 / 0.5144 GB, free: 85.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005255/0.5516, allocations: 170.4 kB / 0.5146 GB, free: 85.14 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (capacitor.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 (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002038/0.5518, allocations: 151.4 kB / 0.5147 GB, free: 85.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008116/0.5526, allocations: 0.5713 MB / 0.5153 GB, free: 84.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5526, allocations: 448 / 0.5153 GB, free: 84.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004239/0.553, allocations: 393.4 kB / 0.5156 GB, free: 84.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.5534, allocations: 33.44 kB / 0.5157 GB, free: 84.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.5544, allocations: 1.007 MB / 0.5166 GB, free: 84.24 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001879/0.5546, allocations: 0.8108 MB / 0.5174 GB, free: 83.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002078/0.5548, allocations: 45.88 kB / 0.5175 GB, free: 83.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.326e-05/0.5549, allocations: 34 kB / 0.5175 GB, free: 83.52 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.5549, allocations: 0 / 0.5175 GB, free: 83.52 MB / 378.7 MB Notification: Performance of Templates: time 0.006317/0.5612, allocations: 3.904 MB / 0.5213 GB, free: 83.28 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.o Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.c In file included from Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.c:7: In file included from ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_model.h:26: ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_functions.h:234: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); ^ 1 error generated. make: *** [: Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.o] Error 1