Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.QuadraticCoreAirgap,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.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,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.QuadraticCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001053/0.001053, allocations: 200 kB / 18.06 MB, free: 3.648 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.262/1.262, allocations: 226.5 MB / 245.3 MB, free: 6.387 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007141/0.0007142, allocations: 96.14 kB / 297.4 MB, free: 6.676 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002454/0.0002455, allocations: 7.984 kB / 357.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2274, allocations: 51.29 MB / 408.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1109/0.3384, allocations: 89.09 MB / 497.8 MB, free: 2.496 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/0.3387, allocations: 91.95 kB / 497.9 MB, free: 2.406 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2485/0.5872, allocations: 37.59 MB / 0.5229 GB, free: 85.87 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5872, allocations: 0 / 0.5229 GB, free: 85.87 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.219e-05/0.5873, allocations: 18.5 kB / 0.5229 GB, free: 85.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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.004322/0.5916, allocations: 1.513 MB / 0.5244 GB, free: 85.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.5917, allocations: 10.31 kB / 0.5244 GB, free: 85.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002767/0.5944, allocations: 469.6 kB / 0.5248 GB, free: 84.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.5947, allocations: 303.7 kB / 0.5251 GB, free: 84.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.673e-05/0.5948, allocations: 98.39 kB / 0.5252 GB, free: 84.6 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001766/0.595, allocations: 129.9 kB / 0.5254 GB, free: 84.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002129/0.5971, allocations: 1.308 MB / 0.5266 GB, free: 84.01 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.894e-05/0.5972, allocations: 12.03 kB / 0.5266 GB, free: 84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.5973, allocations: 55.12 kB / 0.5267 GB, free: 83.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/0.5973, allocations: 32.47 kB / 0.5267 GB, free: 83.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002221/0.5995, allocations: 1.229 MB / 0.5279 GB, free: 83.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005533/0.6051, allocations: 4.345 MB / 0.5322 GB, free: 78.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001875/0.607, allocations: 2.277 MB / 0.5344 GB, free: 76.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008718/0.6079, allocations: 0.5576 MB / 0.5349 GB, free: 75.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001656/0.608, allocations: 200.7 kB / 0.5351 GB, free: 75.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.6081, allocations: 43.56 kB / 0.5352 GB, free: 75.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=122): time 3.046e-06/0.6081, allocations: 0 / 0.5352 GB, free: 75.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=125): time 0.00996/0.6181, allocations: 4.059 MB / 0.5391 GB, free: 71.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.6181, allocations: 94.11 kB / 0.5392 GB, free: 70.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003502/0.6185, allocations: 389.4 kB / 0.5396 GB, free: 70.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.861e-05/0.6186, allocations: 45.7 kB / 0.5396 GB, free: 70.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.6187, allocations: 460.6 kB / 0.5401 GB, free: 70.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002046/0.6189, allocations: 421.6 kB / 0.5405 GB, free: 69.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.165e-05/0.619, allocations: 32 kB / 0.5405 GB, free: 69.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.577e-05/0.6191, allocations: 370.8 kB / 0.5409 GB, free: 69.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000912/0.62, allocations: 455.8 kB / 0.5413 GB, free: 68.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/0.6211, allocations: 0.7217 MB / 0.542 GB, free: 68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001994/0.6231, allocations: 1.219 MB / 0.5432 GB, free: 66.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.6231, allocations: 4 kB / 0.5432 GB, free: 66.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.002685/0.6258, allocations: 1.501 MB / 0.5447 GB, free: 65.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.6259, allocations: 15.92 kB / 0.5447 GB, free: 65.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.6259, allocations: 11.94 kB / 0.5447 GB, free: 65.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005437/0.6264, allocations: 193.5 kB / 0.5449 GB, free: 64.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.6276, allocations: 307.6 kB / 0.5452 GB, free: 64.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003194/0.6308, allocations: 3.983 MB / 0.5491 GB, free: 60.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009414/0.6318, allocations: 88 kB / 0.5491 GB, free: 60.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.5e-05/0.6319, allocations: 55.98 kB / 0.5492 GB, free: 60.25 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 (146): * Single equations (assignments): 144 * 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%) 12,(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004353/0.6323, allocations: 269.5 kB / 0.5495 GB, free: 59.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.6324, allocations: 67.16 kB / 0.5495 GB, free: 59.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002678/0.6351, allocations: 1.386 MB / 0.5509 GB, free: 58.51 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.6351, allocations: 12 kB / 0.5509 GB, free: 58.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.6351, allocations: 4 kB / 0.5509 GB, free: 58.49 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.6352, allocations: 7.969 kB / 0.5509 GB, free: 58.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003979/0.6391, allocations: 2.571 MB / 0.5534 GB, free: 55.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.6392, allocations: 0 / 0.5534 GB, free: 55.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009116/0.6401, allocations: 231.7 kB / 0.5536 GB, free: 55.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000411/0.6405, allocations: 157.7 kB / 0.5538 GB, free: 55.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.257e-05/0.6406, allocations: 35.98 kB / 0.5538 GB, free: 55.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002834/0.6435, allocations: 3.782 MB / 0.5575 GB, free: 51.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.6435, allocations: 4.312 kB / 0.5575 GB, free: 51.4 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003647/0.6471, allocations: 1.923 MB / 0.5594 GB, free: 49.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004023/0.6476, allocations: 236.3 kB / 0.5596 GB, free: 49.19 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001503/0.6477, allocations: 27.94 kB / 0.5596 GB, free: 49.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007266/0.6485, allocations: 75.88 kB / 0.5597 GB, free: 49.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002203/0.6487, allocations: 100.8 kB / 0.5598 GB, free: 48.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.808e-05/0.6488, allocations: 35.98 kB / 0.5598 GB, free: 48.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002939/0.6491, allocations: 263.2 kB / 0.5601 GB, free: 48.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.6491, allocations: 0 / 0.5601 GB, free: 48.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001344/0.6504, allocations: 316.1 kB / 0.5604 GB, free: 48.39 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (106): * Single equations (assignments): 104 * 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%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003873/0.6508, allocations: 203 kB / 0.5606 GB, free: 48.19 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002983/0.6538, allocations: 1.494 MB / 0.562 GB, free: 46.67 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.6539, allocations: 0 / 0.562 GB, free: 46.67 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001436/0.6553, allocations: 0.8856 MB / 0.5629 GB, free: 45.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006757/0.656, allocations: 74.11 kB / 0.563 GB, free: 45.69 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003374/0.6594, allocations: 2.289 MB / 0.5652 GB, free: 43.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/0.6598, allocations: 1.013 MB / 0.5662 GB, free: 42.31 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003513/0.6602, allocations: 95.38 kB / 0.5663 GB, free: 42.22 MB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.6602, allocations: 4 kB / 0.5663 GB, free: 42.21 MB / 378.7 MB Notification: Performance of Templates: time 0.02087/0.681, allocations: 19.47 MB / 0.5853 GB, free: 22.75 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.QuadraticCoreAirgapCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgapCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgapCalcHelperMain.cpp:15: ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgapTypes.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.QuadraticCoreAirgapCalcHelperMain.cpp:16: ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgapFunctions.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.QuadraticCoreAirgapCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgapFunctions.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.QuadraticCoreAirgapCalcHelperMain.o] Error 1