Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_cpp_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_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001022/0.001022, allocations: 194.7 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 226.5 MB / 245.3 MB, free: 6.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007599/0.0007599, allocations: 99.08 kB / 297.4 MB, free: 6.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002133/0.0002134, allocations: 4 kB / 357.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1944, allocations: 51.3 MB / 408.7 MB, free: 27.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09487/0.2893, allocations: 88.49 MB / 497.2 MB, free: 3.074 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002165/0.2896, allocations: 95.33 kB / 497.3 MB, free: 2.984 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2202/0.5098, allocations: 27.2 MB / 0.5122 GB, free: 87.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.5098, allocations: 0 / 0.5122 GB, free: 87.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.448e-05/0.5099, allocations: 13.19 kB / 0.5122 GB, free: 87.21 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.002931/0.5128, allocations: 1.145 MB / 0.5133 GB, free: 86.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.5128, allocations: 9.5 kB / 0.5133 GB, free: 86.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001868/0.5147, allocations: 326.5 kB / 0.5136 GB, free: 86.58 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002076/0.5149, allocations: 255.3 kB / 0.5139 GB, free: 86.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.326e-05/0.515, allocations: 66.34 kB / 0.5139 GB, free: 86.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.5151, allocations: 88.73 kB / 0.514 GB, free: 86.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.5166, allocations: 0.8875 MB / 0.5149 GB, free: 86.26 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.961e-05/0.5166, allocations: 4 kB / 0.5149 GB, free: 86.26 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.669e-05/0.5167, allocations: 37.19 kB / 0.5149 GB, free: 86.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.5167, allocations: 19.56 kB / 0.5149 GB, free: 86.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001603/0.5183, allocations: 0.831 MB / 0.5157 GB, free: 86.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003822/0.5222, allocations: 3.076 MB / 0.5188 GB, free: 84.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.5232, allocations: 1.013 MB / 0.5197 GB, free: 84.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004666/0.5237, allocations: 250.3 kB / 0.52 GB, free: 84.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001256/0.5238, allocations: 175.8 kB / 0.5201 GB, free: 83.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.5238, allocations: 42.69 kB / 0.5202 GB, free: 83.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=58): time 3.317e-06/0.5238, allocations: 1.938 kB / 0.5202 GB, free: 83.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.007201/0.531, allocations: 2.691 MB / 0.5228 GB, free: 82.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.5311, allocations: 84.17 kB / 0.5229 GB, free: 82.69 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002972/0.5314, allocations: 323.2 kB / 0.5232 GB, free: 82.51 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.799e-05/0.5315, allocations: 37.67 kB / 0.5232 GB, free: 82.47 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.5316, allocations: 355.2 kB / 0.5236 GB, free: 82.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.5317, allocations: 212.4 kB / 0.5238 GB, free: 82.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/0.5318, allocations: 15.22 kB / 0.5238 GB, free: 82.01 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.302e-05/0.5319, allocations: 353.2 kB / 0.5241 GB, free: 81.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007476/0.5326, allocations: 293.7 kB / 0.5244 GB, free: 81.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007952/0.5334, allocations: 0.5282 MB / 0.5249 GB, free: 81.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001513/0.5349, allocations: 0.8474 MB / 0.5258 GB, free: 80.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.86e-06/0.5349, allocations: 3.219 kB / 0.5258 GB, free: 80.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001938/0.5369, allocations: 0.9431 MB / 0.5267 GB, free: 80.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.5369, allocations: 9.719 kB / 0.5267 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.5369, allocations: 9.719 kB / 0.5267 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002363/0.5372, allocations: 76.38 kB / 0.5268 GB, free: 80.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008716/0.5381, allocations: 218.8 kB / 0.527 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/0.5394, allocations: 2.66 MB / 0.5296 GB, free: 77.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007178/0.5402, allocations: 84.36 kB / 0.5297 GB, free: 77.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.465e-05/0.5403, allocations: 33.98 kB / 0.5297 GB, free: 77.55 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.000333/0.5406, allocations: 224.6 kB / 0.5299 GB, free: 77.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.725e-05/0.5407, allocations: 38.53 kB / 0.5299 GB, free: 77.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001931/0.5426, allocations: 0.7885 MB / 0.5307 GB, free: 77.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.5426, allocations: 7.5 kB / 0.5307 GB, free: 77.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.5426, allocations: 4 kB / 0.5307 GB, free: 77.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.5427, allocations: 6.672 kB / 0.5307 GB, free: 77.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002596/0.5453, allocations: 1.473 MB / 0.5322 GB, free: 75.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.5453, allocations: 0 / 0.5322 GB, free: 75.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006331/0.5459, allocations: 146.7 kB / 0.5323 GB, free: 75.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001754/0.5461, allocations: 56.64 kB / 0.5324 GB, free: 75.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.625e-05/0.5462, allocations: 19.64 kB / 0.5324 GB, free: 75.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001318/0.5475, allocations: 2.646 MB / 0.535 GB, free: 72.74 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.5475, allocations: 0 / 0.535 GB, free: 72.74 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002333/0.5498, allocations: 1.154 MB / 0.5361 GB, free: 71.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002108/0.5501, allocations: 170 kB / 0.5363 GB, free: 71.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.024e-05/0.5501, allocations: 8 kB / 0.5363 GB, free: 71.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004844/0.5506, allocations: 62.59 kB / 0.5363 GB, free: 71.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.5507, allocations: 51.69 kB / 0.5364 GB, free: 71.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.654e-05/0.5508, allocations: 19.61 kB / 0.5364 GB, free: 71.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001915/0.551, allocations: 215.3 kB / 0.5366 GB, free: 71.24 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.551, allocations: 0 / 0.5366 GB, free: 71.24 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007392/0.5517, allocations: 195.2 kB / 0.5368 GB, free: 71.05 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.0003202/0.5521, allocations: 181.1 kB / 0.537 GB, free: 70.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001841/0.5539, allocations: 0.9631 MB / 0.5379 GB, free: 70 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5539, allocations: 0 / 0.5379 GB, free: 70 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008775/0.5548, allocations: 0.5702 MB / 0.5385 GB, free: 69.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.5552, allocations: 56.48 kB / 0.5385 GB, free: 69.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.5577, allocations: 1.539 MB / 0.54 GB, free: 68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.558, allocations: 0.8832 MB / 0.5409 GB, free: 67.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002341/0.5583, allocations: 64.28 kB / 0.5409 GB, free: 67.11 MB / 378.7 MB Notification: Performance of SimCode: time 4.6e-07/0.5583, allocations: 4 kB / 0.5409 GB, free: 67.1 MB / 378.7 MB Notification: Performance of Templates: time 0.01359/0.5719, allocations: 13.19 MB / 0.5538 GB, free: 54.73 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile clang++ -std=c++14 -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSectionCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSectionCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSectionCalcHelperMain.cpp:15: ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSectionTypes.h:31:9: error: unknown type name '_omcQComplexOutput_24voltageSensor_24vType' typedef _omcQComplexOutput_24voltageSensor_24vType _omcQComplexOutput_24voltageSensor_24vRetType /* functionHeaderRegularFunction1 */; ^ In file included from OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSectionCalcHelperMain.cpp:16: ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSectionFunctions.h:18:89: error: unknown type name '_omcQComplexOutput_24voltageSensor_24vType' void /*RecordTypetest*/ _omcQComplexOutput_24voltageSensor_24v(double re_, double im_,_omcQComplexOutput_24voltageSensor_24vType &output ); ^ In file included from OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSectionCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSectionFunctions.cpp:54:80: error: unknown type name '_omcQComplexOutput_24voltageSensor_24vType' void Functions::_omcQComplexOutput_24voltageSensor_24v(double re_, double im_, _omcQComplexOutput_24voltageSensor_24vType& output) ^ 3 errors generated. make: *** [: OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSectionCalcHelperMain.o] Error 1