Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.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.Ideal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002538/0.002538, allocations: 198.4 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 227.2 MB / 245 MB, free: 5.793 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001103/0.001103, allocations: 107.1 kB / 297.3 MB, free: 5.965 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.456/0.456, allocations: 45.24 MB / 394.7 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003125/0.0003124, allocations: 8 kB / 468.5 MB, free: 7.633 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4138/0.4142, allocations: 63.25 MB / 0.5193 GB, free: 37.3 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1645/0.5787, allocations: 117.1 MB / 0.6336 GB, free: 2.312 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003383/0.5791, allocations: 91.92 kB / 0.6337 GB, free: 2.227 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.398/2.977, allocations: 494.7 MB / 1.117 GB, free: 62.04 MB / 0.5573 GB Notification: Performance of FrontEnd: time 5.26e-06/2.977, allocations: 0 / 1.117 GB, free: 62.04 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.001083/2.979, allocations: 300.4 kB / 1.117 GB, free: 62.02 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3858 * Number of variables: 3858 Notification: Performance of Generate backend data structure: time 0.06352/3.042, allocations: 13.97 MB / 1.131 GB, free: 58.16 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.321e-05/3.042, allocations: 9.75 kB / 1.131 GB, free: 58.16 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01312/3.055, allocations: 2.003 MB / 1.133 GB, free: 58.03 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04701/3.102, allocations: 7.918 MB / 1.14 GB, free: 57.27 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02991/3.132, allocations: 9.093 MB / 1.149 GB, free: 56.14 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001377/3.134, allocations: 0.9901 MB / 1.15 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00745/3.141, allocations: 1.29 MB / 1.151 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07288/3.214, allocations: 23.24 MB / 1.174 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008057/3.215, allocations: 17.53 kB / 1.174 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007114/3.222, allocations: 0.5571 MB / 1.175 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00162/3.224, allocations: 1.02 MB / 1.176 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04749/3.271, allocations: 20.03 MB / 1.195 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1542/3.426, allocations: 73.16 MB / 1.267 GB, free: 17.21 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03244/3.458, allocations: 28.64 MB / 1.295 GB, free: 3.852 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04905/3.507, allocations: 16.65 MB / 1.311 GB, free: 6.02 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001268/3.507, allocations: 87.8 kB / 1.311 GB, free: 5.926 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=465): time 9.357e-06/3.507, allocations: 0 / 1.311 GB, free: 5.926 MB / 0.5886 GB Notification: Performance of matching and sorting (n=465): time 0.5746/4.082, allocations: 15.95 MB / 1.327 GB, free: 91.45 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.947e-05/4.082, allocations: 122.9 kB / 1.327 GB, free: 91.36 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0105/4.093, allocations: 4.562 MB / 1.331 GB, free: 91.09 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.001301/4.094, allocations: 100.3 kB / 1.331 GB, free: 91.06 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.004556/4.099, allocations: 5.855 MB / 1.337 GB, free: 88.77 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.002668/4.101, allocations: 1.58 MB / 1.339 GB, free: 87.79 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008825/4.102, allocations: 149.2 kB / 1.339 GB, free: 87.79 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0005229/4.103, allocations: 0.6131 MB / 1.339 GB, free: 87.47 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007317/4.11, allocations: 4.12 MB / 1.343 GB, free: 87.46 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01163/4.122, allocations: 7.134 MB / 1.35 GB, free: 83.77 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01141/4.133, allocations: 5.566 MB / 1.356 GB, free: 83.72 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003226/4.134, allocations: 29.22 kB / 1.356 GB, free: 83.72 MB / 0.5886 GB Notification: Performance of matching and sorting (n=949) (initialization): time 0.03569/4.169, allocations: 13.01 MB / 1.368 GB, free: 83.25 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004438/4.17, allocations: 55.61 kB / 1.369 GB, free: 83.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004921/4.17, allocations: 101.8 kB / 1.369 GB, free: 83.25 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00788/4.178, allocations: 3.093 MB / 1.372 GB, free: 83.18 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007102/4.185, allocations: 1.584 MB / 1.373 GB, free: 83.17 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00937/4.195, allocations: 6.452 MB / 1.379 GB, free: 81.51 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008974/4.204, allocations: 1.061 MB / 1.381 GB, free: 81.07 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002488/4.206, allocations: 377.8 kB / 1.381 GB, free: 81.07 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 461 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (802): * Single equations (assignments): 799 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {20 28,20 28,20 28} Notification: Performance of prepare postOptimizeDAE: time 0.02103/4.227, allocations: 5.379 MB / 1.386 GB, free: 80.89 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002639/4.23, allocations: 0.5011 MB / 1.387 GB, free: 80.62 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02093/4.251, allocations: 9.634 MB / 1.396 GB, free: 80.29 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.061e-05/4.251, allocations: 48.06 kB / 1.396 GB, free: 80.29 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.174e-05/4.251, allocations: 4 kB / 1.396 GB, free: 80.29 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001072/4.251, allocations: 26.02 kB / 1.396 GB, free: 80.29 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05795/4.309, allocations: 20.75 MB / 1.416 GB, free: 78.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.293e-05/4.309, allocations: 0 / 1.416 GB, free: 78.52 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004039/4.313, allocations: 0.7433 MB / 1.417 GB, free: 78.49 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006857/4.32, allocations: 2.964 MB / 1.42 GB, free: 77.76 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001236/4.321, allocations: 96.77 kB / 1.42 GB, free: 77.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008907/4.33, allocations: 6.265 MB / 1.426 GB, free: 74.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/4.33, allocations: 6.188 kB / 1.426 GB, free: 74.5 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02503/4.356, allocations: 14.16 MB / 1.44 GB, free: 68.9 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005251/4.361, allocations: 1.402 MB / 1.441 GB, free: 68.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002503/4.363, allocations: 82.94 kB / 1.441 GB, free: 68.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004899/4.368, allocations: 389.6 kB / 1.442 GB, free: 68.03 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001478/4.37, allocations: 312.2 kB / 1.442 GB, free: 67.99 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001005/4.371, allocations: 129.7 kB / 1.442 GB, free: 67.96 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.007761/4.379, allocations: 3.403 MB / 1.446 GB, free: 66.79 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.41e-07/4.379, allocations: 0 / 1.446 GB, free: 66.79 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01376/4.392, allocations: 3.196 MB / 1.449 GB, free: 65.77 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealClosingSwitch.idealClosingSwitch[1].pin_p.reference.gamma) * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (357): * Single equations (assignments): 354 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {20 28,20 28,20 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.02692/4.419, allocations: 14.97 MB / 1.463 GB, free: 59.08 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01906/4.438, allocations: 10.11 MB / 1.473 GB, free: 50.81 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.301e-05/4.439, allocations: 8.188 kB / 1.473 GB, free: 50.8 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01001/4.449, allocations: 4.724 MB / 1.478 GB, free: 46.85 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008001/4.457, allocations: 1.155 MB / 1.479 GB, free: 45.97 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6445/5.101, allocations: 138.1 MB / 1.614 GB, free: 44.29 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03036/5.132, allocations: 9.244 MB / 1.623 GB, free: 43.31 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.01519/5.147, allocations: 2.846 MB / 1.626 GB, free: 43.26 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01662/5.164, allocations: 4.651 MB / 1.63 GB, free: 43.25 MB / 0.6042 GB Notification: Performance of SimCode: time 1.854e-06/5.164, allocations: 0 / 1.63 GB, free: 43.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7994/5.963, allocations: 171.9 MB / 1.798 GB, free: 76.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/5.963, allocations: 215.9 kB / 1.798 GB, free: 76.01 MB / 0.6198 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_Ideal.o ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal.c In file included from ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal.c:7: In file included from ./ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal_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_Ideal.c:7: In file included from ./ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal_model.h:24: ./ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal_functions.h:309:1: error: unknown type name '_omcQComplexOutput_24currentSensor_24currentSensor_24i' _omcQComplexOutput_24currentSensor_24currentSensor_24i omc__omcQComplexOutput_24currentSensor_24currentSensor_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal_functions.h:318:1: error: unknown type name '_omcQComplexOutput_24currentSensor_24i' _omcQComplexOutput_24currentSensor_24i omc__omcQComplexOutput_24currentSensor_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 2 warnings and 2 errors generated. make: *** [: ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal.o] Error 1