Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001044/0.001044, allocations: 190.7 kB / 16.78 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 226.5 MB / 244.1 MB, free: 8.105 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007998/0.0007998, allocations: 104.4 kB / 296.1 MB, free: 6.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3692/0.3692, allocations: 44.82 MB / 393 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000298/0.0002982, allocations: 8 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3302, allocations: 62.95 MB / 0.5165 GB, free: 36.99 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1217/0.4519, allocations: 101.3 MB / 0.6154 GB, free: 4.109 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002044/0.4522, allocations: 83.95 kB / 0.6154 GB, free: 4.027 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08033/0.5325, allocations: 37.49 MB / 0.6521 GB, free: 14.12 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5326, allocations: 0 / 0.6521 GB, free: 14.12 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.517e-05/0.5326, allocations: 24 kB / 0.6521 GB, free: 14.09 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.003213/0.5358, allocations: 1.363 MB / 0.6534 GB, free: 12.68 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.5359, allocations: 8.875 kB / 0.6534 GB, free: 12.67 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005796/0.5417, allocations: 0.9711 MB / 0.6544 GB, free: 11.7 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00084/0.5425, allocations: 0.575 MB / 0.6549 GB, free: 11.08 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.731e-05/0.5426, allocations: 98.97 kB / 0.655 GB, free: 10.98 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000179/0.5428, allocations: 136.3 kB / 0.6552 GB, free: 10.85 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002016/0.5448, allocations: 1.234 MB / 0.6564 GB, free: 9.59 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.674e-05/0.5449, allocations: 8.188 kB / 0.6564 GB, free: 9.582 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/0.545, allocations: 59.94 kB / 0.6564 GB, free: 9.523 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.587e-05/0.545, allocations: 32 kB / 0.6565 GB, free: 9.492 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002245/0.5473, allocations: 1.451 MB / 0.6579 GB, free: 8.035 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007896/0.5552, allocations: 5.896 MB / 0.6636 GB, free: 1.656 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/0.5568, allocations: 0.9303 MB / 0.6645 GB, free: 0.6992 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005263/0.5573, allocations: 359.8 kB / 0.6649 GB, free: 352 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001547/0.5575, allocations: 187.2 kB / 0.6651 GB, free: 128 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.5575, allocations: 43.56 kB / 0.6651 GB, free: 72 kB / 474.7 MB Notification: Performance of pre-optimization done (n=90): time 2.695e-06/0.5575, allocations: 0 / 0.6651 GB, free: 72 kB / 474.7 MB Notification: Performance of matching and sorting (n=90): time 0.00204/0.5596, allocations: 1.202 MB / 0.6663 GB, free: 14.82 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.5596, allocations: 64.41 kB / 0.6663 GB, free: 14.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008715/0.5605, allocations: 0.8169 MB / 0.6671 GB, free: 13.92 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.932e-05/0.5606, allocations: 41.7 kB / 0.6672 GB, free: 13.87 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002796/0.5608, allocations: 0.5024 MB / 0.6677 GB, free: 13.36 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000191/0.561, allocations: 303.6 kB / 0.668 GB, free: 13.06 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.506e-05/0.5611, allocations: 24 kB / 0.668 GB, free: 13.04 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.5613, allocations: 398.7 kB / 0.6684 GB, free: 12.64 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005718/0.5618, allocations: 346.5 kB / 0.6687 GB, free: 12.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007297/0.5626, allocations: 0.6107 MB / 0.6693 GB, free: 11.57 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001313/0.5639, allocations: 0.9875 MB / 0.6703 GB, free: 10.47 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.5639, allocations: 8 kB / 0.6703 GB, free: 10.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001828/0.5657, allocations: 1.174 MB / 0.6714 GB, free: 9.273 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.5658, allocations: 8 kB / 0.6714 GB, free: 9.266 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.5658, allocations: 8 kB / 0.6714 GB, free: 9.258 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002587/0.5661, allocations: 65.67 kB / 0.6715 GB, free: 9.188 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009344/0.567, allocations: 259.7 kB / 0.6717 GB, free: 8.934 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001702/0.5687, allocations: 2.638 MB / 0.6743 GB, free: 6.027 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007768/0.5695, allocations: 154.4 kB / 0.6745 GB, free: 5.875 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-05/0.5696, allocations: 51.98 kB / 0.6745 GB, free: 5.824 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 139 * 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%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003946/0.57, allocations: 265.3 kB / 0.6748 GB, free: 5.555 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.5701, allocations: 90.88 kB / 0.6748 GB, free: 5.465 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001741/0.5719, allocations: 1.111 MB / 0.6759 GB, free: 4.32 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.5719, allocations: 12 kB / 0.6759 GB, free: 4.309 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.5719, allocations: 3.938 kB / 0.6759 GB, free: 4.305 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.5719, allocations: 3.984 kB / 0.6759 GB, free: 4.301 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00353/0.5755, allocations: 3.131 MB / 0.679 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.5755, allocations: 4 kB / 0.679 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006683/0.5762, allocations: 179.7 kB / 0.6792 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000194/0.5764, allocations: 74.11 kB / 0.6793 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.054e-05/0.5764, allocations: 24 kB / 0.6793 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.223/0.7995, allocations: 2.618 MB / 0.6818 GB, free: 106.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.999e-06/0.7995, allocations: 10.03 kB / 0.6818 GB, free: 106.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002609/0.8021, allocations: 1.477 MB / 0.6833 GB, free: 106 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003234/0.8025, allocations: 216.3 kB / 0.6835 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.8026, allocations: 26.89 kB / 0.6835 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006339/0.8032, allocations: 62.41 kB / 0.6836 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/0.8034, allocations: 79 kB / 0.6837 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.871e-05/0.8035, allocations: 33 kB / 0.6837 GB, free: 105.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008166/0.8043, allocations: 0.5777 MB / 0.6842 GB, free: 105.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.8043, allocations: 2.25 kB / 0.6842 GB, free: 105.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009496/0.8053, allocations: 321 kB / 0.6846 GB, free: 105.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentRMSSensor.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 (93): * Single equations (assignments): 91 * 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%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000288/0.8056, allocations: 183.4 kB / 0.6847 GB, free: 105.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001657/0.8073, allocations: 1.087 MB / 0.6858 GB, free: 105.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.8073, allocations: 4.422 kB / 0.6858 GB, free: 105.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007602/0.808, allocations: 0.6205 MB / 0.6864 GB, free: 105.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/0.8093, allocations: 129.8 kB / 0.6865 GB, free: 105.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002808/0.8121, allocations: 2.264 MB / 0.6887 GB, free: 104 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004063/0.8126, allocations: 1.017 MB / 0.6897 GB, free: 103.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003297/0.8129, allocations: 97.27 kB / 0.6898 GB, free: 103.3 MB / 490.7 MB Notification: Performance of SimCode: time 3.91e-07/0.8129, allocations: 0 / 0.6898 GB, free: 103.3 MB / 490.7 MB Notification: Performance of Templates: time 0.02524/0.8382, allocations: 21.17 MB / 0.7105 GB, free: 101.8 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.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 OMCppModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnectionCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnectionCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnectionCalcHelperMain.cpp:15: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnectionTypes.h:28:9: error: unknown type name '_omcQComplexOutput_24voltageSensor_24vType' typedef _omcQComplexOutput_24voltageSensor_24vType _omcQComplexOutput_24voltageSensor_24vRetType /* functionHeaderRegularFunction1 */; ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnectionCalcHelperMain.cpp:16: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnectionFunctions.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 OMCppModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnectionCalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnectionFunctions.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: *** [: OMCppModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnectionCalcHelperMain.o] Error 1