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.001052/0.001052, allocations: 177.3 kB / 17.06 MB, free: 5.094 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.399/1.399, allocations: 223.2 MB / 241 MB, free: 11.88 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.0008322/0.0008322, allocations: 88.86 kB / 292.1 MB, free: 10.92 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.3612/0.3612, allocations: 44.22 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003267/0.0003268, allocations: 12 kB / 459.9 MB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3588, allocations: 61.89 MB / 0.5096 GB, free: 37.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.133/0.4918, allocations: 99.22 MB / 0.6065 GB, free: 11.91 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/0.4921, allocations: 83.94 kB / 0.6065 GB, free: 11.83 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07305/0.5652, allocations: 32.67 MB / 0.6384 GB, free: 10.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5652, allocations: 4 kB / 0.6384 GB, free: 10.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.734e-05/0.5653, allocations: 20 kB / 0.6385 GB, free: 10.78 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.002832/0.5681, allocations: 1.284 MB / 0.6397 GB, free: 9.445 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.5682, allocations: 12.03 kB / 0.6397 GB, free: 9.434 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00611/0.5743, allocations: 0.9585 MB / 0.6407 GB, free: 8.473 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009191/0.5752, allocations: 0.5309 MB / 0.6412 GB, free: 7.902 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.184e-05/0.5753, allocations: 86.41 kB / 0.6413 GB, free: 7.816 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001817/0.5755, allocations: 123.9 kB / 0.6414 GB, free: 7.695 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002001/0.5775, allocations: 1.137 MB / 0.6425 GB, free: 6.531 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.181e-05/0.5776, allocations: 3.984 kB / 0.6425 GB, free: 6.527 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.5777, allocations: 52 kB / 0.6425 GB, free: 6.477 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.412e-05/0.5777, allocations: 28 kB / 0.6426 GB, free: 6.449 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002209/0.5799, allocations: 1.38 MB / 0.6439 GB, free: 5.062 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007498/0.5874, allocations: 4.723 MB / 0.6485 GB, free: 56 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/0.5892, allocations: 0.9238 MB / 0.6494 GB, free: 15.1 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001333/0.5893, allocations: 98.08 kB / 0.6495 GB, free: 14.99 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.566e-05/0.5894, allocations: 43.56 kB / 0.6496 GB, free: 14.94 MB / 474.7 MB Notification: Performance of pre-optimization done (n=89): time 3.647e-06/0.5894, allocations: 0 / 0.6496 GB, free: 14.94 MB / 474.7 MB Notification: Performance of matching and sorting (n=89): time 0.002224/0.5916, allocations: 1.185 MB / 0.6507 GB, free: 13.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/0.5917, allocations: 64.39 kB / 0.6508 GB, free: 13.63 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008936/0.5926, allocations: 0.7027 MB / 0.6515 GB, free: 12.92 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.284e-05/0.5927, allocations: 41.7 kB / 0.6515 GB, free: 12.87 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003167/0.593, allocations: 454.9 kB / 0.6519 GB, free: 12.42 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000227/0.5932, allocations: 307.5 kB / 0.6522 GB, free: 12.11 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.051e-05/0.5933, allocations: 24 kB / 0.6523 GB, free: 12.09 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.5935, allocations: 390.7 kB / 0.6526 GB, free: 11.7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005652/0.594, allocations: 338.5 kB / 0.653 GB, free: 11.37 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007158/0.5947, allocations: 0.5504 MB / 0.6535 GB, free: 10.73 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006764/0.5954, allocations: 414.9 kB / 0.6539 GB, free: 10.32 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.5954, allocations: 3.938 kB / 0.6539 GB, free: 10.32 MB / 474.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001876/0.5973, allocations: 1.123 MB / 0.655 GB, free: 9.184 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/0.5974, allocations: 9.406 kB / 0.655 GB, free: 9.176 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.5974, allocations: 8 kB / 0.655 GB, free: 9.168 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000295/0.5977, allocations: 61.69 kB / 0.6551 GB, free: 9.102 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009757/0.5987, allocations: 247.6 kB / 0.6553 GB, free: 8.859 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002096/0.6008, allocations: 2.639 MB / 0.6579 GB, free: 5.949 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009375/0.6017, allocations: 150.5 kB / 0.658 GB, free: 5.801 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.279e-05/0.6018, allocations: 43.98 kB / 0.6581 GB, free: 5.758 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.0004478/0.6023, allocations: 251.3 kB / 0.6583 GB, free: 5.504 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.6024, allocations: 86.97 kB / 0.6584 GB, free: 5.418 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001805/0.6042, allocations: 1.102 MB / 0.6595 GB, free: 4.277 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.6043, allocations: 8 kB / 0.6595 GB, free: 4.27 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.6043, allocations: 11.98 kB / 0.6595 GB, free: 4.258 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.886e-06/0.6043, allocations: 3.984 kB / 0.6595 GB, free: 4.254 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003608/0.6079, allocations: 2.672 MB / 0.6621 GB, free: 1.352 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.6079, allocations: 8 kB / 0.6621 GB, free: 1.344 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007182/0.6087, allocations: 187.7 kB / 0.6623 GB, free: 1.16 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000215/0.6089, allocations: 57.98 kB / 0.6623 GB, free: 1.098 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.437e-05/0.6089, allocations: 32 kB / 0.6624 GB, free: 1.066 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001947/0.6109, allocations: 2.627 MB / 0.6649 GB, free: 14.17 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.6109, allocations: 12 kB / 0.6649 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002467/0.6134, allocations: 1.759 MB / 0.6667 GB, free: 12.15 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003172/0.6137, allocations: 207.7 kB / 0.6669 GB, free: 11.93 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.6138, allocations: 27.98 kB / 0.6669 GB, free: 11.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006227/0.6145, allocations: 56.05 kB / 0.6669 GB, free: 11.85 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/0.6146, allocations: 84.28 kB / 0.667 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-05/0.6147, allocations: 36 kB / 0.6671 GB, free: 11.73 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000716/0.6154, allocations: 0.5459 MB / 0.6676 GB, free: 11.19 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6154, allocations: 0 / 0.6676 GB, free: 11.19 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009621/0.6164, allocations: 299.5 kB / 0.6679 GB, free: 10.9 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.0003211/0.6167, allocations: 184.1 kB / 0.668 GB, free: 10.71 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001743/0.6185, allocations: 1.054 MB / 0.6691 GB, free: 9.629 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.6185, allocations: 0 / 0.6691 GB, free: 9.629 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008732/0.6194, allocations: 0.6315 MB / 0.6697 GB, free: 8.973 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005317/0.6199, allocations: 98.92 kB / 0.6698 GB, free: 8.871 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003034/0.6229, allocations: 2.091 MB / 0.6718 GB, free: 6.672 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005637/0.6235, allocations: 1.015 MB / 0.6728 GB, free: 5.633 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006562/0.6242, allocations: 151.3 kB / 0.673 GB, free: 5.48 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002277/0.6244, allocations: 83.42 kB / 0.673 GB, free: 5.398 MB / 490.7 MB Notification: Performance of SimCode: time 1.763e-06/0.6244, allocations: 0 / 0.673 GB, free: 5.398 MB / 490.7 MB Notification: Performance of Templates: time 0.2417/0.8661, allocations: 9.459 MB / 0.6823 GB, free: 111.1 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 -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -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:24: ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_functions.h:304: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