Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001084/0.001084, allocations: 197.5 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.254/1.254, allocations: 227.2 MB / 245 MB, free: 5.875 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008189/0.000819, allocations: 105.4 kB / 297.3 MB, free: 5.953 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002064/0.0002066, allocations: 4 kB / 357.9 MB, free: 9.297 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1977, allocations: 51.48 MB / 409.4 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09949/0.2972, allocations: 88.4 MB / 497.8 MB, free: 2.176 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/0.2975, allocations: 92.66 kB / 497.9 MB, free: 2.086 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2355/0.533, allocations: 27.18 MB / 0.5128 GB, free: 86.87 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.533, allocations: 0 / 0.5128 GB, free: 86.87 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.749e-05/0.5331, allocations: 13.41 kB / 0.5128 GB, free: 86.87 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002899/0.536, allocations: 1.137 MB / 0.5139 GB, free: 86.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.536, allocations: 14.97 kB / 0.5139 GB, free: 86.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001901/0.5379, allocations: 319 kB / 0.5142 GB, free: 86.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.5381, allocations: 254.1 kB / 0.5145 GB, free: 86.01 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.137e-05/0.5382, allocations: 63.47 kB / 0.5145 GB, free: 86.01 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.5383, allocations: 92.11 kB / 0.5146 GB, free: 86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.5397, allocations: 0.8785 MB / 0.5155 GB, free: 85.92 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.5398, allocations: 0 / 0.5155 GB, free: 85.92 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.405e-05/0.5398, allocations: 34.19 kB / 0.5155 GB, free: 85.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.5399, allocations: 19.5 kB / 0.5155 GB, free: 85.92 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001587/0.5415, allocations: 0.8355 MB / 0.5163 GB, free: 85.9 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003591/0.5451, allocations: 3.063 MB / 0.5193 GB, free: 84.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009353/0.546, allocations: 1.015 MB / 0.5203 GB, free: 83.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/0.5461, allocations: 180 kB / 0.5205 GB, free: 83.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.5462, allocations: 42.81 kB / 0.5205 GB, free: 83.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=58): time 2.635e-06/0.5462, allocations: 0 / 0.5205 GB, free: 83.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.007188/0.5534, allocations: 2.682 MB / 0.5232 GB, free: 82.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.5534, allocations: 88.23 kB / 0.5232 GB, free: 82.26 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002147/0.5536, allocations: 279.9 kB / 0.5235 GB, free: 82.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.423e-05/0.5537, allocations: 33.61 kB / 0.5235 GB, free: 82.06 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.5538, allocations: 361.1 kB / 0.5239 GB, free: 81.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.5539, allocations: 209.6 kB / 0.5241 GB, free: 81.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.298e-05/0.5539, allocations: 19.75 kB / 0.5241 GB, free: 81.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.246e-05/0.554, allocations: 345.9 kB / 0.5244 GB, free: 81.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007968/0.5548, allocations: 294.5 kB / 0.5247 GB, free: 81.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007873/0.5556, allocations: 0.5228 MB / 0.5252 GB, free: 80.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007893/0.5564, allocations: 355.6 kB / 0.5256 GB, free: 80.65 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.5564, allocations: 7.906 kB / 0.5256 GB, free: 80.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001903/0.5583, allocations: 0.942 MB / 0.5265 GB, free: 80.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.5584, allocations: 13.72 kB / 0.5265 GB, free: 80.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.5584, allocations: 7.812 kB / 0.5265 GB, free: 80.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001775/0.5586, allocations: 64.34 kB / 0.5266 GB, free: 80.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008154/0.5594, allocations: 211.8 kB / 0.5268 GB, free: 80.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/0.5606, allocations: 2.684 MB / 0.5294 GB, free: 77.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006509/0.5613, allocations: 78.56 kB / 0.5295 GB, free: 77.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.325e-05/0.5613, allocations: 37.42 kB / 0.5295 GB, free: 77.53 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (95): * Single equations (assignments): 93 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002321/0.5616, allocations: 222.6 kB / 0.5297 GB, free: 77.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.554e-05/0.5616, allocations: 41.72 kB / 0.5298 GB, free: 77.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001961/0.5636, allocations: 0.7888 MB / 0.5305 GB, free: 76.92 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.5636, allocations: 11.94 kB / 0.5305 GB, free: 76.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.5636, allocations: 0 / 0.5305 GB, free: 76.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.5637, allocations: 0 / 0.5305 GB, free: 76.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002811/0.5665, allocations: 1.466 MB / 0.532 GB, free: 75.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.5665, allocations: 0 / 0.532 GB, free: 75.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008055/0.5673, allocations: 146.9 kB / 0.5321 GB, free: 75.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001693/0.5675, allocations: 52.5 kB / 0.5322 GB, free: 75.49 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.782e-05/0.5675, allocations: 19.47 kB / 0.5322 GB, free: 75.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00138/0.5689, allocations: 2.668 MB / 0.5348 GB, free: 72.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5689, allocations: 0 / 0.5348 GB, free: 72.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002521/0.5715, allocations: 1.158 MB / 0.5359 GB, free: 71.56 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001844/0.5717, allocations: 162 kB / 0.5361 GB, free: 71.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.068e-05/0.5717, allocations: 12 kB / 0.5361 GB, free: 71.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005059/0.5723, allocations: 64.42 kB / 0.5361 GB, free: 71.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.95e-05/0.5724, allocations: 45.77 kB / 0.5362 GB, free: 71.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.273e-05/0.5724, allocations: 19.14 kB / 0.5362 GB, free: 71.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000155/0.5726, allocations: 207.4 kB / 0.5364 GB, free: 71.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5726, allocations: 3.938 kB / 0.5364 GB, free: 71.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006475/0.5732, allocations: 188 kB / 0.5366 GB, free: 70.94 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSensor.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 (58): * Single equations (assignments): 56 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002463/0.5735, allocations: 181.9 kB / 0.5368 GB, free: 70.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001806/0.5753, allocations: 0.9611 MB / 0.5377 GB, free: 69.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5753, allocations: 0 / 0.5377 GB, free: 69.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008429/0.5762, allocations: 0.5732 MB / 0.5383 GB, free: 69.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.5764, allocations: 43.73 kB / 0.5383 GB, free: 69.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.5785, allocations: 1.505 MB / 0.5398 GB, free: 67.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.5788, allocations: 0.8926 MB / 0.5406 GB, free: 67.1 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004612/0.5792, allocations: 94.03 kB / 0.5407 GB, free: 67.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/0.5794, allocations: 49.33 kB / 0.5408 GB, free: 66.98 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.5794, allocations: 0 / 0.5408 GB, free: 66.98 MB / 378.7 MB Notification: Performance of Templates: time 0.009157/0.5886, allocations: 5.903 MB / 0.5465 GB, free: 61.57 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.o Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.c In file included from Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.c:7: In file included from ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_model.h:24: ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_functions.h:388: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); ^ 1 error generated. make: *** [: Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.o] Error 1