Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.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: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001512/0.001512, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 227.2 MB / 245 MB, free: 7.574 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001067/0.001067, allocations: 103.3 kB / 297.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4267/0.4267, allocations: 45.23 MB / 394.6 MB, free: 31.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000287/0.0002869, allocations: 8 kB / 468.5 MB, free: 7.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5033/0.5037, allocations: 63.24 MB / 0.5193 GB, free: 43.6 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1627/0.6664, allocations: 112.2 MB / 0.6288 GB, free: 9.391 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/0.6667, allocations: 92.55 kB / 0.6289 GB, free: 9.305 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.537/2.204, allocations: 408.4 MB / 1.028 GB, free: 73.33 MB / 0.5417 GB Notification: Performance of FrontEnd: time 4.068e-06/2.204, allocations: 0 / 1.028 GB, free: 73.33 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.001378/2.205, allocations: 254.9 kB / 1.028 GB, free: 73.29 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3296 * Number of variables: 3296 Notification: Performance of Generate backend data structure: time 0.05011/2.256, allocations: 10.88 MB / 1.039 GB, free: 68.63 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.818e-05/2.256, allocations: 7.469 kB / 1.039 GB, free: 68.63 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01036/2.266, allocations: 1.709 MB / 1.04 GB, free: 67.75 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0434/2.31, allocations: 7.785 MB / 1.048 GB, free: 64.93 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0263/2.336, allocations: 7.665 MB / 1.055 GB, free: 57.74 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001134/2.337, allocations: 0.8316 MB / 1.056 GB, free: 56.92 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00809/2.345, allocations: 1.103 MB / 1.057 GB, free: 55.83 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06331/2.409, allocations: 19.69 MB / 1.077 GB, free: 35.84 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007462/2.409, allocations: 19.89 kB / 1.077 GB, free: 35.82 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005919/2.415, allocations: 481.3 kB / 1.077 GB, free: 35.36 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001207/2.417, allocations: 0.9153 MB / 1.078 GB, free: 34.44 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04569/2.462, allocations: 17.7 MB / 1.095 GB, free: 16.73 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5884/3.051, allocations: 60.59 MB / 1.154 GB, free: 54.62 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02466/3.075, allocations: 16.57 MB / 1.171 GB, free: 47.73 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009977/3.077, allocations: 319.5 kB / 1.171 GB, free: 47.54 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001279/3.077, allocations: 102.5 kB / 1.171 GB, free: 47.49 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=653): time 9.517e-06/3.077, allocations: 1.406 kB / 1.171 GB, free: 47.49 MB / 0.5417 GB Notification: Performance of matching and sorting (n=653): time 0.02411/3.101, allocations: 12.31 MB / 1.183 GB, free: 46.21 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.049e-05/3.101, allocations: 117.7 kB / 1.183 GB, free: 46.14 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01724/3.118, allocations: 7.819 MB / 1.191 GB, free: 45.75 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001473/3.12, allocations: 131 kB / 1.191 GB, free: 45.72 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.004451/3.124, allocations: 4.488 MB / 1.195 GB, free: 44.38 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.00281/3.127, allocations: 2.181 MB / 1.197 GB, free: 42.99 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006335/3.128, allocations: 153.2 kB / 1.197 GB, free: 42.99 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0004208/3.128, allocations: 0.6236 MB / 1.198 GB, free: 42.67 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005468/3.134, allocations: 4.066 MB / 1.202 GB, free: 42.66 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008179/3.142, allocations: 6.84 MB / 1.209 GB, free: 39.3 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008743/3.151, allocations: 5.556 MB / 1.214 GB, free: 38.71 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001079/3.151, allocations: 29.16 kB / 1.214 GB, free: 38.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02277/3.173, allocations: 11.93 MB / 1.226 GB, free: 34.77 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000109/3.174, allocations: 46.53 kB / 1.226 GB, free: 34.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002282/3.174, allocations: 92.19 kB / 1.226 GB, free: 34.77 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001061/3.175, allocations: 425 kB / 1.226 GB, free: 34.66 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00878/3.184, allocations: 2.002 MB / 1.228 GB, free: 34.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006468/3.19, allocations: 8.995 MB / 1.237 GB, free: 26.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01244/3.203, allocations: 1.351 MB / 1.238 GB, free: 25.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002953/3.206, allocations: 378.1 kB / 1.239 GB, free: 25.63 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 414 * 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 (971): * Single equations (assignments): 965 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01348/3.219, allocations: 4.578 MB / 1.243 GB, free: 23.6 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002935/3.222, allocations: 0.7024 MB / 1.244 GB, free: 23.21 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01722/3.239, allocations: 10.58 MB / 1.254 GB, free: 19.22 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.643e-05/3.239, allocations: 71.12 kB / 1.254 GB, free: 19.22 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.364e-05/3.24, allocations: 0 / 1.254 GB, free: 19.22 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.341e-05/3.24, allocations: 36.19 kB / 1.254 GB, free: 19.22 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7159/3.955, allocations: 158.6 MB / 1.409 GB, free: 111.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003828/3.956, allocations: 90.25 kB / 1.409 GB, free: 111.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006819/3.963, allocations: 1.537 MB / 1.411 GB, free: 111.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001009/3.964, allocations: 399.4 kB / 1.411 GB, free: 111 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001511/3.965, allocations: 247.3 kB / 1.411 GB, free: 111 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005723/3.971, allocations: 8.874 MB / 1.42 GB, free: 103.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001071/3.971, allocations: 137.4 kB / 1.42 GB, free: 103.6 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03545/4.007, allocations: 33.7 MB / 1.453 GB, free: 80.24 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004717/4.011, allocations: 1.244 MB / 1.454 GB, free: 79.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003802/4.015, allocations: 248.2 kB / 1.455 GB, free: 79.51 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00844/4.024, allocations: 0.5617 MB / 1.455 GB, free: 79.41 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002377/4.026, allocations: 0.7248 MB / 1.456 GB, free: 79.21 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009094/4.027, allocations: 313.2 kB / 1.456 GB, free: 79.16 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.01353/4.041, allocations: 5.99 MB / 1.462 GB, free: 77.11 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.81e-07/4.041, allocations: 1.125 kB / 1.462 GB, free: 77.11 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01585/4.056, allocations: 2.639 MB / 1.465 GB, free: 76.67 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 389 * Number of states: 1 (currentSource.plug_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 (721): * Single equations (assignments): 715 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(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.03332/4.09, allocations: 50.59 MB / 1.514 GB, free: 28.78 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01749/4.107, allocations: 10.31 MB / 1.524 GB, free: 20.33 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.513e-05/4.107, allocations: 16.19 kB / 1.524 GB, free: 20.31 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.009721/4.117, allocations: 5.423 MB / 1.529 GB, free: 15.61 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01159/4.129, allocations: 1.359 MB / 1.531 GB, free: 14.5 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5993/4.728, allocations: 147.8 MB / 1.675 GB, free: 35.79 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02243/4.751, allocations: 7.951 MB / 1.683 GB, free: 34.84 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.01557/4.766, allocations: 3.584 MB / 1.686 GB, free: 34.57 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01312/4.779, allocations: 4.119 MB / 1.69 GB, free: 34.57 MB / 0.6042 GB Notification: Performance of SimCode: time 1.893e-06/4.78, allocations: 0 / 1.69 GB, free: 34.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7835/5.563, allocations: 184.1 MB / 1.87 GB, free: 110.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001914/5.563, allocations: 219 kB / 1.87 GB, free: 110.6 MB / 0.6042 GB 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_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection.o ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection.c In file included from ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection.c:7: In file included from ./ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_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_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection.c:7: In file included from ./ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection_model.h:24: ./ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection_functions.h:309: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); ^ ./ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection_functions.h:318:1: error: unknown type name '_omcQComplexOutput_24voltageSensor_24voltageSensor_24v' _omcQComplexOutput_24voltageSensor_24voltageSensor_24v omc__omcQComplexOutput_24voltageSensor_24voltageSensor_24v (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 2 warnings and 2 errors generated. make: *** [: ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection.o] Error 1