Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") Notification: Performance of loadModel(Modelica): time 1.893/1.893, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.629e-05/4.659e-05, allocations: 7.984 kB / 292.1 MB, free: 8.836 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09794/0.09802, allocations: 50.41 MB / 342.6 MB, free: 6.398 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3656/0.4637, allocations: 86.85 MB / 429.4 MB, free: 7.367 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/0.4639, allocations: 82.2 kB / 429.5 MB, free: 7.324 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1252/0.5892, allocations: 39.68 MB / 469.2 MB, free: 2.953 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.248e-06/0.5892, allocations: 0 / 469.2 MB, free: 2.953 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001899/0.5894, allocations: 32 kB / 469.2 MB, free: 2.922 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.003258/0.5927, allocations: 1.942 MB / 471.1 MB, free: 1.051 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.5928, allocations: 8.031 kB / 471.1 MB, free: 1.043 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000545/0.5933, allocations: 288.3 kB / 471.4 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004151/0.5975, allocations: 1.88 MB / 473.3 MB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.521e-05/0.5976, allocations: 59.66 kB / 473.4 MB, free: 15.09 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002141/0.5978, allocations: 50.11 kB / 473.4 MB, free: 15.05 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008154/0.5987, allocations: 367.2 kB / 473.8 MB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.5987, allocations: 3.984 kB / 473.8 MB, free: 14.78 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.991e-05/0.5988, allocations: 13.69 kB / 473.8 MB, free: 14.78 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.5988, allocations: 12 kB / 473.8 MB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007214/0.5995, allocations: 294.9 kB / 474.1 MB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006053/0.6056, allocations: 3.101 MB / 477.2 MB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000679/0.6063, allocations: 297.1 kB / 477.5 MB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003391/0.6067, allocations: 153.7 kB / 477.6 MB, free: 11.53 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.764e-05/0.6067, allocations: 4 kB / 477.6 MB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.261e-05/0.6068, allocations: 46.56 kB / 477.7 MB, free: 11.47 MB / 394.7 MB Notification: Performance of pre-optimization done (n=37): time 7.032e-06/0.6068, allocations: 3.984 kB / 477.7 MB, free: 11.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=48): time 0.005722/0.6125, allocations: 2.23 MB / 479.9 MB, free: 9.16 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.48e-05/0.6126, allocations: 89.48 kB / 480 MB, free: 9.055 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01323/0.6259, allocations: 4.851 MB / 484.9 MB, free: 4.203 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.76e-05/0.626, allocations: 37.7 kB / 484.9 MB, free: 4.16 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001314/0.6273, allocations: 0.9207 MB / 485.8 MB, free: 3.238 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002115/0.6276, allocations: 165.6 kB / 486 MB, free: 3.074 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.528e-05/0.6276, allocations: 12 kB / 486 MB, free: 3.062 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.6278, allocations: 334.8 kB / 486.3 MB, free: 2.727 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003607/0.6282, allocations: 129.1 kB / 486.4 MB, free: 2.598 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004169/0.6286, allocations: 207.8 kB / 486.6 MB, free: 2.375 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004213/0.629, allocations: 157.6 kB / 486.8 MB, free: 2.223 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.442e-06/0.6291, allocations: 4 kB / 486.8 MB, free: 2.219 MB / 394.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002678/0.6318, allocations: 0.8009 MB / 487.6 MB, free: 1.406 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.6318, allocations: 8 kB / 487.6 MB, free: 1.398 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.35e-06/0.6318, allocations: 4.094 kB / 487.6 MB, free: 1.395 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006865/0.6325, allocations: 156.8 kB / 487.8 MB, free: 1.238 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005365/0.6331, allocations: 99.81 kB / 487.9 MB, free: 1.141 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001157/0.6342, allocations: 0.7404 MB / 488.6 MB, free: 384 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007597/0.635, allocations: 24.03 kB / 488.6 MB, free: 360 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.004e-05/0.6351, allocations: 23.94 kB / 488.6 MB, free: 336 kB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001743/0.6353, allocations: 136.9 kB / 488.8 MB, free: 192 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005912/0.6359, allocations: 284.6 kB / 489.1 MB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002025/0.6379, allocations: 0.7646 MB / 489.8 MB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.638, allocations: 4 kB / 489.8 MB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.717e-06/0.638, allocations: 3.938 kB / 489.8 MB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.67e-06/0.638, allocations: 0 / 489.8 MB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003003/0.641, allocations: 1.714 MB / 491.5 MB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.526e-06/0.641, allocations: 0 / 491.5 MB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006407/0.6417, allocations: 95.88 kB / 491.6 MB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004383/0.6422, allocations: 108.7 kB / 491.7 MB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.568e-05/0.6422, allocations: 12 kB / 491.8 MB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000835/0.6431, allocations: 0.6343 MB / 492.4 MB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.851e-06/0.6431, allocations: 0 / 492.4 MB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002204/0.6453, allocations: 1.071 MB / 493.5 MB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00154/0.6469, allocations: 0.681 MB / 494.1 MB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003177/0.6472, allocations: 16 kB / 494.2 MB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007243/0.6479, allocations: 27.98 kB / 494.2 MB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.307e-05/0.6481, allocations: 28.41 kB / 494.2 MB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.466e-05/0.6481, allocations: 15.98 kB / 494.2 MB, free: 10.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00759/0.6557, allocations: 3.808 MB / 498 MB, free: 6.785 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.11e-06/0.6558, allocations: 0 / 498 MB, free: 6.785 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001461/0.6572, allocations: 328 kB / 498.4 MB, free: 6.465 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (core.MagRel,winding1.i,winding2.i,core.Hstat,core.B) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.00151/0.6588, allocations: 421.7 kB / 498.8 MB, free: 6.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009969/0.6598, allocations: 359 kB / 499.1 MB, free: 5.812 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.6598, allocations: 0 / 499.1 MB, free: 5.812 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004937/0.6603, allocations: 197.5 kB / 499.3 MB, free: 5.617 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/0.6617, allocations: 195.4 kB / 499.5 MB, free: 5.426 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01115/0.6728, allocations: 5.029 MB / 0.4927 GB, free: 356 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004322/0.6772, allocations: 1.857 MB / 0.4945 GB, free: 14.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007687/0.678, allocations: 139.4 kB / 0.4947 GB, free: 14.32 MB / 426.7 MB Notification: Performance of SimCode: time 1.969e-06/0.678, allocations: 0 / 0.4947 GB, free: 14.32 MB / 426.7 MB Notification: Performance of Templates: time 0.3215/0.9996, allocations: 40.27 MB / 0.534 GB, free: 132.2 MB / 442.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1CalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1CalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1CalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1Functions.cpp:196:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp7.getData(), table_.getDim(1), table_.getDim(2), ConstArray(columns_).getData(), columns_.getDim(1), smoothness__ext, extrapolation__ext, verboseRead__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaStandardTables.h:269:23: note: candidate function not viable: 6th argument ('const int *') would lose const qualifier MODELICA_EXPORT void* ModelicaStandardTables_CombiTable1D_init2(_In_z_ const char* fileName, ^ 1 error generated. : recipe for target 'OMCppModelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1CalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1CalcHelperMain.o] Error 1