Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 179.6 kB / 18.09 MB, free: 3.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 223.3 MB / 242.1 MB, free: 9.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000819/0.000819, allocations: 88.86 kB / 293.3 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3564/0.3564, allocations: 44.14 MB / 388.5 MB, free: 38.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003948/0.0003949, allocations: 12 kB / 461.1 MB, free: 1.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.3772, allocations: 61.88 MB / 0.5107 GB, free: 37.88 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1246/0.5019, allocations: 99.26 MB / 0.6077 GB, free: 11.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/0.5022, allocations: 87.94 kB / 0.6077 GB, free: 11.72 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07389/0.5761, allocations: 32.59 MB / 0.6396 GB, free: 10.77 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5761, allocations: 0 / 0.6396 GB, free: 10.77 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.114e-05/0.5762, allocations: 16 kB / 0.6396 GB, free: 10.75 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.003183/0.5794, allocations: 1.288 MB / 0.6408 GB, free: 9.41 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.5794, allocations: 11.97 kB / 0.6409 GB, free: 9.398 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006271/0.5857, allocations: 0.9556 MB / 0.6418 GB, free: 8.441 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.587, allocations: 0.5437 MB / 0.6423 GB, free: 7.859 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.5871, allocations: 86.78 kB / 0.6424 GB, free: 7.773 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003627/0.5875, allocations: 120.4 kB / 0.6425 GB, free: 7.656 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00248/0.59, allocations: 1.134 MB / 0.6436 GB, free: 6.496 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.747e-05/0.59, allocations: 15.83 kB / 0.6436 GB, free: 6.48 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/0.5902, allocations: 52 kB / 0.6437 GB, free: 6.43 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.849e-05/0.5902, allocations: 32 kB / 0.6437 GB, free: 6.398 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002425/0.5927, allocations: 1.372 MB / 0.6451 GB, free: 5.02 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007745/0.6004, allocations: 4.738 MB / 0.6497 GB, free: 15.99 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/0.6022, allocations: 0.9146 MB / 0.6506 GB, free: 15.06 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006171/0.6028, allocations: 360.8 kB / 0.6509 GB, free: 14.7 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/0.6029, allocations: 102.1 kB / 0.651 GB, free: 14.59 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.079e-05/0.603, allocations: 47.55 kB / 0.6511 GB, free: 14.53 MB / 474.7 MB Notification: Performance of pre-optimization done (n=89): time 3.727e-06/0.603, allocations: 0 / 0.6511 GB, free: 14.53 MB / 474.7 MB Notification: Performance of matching and sorting (n=89): time 0.002395/0.6054, allocations: 1.19 MB / 0.6522 GB, free: 13.29 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.6055, allocations: 64.41 kB / 0.6523 GB, free: 13.22 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.6066, allocations: 0.7738 MB / 0.653 GB, free: 12.44 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.01e-05/0.6067, allocations: 41.7 kB / 0.6531 GB, free: 12.39 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003337/0.607, allocations: 454.9 kB / 0.6535 GB, free: 11.94 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002489/0.6073, allocations: 303.6 kB / 0.6538 GB, free: 11.64 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.004e-05/0.6073, allocations: 24 kB / 0.6538 GB, free: 11.61 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.6075, allocations: 390.7 kB / 0.6542 GB, free: 11.22 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006279/0.6082, allocations: 342.5 kB / 0.6545 GB, free: 10.89 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008381/0.609, allocations: 0.5544 MB / 0.6551 GB, free: 10.24 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001458/0.6105, allocations: 0.9153 MB / 0.656 GB, free: 9.234 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/0.6105, allocations: 4 kB / 0.656 GB, free: 9.23 MB / 474.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001943/0.6125, allocations: 1.123 MB / 0.6571 GB, free: 8.09 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.6125, allocations: 7.984 kB / 0.6571 GB, free: 8.082 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.6125, allocations: 8 kB / 0.6571 GB, free: 8.074 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003033/0.6128, allocations: 61.69 kB / 0.6571 GB, free: 8.008 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009422/0.6138, allocations: 247.6 kB / 0.6574 GB, free: 7.766 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002082/0.6159, allocations: 2.631 MB / 0.6599 GB, free: 4.863 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008538/0.6167, allocations: 150.5 kB / 0.6601 GB, free: 4.715 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.224e-05/0.6168, allocations: 47.97 kB / 0.6601 GB, free: 4.668 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (133): * Single equations (assignments): 131 * 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.0004077/0.6173, allocations: 245.5 kB / 0.6604 GB, free: 4.418 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/0.6174, allocations: 90.81 kB / 0.6605 GB, free: 4.328 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001781/0.6192, allocations: 1.099 MB / 0.6615 GB, free: 3.199 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.6192, allocations: 8 kB / 0.6615 GB, free: 3.191 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.6192, allocations: 0 / 0.6615 GB, free: 3.191 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.6192, allocations: 7.922 kB / 0.6615 GB, free: 3.184 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003712/0.623, allocations: 2.684 MB / 0.6642 GB, free: 276 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.359e-05/0.623, allocations: 11.94 kB / 0.6642 GB, free: 264 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006948/0.6237, allocations: 179.7 kB / 0.6643 GB, free: 84 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000199/0.6239, allocations: 61.95 kB / 0.6644 GB, free: 16 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.104e-05/0.624, allocations: 32.06 kB / 0.6644 GB, free: 15.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001963/0.626, allocations: 2.611 MB / 0.667 GB, free: 13.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-05/0.626, allocations: 12.09 kB / 0.667 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002161/0.6282, allocations: 1.463 MB / 0.6684 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002969/0.6285, allocations: 207.7 kB / 0.6686 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/0.6286, allocations: 32.05 kB / 0.6687 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006309/0.6293, allocations: 51.98 kB / 0.6687 GB, free: 11.22 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.6294, allocations: 80.34 kB / 0.6688 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.538e-05/0.6295, allocations: 32 kB / 0.6688 GB, free: 11.11 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006931/0.6302, allocations: 0.5498 MB / 0.6694 GB, free: 10.57 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6302, allocations: 0 / 0.6694 GB, free: 10.57 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001023/0.6312, allocations: 299.5 kB / 0.6696 GB, free: 10.27 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (variableAdmittance.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 (92): * Single equations (assignments): 90 * 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.0003314/0.6315, allocations: 176.6 kB / 0.6698 GB, free: 10.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001849/0.6334, allocations: 1.062 MB / 0.6708 GB, free: 9.008 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.6334, allocations: 4 kB / 0.6708 GB, free: 9.004 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009228/0.6344, allocations: 0.6228 MB / 0.6715 GB, free: 8.355 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/0.6356, allocations: 127.3 kB / 0.6716 GB, free: 8.234 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003248/0.6389, allocations: 2.091 MB / 0.6736 GB, free: 6.035 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005909/0.6395, allocations: 0.996 MB / 0.6746 GB, free: 5.012 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000685/0.6402, allocations: 147.4 kB / 0.6747 GB, free: 4.863 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002288/0.6404, allocations: 83.42 kB / 0.6748 GB, free: 4.781 MB / 490.7 MB Notification: Performance of SimCode: time 6.51e-07/0.6404, allocations: 0 / 0.6748 GB, free: 4.781 MB / 490.7 MB Notification: Performance of Templates: time 0.2515/0.8919, allocations: 9.531 MB / 0.6841 GB, free: 111.8 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.o ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.c In file included from ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.c:7: In file included from ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_model.h:26: ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_functions.h:286:1: error: unknown type name '_omcQComplexOutput_24voltageSensor_24v' _omcQComplexOutput_24voltageSensor_24v omc__omcQComplexOutput_24voltageSensor_24v (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 1 error generated. make: *** [: ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.o] Error 1