Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 179.3 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 223.2 MB / 240.3 MB, free: 11.87 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.00101/0.00101, allocations: 97.12 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002335/0.0002335, allocations: 8 kB / 351.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2646, allocations: 50.39 MB / 401.5 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1054/0.3701, allocations: 87.65 MB / 489.2 MB, free: 8.816 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/0.3704, allocations: 91.94 kB / 489.2 MB, free: 8.727 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2142/0.5846, allocations: 25.73 MB / 0.5029 GB, free: 87.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.5847, allocations: 1.375 kB / 0.5029 GB, free: 87.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.5847, allocations: 12.38 kB / 0.5029 GB, free: 87.97 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.003185/0.5879, allocations: 1.137 MB / 0.504 GB, free: 87.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.5879, allocations: 9.625 kB / 0.504 GB, free: 87.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002043/0.59, allocations: 324.8 kB / 0.5043 GB, free: 87.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.5902, allocations: 253.1 kB / 0.5046 GB, free: 87.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.057e-05/0.5903, allocations: 64.09 kB / 0.5046 GB, free: 87.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.5904, allocations: 82.66 kB / 0.5047 GB, free: 87.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/0.5919, allocations: 0.8882 MB / 0.5056 GB, free: 87.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/0.592, allocations: 5.062 kB / 0.5056 GB, free: 87.1 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.76e-05/0.5921, allocations: 37.77 kB / 0.5056 GB, free: 87.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.751e-05/0.5921, allocations: 20.44 kB / 0.5057 GB, free: 87.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001789/0.5939, allocations: 0.8313 MB / 0.5065 GB, free: 87.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00346/0.5974, allocations: 2.983 MB / 0.5094 GB, free: 85.92 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009271/0.5983, allocations: 1.009 MB / 0.5104 GB, free: 85.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.084e-05/0.5984, allocations: 102.8 kB / 0.5105 GB, free: 85.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.619e-05/0.5984, allocations: 39.28 kB / 0.5105 GB, free: 85.19 MB / 378.7 MB Notification: Performance of pre-optimization done (n=58): time 2.004e-06/0.5984, allocations: 0 / 0.5105 GB, free: 85.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.007187/0.6056, allocations: 2.694 MB / 0.5131 GB, free: 84.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.6057, allocations: 87.83 kB / 0.5132 GB, free: 84.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/0.6059, allocations: 283.9 kB / 0.5135 GB, free: 84.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.673e-05/0.6059, allocations: 33.33 kB / 0.5135 GB, free: 84.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.6061, allocations: 359.2 kB / 0.5139 GB, free: 84.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.6062, allocations: 215.6 kB / 0.5141 GB, free: 83.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/0.6062, allocations: 18.16 kB / 0.5141 GB, free: 83.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.534e-05/0.6063, allocations: 352 kB / 0.5144 GB, free: 83.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006818/0.607, allocations: 294.1 kB / 0.5147 GB, free: 83.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007443/0.6077, allocations: 0.5259 MB / 0.5152 GB, free: 83.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007266/0.6085, allocations: 360.6 kB / 0.5156 GB, free: 83.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.6085, allocations: 3.844 kB / 0.5156 GB, free: 83.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001731/0.6102, allocations: 0.9395 MB / 0.5165 GB, free: 83.17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.6102, allocations: 15.02 kB / 0.5165 GB, free: 83.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.6102, allocations: 7.781 kB / 0.5165 GB, free: 83.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001823/0.6104, allocations: 67.12 kB / 0.5166 GB, free: 83.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007898/0.6112, allocations: 216.6 kB / 0.5168 GB, free: 83.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001142/0.6124, allocations: 2.675 MB / 0.5194 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006292/0.613, allocations: 75.7 kB / 0.5195 GB, free: 80.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.037e-05/0.6131, allocations: 38.92 kB / 0.5195 GB, free: 80.63 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.0002323/0.6133, allocations: 213.7 kB / 0.5197 GB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.556e-05/0.6134, allocations: 46.17 kB / 0.5197 GB, free: 80.49 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001661/0.6151, allocations: 0.7882 MB / 0.5205 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.6151, allocations: 9.188 kB / 0.5205 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.6151, allocations: 3.562 kB / 0.5205 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.6151, allocations: 7.844 kB / 0.5205 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002201/0.6173, allocations: 1.471 MB / 0.522 GB, free: 80.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.6173, allocations: 0 / 0.522 GB, free: 80.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006374/0.618, allocations: 152.5 kB / 0.5221 GB, free: 80.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001342/0.6181, allocations: 54.17 kB / 0.5222 GB, free: 80.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.52e-05/0.6182, allocations: 15.41 kB / 0.5222 GB, free: 80.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/0.6193, allocations: 2.671 MB / 0.5248 GB, free: 77.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.6193, allocations: 0 / 0.5248 GB, free: 77.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0022/0.6215, allocations: 1.149 MB / 0.5259 GB, free: 76.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/0.6216, allocations: 166.1 kB / 0.5261 GB, free: 76.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.644e-05/0.6217, allocations: 15.81 kB / 0.5261 GB, free: 76.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005121/0.6222, allocations: 62.61 kB / 0.5261 GB, free: 76.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.074e-05/0.6223, allocations: 52.92 kB / 0.5262 GB, free: 76.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.314e-05/0.6224, allocations: 24.31 kB / 0.5262 GB, free: 76.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001506/0.6225, allocations: 214.4 kB / 0.5264 GB, free: 76.63 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6225, allocations: 0 / 0.5264 GB, free: 76.63 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006066/0.6231, allocations: 184.7 kB / 0.5266 GB, free: 76.6 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (core.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 (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.0002214/0.6234, allocations: 177 kB / 0.5268 GB, free: 76.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00172/0.6251, allocations: 0.9551 MB / 0.5277 GB, free: 76.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6251, allocations: 0 / 0.5277 GB, free: 76.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008609/0.626, allocations: 0.5817 MB / 0.5283 GB, free: 75.74 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.6263, allocations: 36.44 kB / 0.5283 GB, free: 75.72 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.6284, allocations: 1.521 MB / 0.5298 GB, free: 74.83 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.6286, allocations: 0.8952 MB / 0.5307 GB, free: 74.12 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004587/0.6291, allocations: 91.45 kB / 0.5307 GB, free: 74.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.6293, allocations: 52.59 kB / 0.5308 GB, free: 74.08 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/0.6293, allocations: 3.281 kB / 0.5308 GB, free: 74.08 MB / 378.7 MB Notification: Performance of Templates: time 0.009127/0.6384, allocations: 5.897 MB / 0.5366 GB, free: 71.65 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection -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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.o Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.c In file included from Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.c:7: In file included from ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_model.h:24: ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.o] Error 1