Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.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.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_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.001135/0.001135, allocations: 177 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.331/1.331, 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.0009709/0.0009706, allocations: 94.64 kB / 292.1 MB, free: 10.91 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.3428/0.3428, allocations: 44.22 MB / 387.5 MB, free: 38.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003256/0.0003257, allocations: 8 kB / 460 MB, free: 1.414 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4319/0.4323, allocations: 61.9 MB / 0.5096 GB, free: 38.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1507/0.583, allocations: 111.1 MB / 0.6181 GB, free: 15.98 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/0.5833, allocations: 91.86 kB / 0.6182 GB, free: 15.9 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.376/1.959, allocations: 388 MB / 0.9971 GB, free: 68.58 MB / 0.5261 GB Notification: Performance of FrontEnd: time 5.932e-06/1.959, allocations: 0 / 0.9971 GB, free: 68.58 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.00184/1.961, allocations: 245.2 kB / 0.9973 GB, free: 68.55 MB / 0.5261 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.04804/2.009, allocations: 10.87 MB / 1.008 GB, free: 63.89 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.067e-05/2.009, allocations: 9.219 kB / 1.008 GB, free: 63.89 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01147/2.02, allocations: 1.713 MB / 1.01 GB, free: 62.91 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04464/2.065, allocations: 7.783 MB / 1.017 GB, free: 57.11 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02501/2.09, allocations: 7.675 MB / 1.025 GB, free: 49.39 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001062/2.091, allocations: 0.8347 MB / 1.026 GB, free: 48.57 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006088/2.097, allocations: 1.102 MB / 1.027 GB, free: 47.48 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05723/2.155, allocations: 19.69 MB / 1.046 GB, free: 27.49 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006996/2.156, allocations: 19.81 kB / 1.046 GB, free: 27.47 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005471/2.161, allocations: 486.2 kB / 1.046 GB, free: 27 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001258/2.162, allocations: 0.9153 MB / 1.047 GB, free: 26.09 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04543/2.208, allocations: 17.7 MB / 1.064 GB, free: 8.371 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.56/2.768, allocations: 60.34 MB / 1.123 GB, free: 53.59 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02903/2.797, allocations: 16.58 MB / 1.14 GB, free: 46.69 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001157/2.798, allocations: 239.2 kB / 1.14 GB, free: 46.59 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002008/2.798, allocations: 103.4 kB / 1.14 GB, free: 46.54 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=653): time 2.219e-05/2.798, allocations: 0 / 1.14 GB, free: 46.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=653): time 0.02699/2.825, allocations: 12.3 MB / 1.152 GB, free: 45.27 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.273e-05/2.826, allocations: 119.6 kB / 1.152 GB, free: 45.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01895/2.844, allocations: 7.809 MB / 1.16 GB, free: 44.81 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.00172/2.846, allocations: 133.4 kB / 1.16 GB, free: 44.78 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.005889/2.852, allocations: 4.483 MB / 1.164 GB, free: 42.25 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.003571/2.856, allocations: 2.19 MB / 1.166 GB, free: 40.56 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001744/2.858, allocations: 155.8 kB / 1.166 GB, free: 40.45 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.00112/2.859, allocations: 0.6215 MB / 1.167 GB, free: 40.01 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007591/2.866, allocations: 4.064 MB / 1.171 GB, free: 38.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01084/2.877, allocations: 6.839 MB / 1.178 GB, free: 33.83 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009848/2.887, allocations: 5.56 MB / 1.183 GB, free: 31.74 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001681/2.887, allocations: 25.09 kB / 1.183 GB, free: 31.74 MB / 0.5261 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02813/2.915, allocations: 11.94 MB / 1.195 GB, free: 27.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002047/2.916, allocations: 45 kB / 1.195 GB, free: 27.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000303/2.916, allocations: 90.59 kB / 1.195 GB, free: 27.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001371/2.917, allocations: 426.2 kB / 1.195 GB, free: 27.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008531/2.926, allocations: 2.002 MB / 1.197 GB, free: 27.63 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006437/2.932, allocations: 8.995 MB / 1.206 GB, free: 19.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00981/2.942, allocations: 1.353 MB / 1.207 GB, free: 18.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002473/2.945, allocations: 377.8 kB / 1.208 GB, free: 18.61 MB / 0.5261 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.01454/2.959, allocations: 4.584 MB / 1.212 GB, free: 16.54 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004267/2.964, allocations: 0.6976 MB / 1.213 GB, free: 16.16 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0251/2.989, allocations: 10.58 MB / 1.223 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.734e-05/2.989, allocations: 68 kB / 1.223 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.931e-05/2.989, allocations: 0 / 1.223 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001365/2.989, allocations: 34.27 kB / 1.223 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6896/3.679, allocations: 153.8 MB / 1.374 GB, free: 103.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002329/3.679, allocations: 90.16 kB / 1.374 GB, free: 103.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006077/3.685, allocations: 1.538 MB / 1.375 GB, free: 103.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00094/3.686, allocations: 398.6 kB / 1.376 GB, free: 103.6 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009564/3.687, allocations: 246 kB / 1.376 GB, free: 103.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005848/3.693, allocations: 8.867 MB / 1.384 GB, free: 96.21 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.779e-05/3.693, allocations: 134.5 kB / 1.385 GB, free: 96.21 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03025/3.723, allocations: 33.7 MB / 1.418 GB, free: 68.94 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004656/3.728, allocations: 1.244 MB / 1.419 GB, free: 68.3 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002903/3.731, allocations: 242.5 kB / 1.419 GB, free: 68.21 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006745/3.738, allocations: 0.5629 MB / 1.419 GB, free: 68.12 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001856/3.739, allocations: 0.7229 MB / 1.42 GB, free: 67.92 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001127/3.741, allocations: 310.3 kB / 1.421 GB, free: 67.87 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0126/3.753, allocations: 6 MB / 1.426 GB, free: 65.81 MB / 0.573 GB Notification: Performance of sort global known variables: time 7.11e-07/3.753, allocations: 0 / 1.426 GB, free: 65.81 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01449/3.768, allocations: 2.632 MB / 1.429 GB, free: 63.45 MB / 0.573 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.04144/3.809, allocations: 50.58 MB / 1.478 GB, free: 11.89 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01927/3.829, allocations: 10.31 MB / 1.488 GB, free: 3.492 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 0.0001346/3.829, allocations: 12.19 kB / 1.488 GB, free: 3.48 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01044/3.839, allocations: 5.464 MB / 1.494 GB, free: 14.88 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01317/3.852, allocations: 1.355 MB / 1.495 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6531/4.506, allocations: 147.8 MB / 1.639 GB, free: 23.73 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02733/4.533, allocations: 7.947 MB / 1.647 GB, free: 22.67 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.01514/4.548, allocations: 3.585 MB / 1.651 GB, free: 22.41 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01403/4.562, allocations: 4.113 MB / 1.655 GB, free: 22.4 MB / 0.5886 GB Notification: Performance of SimCode: time 1.653e-06/4.562, allocations: 0 / 1.655 GB, free: 22.4 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8039/5.366, allocations: 184.1 MB / 1.834 GB, free: 97.62 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001638/5.366, allocations: 215.8 kB / 1.835 GB, free: 97.38 MB / 0.5886 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_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection.o ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection.c In file included from ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection.c:7: In file included from ./ModelicaTest_4_0_0_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_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection.c:7: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection_model.h:24: ./ModelicaTest_4_0_0_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_4_0_0_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_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection.o] Error 1