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: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 177.9 kB / 17.06 MB, free: 5.098 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.444/1.444, allocations: 223.2 MB / 241 MB, free: 11.89 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.0008788/0.0008788, allocations: 77.27 kB / 292.1 MB, free: 10.89 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.5275/0.5275, allocations: 44.22 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003567/0.0003567, allocations: 19.98 kB / 460 MB, free: 1.395 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3818, allocations: 61.9 MB / 0.5096 GB, free: 38.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1399/0.5217, allocations: 99.22 MB / 0.6065 GB, free: 11.83 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/0.5221, allocations: 87.92 kB / 0.6066 GB, free: 11.75 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07699/0.5991, allocations: 32.67 MB / 0.6385 GB, free: 10.71 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.5991, allocations: 0 / 0.6385 GB, free: 10.71 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.911e-05/0.5992, allocations: 20 kB / 0.6385 GB, free: 10.69 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.003127/0.6023, allocations: 1.292 MB / 0.6398 GB, free: 9.348 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.6024, allocations: 11.97 kB / 0.6398 GB, free: 9.336 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002777/0.6026, allocations: 177.7 kB / 0.64 GB, free: 9.152 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006379/0.609, allocations: 0.9547 MB / 0.6409 GB, free: 8.195 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.6102, allocations: 0.531 MB / 0.6414 GB, free: 7.625 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.828e-05/0.6103, allocations: 90.41 kB / 0.6415 GB, free: 7.535 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001804/0.6105, allocations: 123.9 kB / 0.6416 GB, free: 7.414 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002153/0.6126, allocations: 1.129 MB / 0.6427 GB, free: 6.258 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.473e-05/0.6127, allocations: 4 kB / 0.6427 GB, free: 6.254 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.6128, allocations: 48 kB / 0.6428 GB, free: 6.207 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.423e-05/0.6129, allocations: 32 kB / 0.6428 GB, free: 6.176 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002369/0.6152, allocations: 1.376 MB / 0.6442 GB, free: 4.793 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007775/0.623, allocations: 4.725 MB / 0.6488 GB, free: 15.78 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/0.6248, allocations: 0.9238 MB / 0.6497 GB, free: 14.82 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001148/0.6249, allocations: 101.9 kB / 0.6498 GB, free: 14.71 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.625, allocations: 43.56 kB / 0.6498 GB, free: 14.66 MB / 474.7 MB Notification: Performance of pre-optimization done (n=89): time 3.346e-06/0.625, allocations: 0 / 0.6498 GB, free: 14.66 MB / 474.7 MB Notification: Performance of matching and sorting (n=89): time 0.002256/0.6272, allocations: 1.189 MB / 0.651 GB, free: 13.42 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.6273, allocations: 64.41 kB / 0.651 GB, free: 13.35 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009052/0.6282, allocations: 0.6988 MB / 0.6517 GB, free: 12.64 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.954e-05/0.6283, allocations: 41.7 kB / 0.6518 GB, free: 12.59 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003313/0.6286, allocations: 454.9 kB / 0.6522 GB, free: 12.14 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002659/0.6289, allocations: 311.5 kB / 0.6525 GB, free: 11.83 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.945e-05/0.6289, allocations: 20 kB / 0.6525 GB, free: 11.81 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002123/0.6291, allocations: 390.7 kB / 0.6529 GB, free: 11.42 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006111/0.6298, allocations: 342.4 kB / 0.6532 GB, free: 11.09 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000795/0.6306, allocations: 0.5548 MB / 0.6538 GB, free: 10.44 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007258/0.6313, allocations: 414.9 kB / 0.6542 GB, free: 10.04 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.6313, allocations: 0 / 0.6542 GB, free: 10.04 MB / 474.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00202/0.6334, allocations: 1.123 MB / 0.6553 GB, free: 8.902 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.6334, allocations: 9.875 kB / 0.6553 GB, free: 8.895 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.6334, allocations: 11.94 kB / 0.6553 GB, free: 8.883 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002945/0.6337, allocations: 61.67 kB / 0.6553 GB, free: 8.816 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/0.6348, allocations: 243.6 kB / 0.6556 GB, free: 8.578 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002244/0.637, allocations: 2.635 MB / 0.6581 GB, free: 5.672 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009207/0.6379, allocations: 154.5 kB / 0.6583 GB, free: 5.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.509e-05/0.638, allocations: 40 kB / 0.6583 GB, free: 5.48 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.0004878/0.6385, allocations: 249.5 kB / 0.6586 GB, free: 5.227 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/0.6387, allocations: 86.97 kB / 0.6586 GB, free: 5.141 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001911/0.6406, allocations: 1.11 MB / 0.6597 GB, free: 3.992 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.6406, allocations: 8 kB / 0.6597 GB, free: 3.984 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.6406, allocations: 4 kB / 0.6597 GB, free: 3.98 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.6406, allocations: 3.984 kB / 0.6597 GB, free: 3.977 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003766/0.6444, allocations: 2.68 MB / 0.6624 GB, free: 1.066 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/0.6444, allocations: 8 kB / 0.6624 GB, free: 1.059 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007286/0.6452, allocations: 179.7 kB / 0.6625 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002227/0.6454, allocations: 61.98 kB / 0.6626 GB, free: 0.8164 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.483e-05/0.6455, allocations: 28 kB / 0.6626 GB, free: 0.7891 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002055/0.6475, allocations: 2.627 MB / 0.6652 GB, free: 13.89 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.395e-06/0.6476, allocations: 15.95 kB / 0.6652 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002388/0.65, allocations: 1.759 MB / 0.6669 GB, free: 11.87 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003245/0.6503, allocations: 207.8 kB / 0.6671 GB, free: 11.65 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.6504, allocations: 27.98 kB / 0.6672 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006351/0.6511, allocations: 56.05 kB / 0.6672 GB, free: 11.57 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.6512, allocations: 76.3 kB / 0.6673 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.825e-05/0.6513, allocations: 40 kB / 0.6673 GB, free: 11.45 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007788/0.6521, allocations: 0.5498 MB / 0.6679 GB, free: 10.91 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.6521, allocations: 0 / 0.6679 GB, free: 10.91 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009256/0.653, allocations: 295.5 kB / 0.6681 GB, free: 10.62 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.003297/0.6563, allocations: 4.096 MB / 0.6721 GB, free: 6.316 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001797/0.6581, allocations: 1.049 MB / 0.6732 GB, free: 5.242 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.6581, allocations: 0 / 0.6732 GB, free: 5.242 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008914/0.659, allocations: 0.628 MB / 0.6738 GB, free: 4.594 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006601/0.6597, allocations: 115.1 kB / 0.6739 GB, free: 4.48 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2698/0.9295, allocations: 9.815 MB / 0.6835 GB, free: 110.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004339/0.93, allocations: 1.009 MB / 0.6845 GB, free: 109.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000676/0.9307, allocations: 141.2 kB / 0.6846 GB, free: 109.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004207/0.9311, allocations: 356.4 kB / 0.6849 GB, free: 109.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.493e-06/0.9311, allocations: 3.188 kB / 0.6849 GB, free: 109.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03532/0.9664, allocations: 17.37 MB / 0.7019 GB, free: 108.6 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001666/0.9666, allocations: 224.1 kB / 0.7021 GB, free: 108.4 MB / 490.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 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); ^ 2 warnings and 1 error generated. make: *** [: ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.o] Error 1