Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.ToroidalCoreAirgap,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.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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008555/0.0008555, allocations: 176.4 kB / 17.4 MB, free: 4.301 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.254/1.254, allocations: 223.3 MB / 241.4 MB, free: 9.949 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.0008832/0.0008832, allocations: 94.34 kB / 292.6 MB, free: 10.54 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.0003639, allocations: 11.94 kB / 352.4 MB, free: 14.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2417, allocations: 50.4 MB / 402.8 MB, free: 32.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1053/0.3471, allocations: 87.62 MB / 490.4 MB, free: 8.656 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/0.3473, allocations: 92.95 kB / 490.5 MB, free: 8.566 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2275/0.5748, allocations: 25.57 MB / 0.5039 GB, free: 87.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5749, allocations: 0 / 0.5039 GB, free: 87.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.852e-05/0.5749, allocations: 12.94 kB / 0.504 GB, free: 87.96 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.003686/0.5786, allocations: 1.121 MB / 0.5051 GB, free: 87.44 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.5787, allocations: 11.02 kB / 0.5051 GB, free: 87.44 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002197/0.5809, allocations: 322.3 kB / 0.5054 GB, free: 87.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/0.5812, allocations: 260.1 kB / 0.5056 GB, free: 87.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001118/0.5813, allocations: 62.03 kB / 0.5057 GB, free: 87.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002794/0.5816, allocations: 82.44 kB / 0.5058 GB, free: 87.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002023/0.5836, allocations: 0.8867 MB / 0.5066 GB, free: 87.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.084e-05/0.5837, allocations: 7.969 kB / 0.5066 GB, free: 87.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.5838, allocations: 38.19 kB / 0.5067 GB, free: 87.08 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.006e-05/0.5839, allocations: 20.03 kB / 0.5067 GB, free: 87.08 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002089/0.5859, allocations: 0.8304 MB / 0.5075 GB, free: 87.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004249/0.5902, allocations: 2.986 MB / 0.5104 GB, free: 85.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009809/0.5912, allocations: 1.004 MB / 0.5114 GB, free: 85.31 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004602/0.5917, allocations: 252.5 kB / 0.5116 GB, free: 85.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.957e-05/0.5918, allocations: 92.62 kB / 0.5117 GB, free: 85.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.5919, allocations: 47.38 kB / 0.5118 GB, free: 85.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=58): time 2.755e-06/0.5919, allocations: 0 / 0.5118 GB, free: 85.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.007224/0.5991, allocations: 2.698 MB / 0.5144 GB, free: 84.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.5992, allocations: 81.36 kB / 0.5145 GB, free: 84.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002816/0.5995, allocations: 307.2 kB / 0.5148 GB, free: 84.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.127e-05/0.5995, allocations: 39.02 kB / 0.5148 GB, free: 84.26 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.5997, allocations: 355.6 kB / 0.5152 GB, free: 84.01 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.5998, allocations: 211.1 kB / 0.5154 GB, free: 83.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-05/0.5998, allocations: 16.16 kB / 0.5154 GB, free: 83.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.402e-05/0.5999, allocations: 355.1 kB / 0.5157 GB, free: 83.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006948/0.6006, allocations: 289.8 kB / 0.516 GB, free: 83.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007538/0.6014, allocations: 0.5252 MB / 0.5165 GB, free: 83.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001524/0.6029, allocations: 0.84 MB / 0.5173 GB, free: 82.97 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/0.6029, allocations: 5 kB / 0.5173 GB, free: 82.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0019/0.6048, allocations: 0.9408 MB / 0.5182 GB, free: 82.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.6049, allocations: 9.812 kB / 0.5182 GB, free: 82.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.6049, allocations: 8.062 kB / 0.5183 GB, free: 82.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002328/0.6051, allocations: 69.55 kB / 0.5183 GB, free: 82.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008219/0.606, allocations: 222 kB / 0.5185 GB, free: 82.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001406/0.6074, allocations: 2.66 MB / 0.5211 GB, free: 80.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006736/0.6081, allocations: 77.44 kB / 0.5212 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.397e-05/0.6081, allocations: 40.88 kB / 0.5212 GB, free: 80.32 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.000311/0.6085, allocations: 219.7 kB / 0.5215 GB, free: 80.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.21e-05/0.6085, allocations: 42.47 kB / 0.5215 GB, free: 80.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001837/0.6104, allocations: 0.7861 MB / 0.5223 GB, free: 80.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.964e-06/0.6104, allocations: 11.44 kB / 0.5223 GB, free: 80.08 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.6104, allocations: 4 kB / 0.5223 GB, free: 80.08 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.6104, allocations: 4.5 kB / 0.5223 GB, free: 80.08 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002453/0.6129, allocations: 1.461 MB / 0.5237 GB, free: 79.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.6129, allocations: 1.688 kB / 0.5237 GB, free: 79.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006255/0.6135, allocations: 146.2 kB / 0.5238 GB, free: 79.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000157/0.6137, allocations: 56.56 kB / 0.5239 GB, free: 79.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.159e-05/0.6138, allocations: 21.95 kB / 0.5239 GB, free: 79.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001237/0.6151, allocations: 2.649 MB / 0.5265 GB, free: 76.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.6151, allocations: 3.391 kB / 0.5265 GB, free: 76.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002259/0.6173, allocations: 1.153 MB / 0.5276 GB, free: 76.47 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001986/0.6175, allocations: 164.5 kB / 0.5278 GB, free: 76.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.094e-05/0.6176, allocations: 11.88 kB / 0.5278 GB, free: 76.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005123/0.6181, allocations: 63.2 kB / 0.5279 GB, free: 76.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.6183, allocations: 47.3 kB / 0.5279 GB, free: 76.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.468e-05/0.6183, allocations: 22.64 kB / 0.5279 GB, free: 76.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001764/0.6185, allocations: 199 kB / 0.5281 GB, free: 76.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6185, allocations: 0 / 0.5281 GB, free: 76.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000713/0.6192, allocations: 192.2 kB / 0.5283 GB, free: 76.14 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.0002653/0.6195, allocations: 172.9 kB / 0.5285 GB, free: 76.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001834/0.6213, allocations: 0.9577 MB / 0.5294 GB, free: 75.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6213, allocations: 0 / 0.5294 GB, free: 75.62 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008937/0.6222, allocations: 0.5714 MB / 0.53 GB, free: 75.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004435/0.6227, allocations: 49.84 kB / 0.53 GB, free: 75.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002344/0.6251, allocations: 1.5 MB / 0.5315 GB, free: 74.38 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.6254, allocations: 0.8777 MB / 0.5323 GB, free: 73.67 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005286/0.6259, allocations: 93.48 kB / 0.5324 GB, free: 73.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.6261, allocations: 51.28 kB / 0.5325 GB, free: 73.63 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/0.6261, allocations: 7.688 kB / 0.5325 GB, free: 73.63 MB / 378.7 MB Notification: Performance of Templates: time 0.01009/0.6362, allocations: 5.871 MB / 0.5382 GB, free: 71 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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_4_0_0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.o Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.c In file included from Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.c:7: In file included from ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_model.h:26: ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_functions.h:364: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.ToroidalCoreAirgap.o] Error 1