Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001096/0.001096, allocations: 199.3 kB / 18.07 MB, free: 3.645 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.229/1.229, allocations: 226.5 MB / 245.3 MB, free: 6.512 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007532/0.0007532, allocations: 105.4 kB / 297.4 MB, free: 6.656 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002007/0.0002008, allocations: 8 kB / 357.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.1941, allocations: 51.3 MB / 408.7 MB, free: 27.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09378/0.2879, allocations: 83.64 MB / 492.3 MB, free: 7.918 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/0.2882, allocations: 85.45 kB / 492.4 MB, free: 7.836 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03781/0.326, allocations: 16.3 MB / 0.4968 GB, free: 7.367 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.326, allocations: 4 kB / 0.4968 GB, free: 7.363 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.592e-05/0.3261, allocations: 8 kB / 0.4968 GB, free: 7.355 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001558/0.3276, allocations: 0.7494 MB / 0.4975 GB, free: 6.555 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.3277, allocations: 16.02 kB / 0.4975 GB, free: 6.539 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002298/0.33, allocations: 368 kB / 0.4979 GB, free: 6.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003752/0.3304, allocations: 303.6 kB / 0.4982 GB, free: 5.844 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.633e-05/0.3304, allocations: 41.69 kB / 0.4982 GB, free: 5.801 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.839e-05/0.3305, allocations: 52.38 kB / 0.4983 GB, free: 5.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009113/0.3314, allocations: 0.5224 MB / 0.4988 GB, free: 5.223 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.3315, allocations: 8.094 kB / 0.4988 GB, free: 5.215 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.236e-05/0.3315, allocations: 23.94 kB / 0.4988 GB, free: 5.191 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.3315, allocations: 16 kB / 0.4988 GB, free: 5.176 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.3325, allocations: 0.5868 MB / 0.4994 GB, free: 4.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002894/0.3355, allocations: 2.001 MB / 0.5013 GB, free: 2.469 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1469/0.4823, allocations: 2.174 MB / 0.5035 GB, free: 90.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006229/0.483, allocations: 257.1 kB / 0.5037 GB, free: 90.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000141/0.4832, allocations: 174.6 kB / 0.5039 GB, free: 89.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.4832, allocations: 37.22 kB / 0.5039 GB, free: 89.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=47): time 2.435e-06/0.4832, allocations: 0.75 kB / 0.5039 GB, free: 89.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=47): time 0.001765/0.485, allocations: 0.744 MB / 0.5046 GB, free: 89.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.485, allocations: 56.8 kB / 0.5047 GB, free: 89.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.4852, allocations: 182.9 kB / 0.5049 GB, free: 89.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.4852, allocations: 36.64 kB / 0.5049 GB, free: 89.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.103e-05/0.4853, allocations: 225.1 kB / 0.5051 GB, free: 89.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.203e-05/0.4854, allocations: 157.9 kB / 0.5053 GB, free: 89.31 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-05/0.4854, allocations: 8.062 kB / 0.5053 GB, free: 89.31 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.509e-05/0.4855, allocations: 339.2 kB / 0.5056 GB, free: 89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002887/0.4858, allocations: 152.7 kB / 0.5057 GB, free: 89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003395/0.4861, allocations: 241.2 kB / 0.506 GB, free: 88.92 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005903/0.4867, allocations: 423.9 kB / 0.5064 GB, free: 88.83 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.4868, allocations: 0 / 0.5064 GB, free: 88.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008894/0.4876, allocations: 0.5387 MB / 0.5069 GB, free: 88.76 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.4877, allocations: 9.531 kB / 0.5069 GB, free: 88.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.4877, allocations: 8.781 kB / 0.5069 GB, free: 88.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003007/0.488, allocations: 81.2 kB / 0.507 GB, free: 88.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003584/0.4884, allocations: 98.83 kB / 0.5071 GB, free: 88.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/0.4897, allocations: 1.647 MB / 0.5087 GB, free: 87.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/0.4899, allocations: 50.34 kB / 0.5088 GB, free: 87.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-05/0.49, allocations: 19.64 kB / 0.5088 GB, free: 87.47 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * 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: 1 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001686/0.4902, allocations: 171.9 kB / 0.5089 GB, free: 87.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.167e-05/0.4902, allocations: 25.34 kB / 0.509 GB, free: 87.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/0.4913, allocations: 0.5452 MB / 0.5095 GB, free: 87.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.4913, allocations: 4.812 kB / 0.5095 GB, free: 87.28 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4913, allocations: 1.719 kB / 0.5095 GB, free: 87.28 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.4913, allocations: 2.719 kB / 0.5095 GB, free: 87.28 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001704/0.493, allocations: 1.161 MB / 0.5106 GB, free: 86.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.4931, allocations: 5.406 kB / 0.5106 GB, free: 86.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003023/0.4934, allocations: 81.59 kB / 0.5107 GB, free: 86.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002398/0.4936, allocations: 78.17 kB / 0.5108 GB, free: 86.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/0.4936, allocations: 8.906 kB / 0.5108 GB, free: 86.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001126/0.4948, allocations: 1.646 MB / 0.5124 GB, free: 85.63 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.4948, allocations: 6.953 kB / 0.5124 GB, free: 85.63 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.4958, allocations: 0.8053 MB / 0.5132 GB, free: 85.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.41e-05/0.4959, allocations: 106.5 kB / 0.5133 GB, free: 85.33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.525e-05/0.4959, allocations: 19.23 kB / 0.5133 GB, free: 85.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.4961, allocations: 15.28 kB / 0.5133 GB, free: 85.33 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.62e-05/0.4962, allocations: 41.14 kB / 0.5134 GB, free: 85.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.4963, allocations: 17.94 kB / 0.5134 GB, free: 85.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.684e-05/0.4963, allocations: 134.3 kB / 0.5135 GB, free: 85.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4963, allocations: 3.75 kB / 0.5135 GB, free: 85.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004695/0.4968, allocations: 157.7 kB / 0.5137 GB, free: 85.22 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.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 (44): * Single equations (assignments): 43 * 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: 1 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002004/0.497, allocations: 152.2 kB / 0.5138 GB, free: 85.12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008353/0.4979, allocations: 0.5748 MB / 0.5144 GB, free: 84.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4979, allocations: 3.969 kB / 0.5144 GB, free: 84.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004453/0.4983, allocations: 386.1 kB / 0.5148 GB, free: 84.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.4987, allocations: 36.41 kB / 0.5148 GB, free: 84.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.4997, allocations: 1.054 MB / 0.5158 GB, free: 84.28 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001741/0.4999, allocations: 0.8112 MB / 0.5166 GB, free: 83.58 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.5, allocations: 36.36 kB / 0.5166 GB, free: 83.57 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5, allocations: 0 / 0.5166 GB, free: 83.57 MB / 378.7 MB Notification: Performance of Templates: time 0.005911/0.5059, allocations: 6.311 MB / 0.5228 GB, free: 83.16 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonanceCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonanceCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonanceCalcHelperMain.cpp:15: ./OMCppModelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonanceTypes.h:26:9: error: unknown type name '_omcQComplexOutput_24voltageSensor_24vType' typedef _omcQComplexOutput_24voltageSensor_24vType _omcQComplexOutput_24voltageSensor_24vRetType /* functionHeaderRegularFunction1 */; ^ In file included from OMCppModelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonanceCalcHelperMain.cpp:16: ./OMCppModelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonanceFunctions.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.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonanceCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonanceFunctions.cpp:53: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.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonanceCalcHelperMain.o] Error 1