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.00105/0.00105, allocations: 199 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.213/1.213, allocations: 227.2 MB / 245 MB, free: 7.555 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008458/0.0008458, allocations: 103.7 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002175/0.0002176, allocations: 4 kB / 357.9 MB, free: 9.531 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1954, allocations: 51.47 MB / 409.4 MB, free: 26.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09216/0.2876, allocations: 83.69 MB / 493.1 MB, free: 6.934 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001856/0.2878, allocations: 81.3 kB / 493.2 MB, free: 6.855 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0354/0.3232, allocations: 16.24 MB / 0.4975 GB, free: 6.441 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3233, allocations: 4 kB / 0.4975 GB, free: 6.438 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.922e-05/0.3233, allocations: 8 kB / 0.4975 GB, free: 6.43 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.001664/0.325, allocations: 0.757 MB / 0.4982 GB, free: 5.621 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.325, allocations: 8.031 kB / 0.4982 GB, free: 5.613 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002384/0.3274, allocations: 367.1 kB / 0.4986 GB, free: 5.254 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003874/0.3278, allocations: 310.1 kB / 0.4989 GB, free: 4.914 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.84e-05/0.3278, allocations: 41.31 kB / 0.4989 GB, free: 4.875 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.651e-05/0.3279, allocations: 56 kB / 0.499 GB, free: 4.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008959/0.3288, allocations: 0.5062 MB / 0.4995 GB, free: 4.305 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.3289, allocations: 0 / 0.4995 GB, free: 4.305 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.17e-05/0.3289, allocations: 24 kB / 0.4995 GB, free: 4.281 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.3289, allocations: 12 kB / 0.4995 GB, free: 4.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009702/0.3299, allocations: 0.5712 MB / 0.5001 GB, free: 3.699 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002713/0.3327, allocations: 1.972 MB / 0.502 GB, free: 1.598 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1793/0.512, allocations: 2.179 MB / 0.5041 GB, free: 87.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002759/0.5123, allocations: 173.5 kB / 0.5043 GB, free: 87.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.717e-05/0.5124, allocations: 42.78 kB / 0.5043 GB, free: 87.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=47): time 4.248e-06/0.5124, allocations: 0 / 0.5043 GB, free: 87.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=47): time 0.002782/0.5152, allocations: 0.782 MB / 0.5051 GB, free: 87.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.5152, allocations: 61.45 kB / 0.5051 GB, free: 87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.5155, allocations: 167.5 kB / 0.5053 GB, free: 86.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.187e-05/0.5155, allocations: 34.45 kB / 0.5053 GB, free: 86.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.5157, allocations: 224.1 kB / 0.5056 GB, free: 86.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.5158, allocations: 161 kB / 0.5057 GB, free: 86.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.267e-05/0.5158, allocations: 9.656 kB / 0.5057 GB, free: 86.67 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.68e-05/0.5159, allocations: 338.1 kB / 0.506 GB, free: 86.35 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003234/0.5162, allocations: 158.5 kB / 0.5062 GB, free: 86.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003723/0.5166, allocations: 230.2 kB / 0.5064 GB, free: 86.28 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003675/0.517, allocations: 178.4 kB / 0.5066 GB, free: 86.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.517, allocations: 1.5 kB / 0.5066 GB, free: 86.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001001/0.518, allocations: 0.5358 MB / 0.5071 GB, free: 86.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.5181, allocations: 10.23 kB / 0.5071 GB, free: 86.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.5181, allocations: 4.109 kB / 0.5071 GB, free: 86.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003596/0.5184, allocations: 93.52 kB / 0.5072 GB, free: 86.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000386/0.5188, allocations: 93.88 kB / 0.5073 GB, free: 86.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001746/0.5206, allocations: 1.867 MB / 0.5091 GB, free: 84.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000309/0.5209, allocations: 49.77 kB / 0.5092 GB, free: 84.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.859e-05/0.521, allocations: 17.44 kB / 0.5092 GB, free: 84.85 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.0002161/0.5212, allocations: 166.8 kB / 0.5093 GB, free: 84.74 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.616e-05/0.5213, allocations: 28.72 kB / 0.5094 GB, free: 84.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.5223, allocations: 0.5468 MB / 0.5099 GB, free: 84.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.5223, allocations: 5.969 kB / 0.5099 GB, free: 84.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.5224, allocations: 1.5 kB / 0.5099 GB, free: 84.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.5224, allocations: 5.766 kB / 0.5099 GB, free: 84.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/0.5241, allocations: 1.121 MB / 0.511 GB, free: 84.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.5241, allocations: 0.5938 kB / 0.511 GB, free: 84.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003839/0.5245, allocations: 72.55 kB / 0.5111 GB, free: 84.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002688/0.5248, allocations: 92.61 kB / 0.5112 GB, free: 84.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/0.5248, allocations: 18.36 kB / 0.5112 GB, free: 84.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001573/0.5264, allocations: 1.861 MB / 0.513 GB, free: 82.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5264, allocations: 0 / 0.513 GB, free: 82.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.5275, allocations: 0.8063 MB / 0.5138 GB, free: 82.78 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.086e-05/0.5276, allocations: 109.5 kB / 0.5139 GB, free: 82.67 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.5277, allocations: 7.375 kB / 0.5139 GB, free: 82.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.5279, allocations: 17.84 kB / 0.5139 GB, free: 82.67 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.771e-05/0.528, allocations: 46.12 kB / 0.514 GB, free: 82.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.528, allocations: 10.66 kB / 0.514 GB, free: 82.67 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.215e-05/0.5281, allocations: 136.4 kB / 0.5141 GB, free: 82.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5281, allocations: 0 / 0.5141 GB, free: 82.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005673/0.5286, allocations: 164.8 kB / 0.5143 GB, free: 82.57 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.0002343/0.5289, allocations: 161.4 kB / 0.5144 GB, free: 82.47 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008481/0.5297, allocations: 0.5688 MB / 0.515 GB, free: 82.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5298, allocations: 0 / 0.515 GB, free: 82.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004325/0.5302, allocations: 381.7 kB / 0.5153 GB, free: 82.22 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.5304, allocations: 28.58 kB / 0.5154 GB, free: 82.21 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.5315, allocations: 1.003 MB / 0.5163 GB, free: 81.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.5317, allocations: 0.819 MB / 0.5171 GB, free: 80.97 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001903/0.5319, allocations: 46.22 kB / 0.5172 GB, free: 80.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.909e-05/0.532, allocations: 34.05 kB / 0.5172 GB, free: 80.95 MB / 378.7 MB Notification: Performance of SimCode: time 1.002e-06/0.532, allocations: 3.625 kB / 0.5172 GB, free: 80.95 MB / 378.7 MB Notification: Performance of Templates: time 0.006573/0.5386, allocations: 3.881 MB / 0.521 GB, free: 80.71 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 -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -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:24: ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_functions.h:248: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