Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.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) 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(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",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.001014/0.001014, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.514/1.514, allocations: 223.2 MB / 240.3 MB, free: 11.91 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.0009286/0.0009284, allocations: 96.19 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002734/0.0002733, allocations: 15.98 kB / 351.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2593, allocations: 50.4 MB / 401.6 MB, free: 32.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1056/0.3649, allocations: 87.1 MB / 488.7 MB, free: 9.359 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/0.3652, allocations: 79.95 kB / 488.8 MB, free: 9.281 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2859/0.6511, allocations: 26.85 MB / 0.5035 GB, free: 87.24 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.6512, allocations: 2.969 kB / 0.5035 GB, free: 87.24 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.562e-05/0.6512, allocations: 13.94 kB / 0.5035 GB, free: 87.24 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002352/0.6536, allocations: 1.046 MB / 0.5046 GB, free: 86.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.6536, allocations: 12.12 kB / 0.5046 GB, free: 86.71 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001785/0.6538, allocations: 148.3 kB / 0.5047 GB, free: 86.67 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003057/0.6569, allocations: 0.4931 MB / 0.5052 GB, free: 86.63 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005381/0.6574, allocations: 424.2 kB / 0.5056 GB, free: 86.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-05/0.6575, allocations: 70.12 kB / 0.5057 GB, free: 86.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/0.6577, allocations: 94.5 kB / 0.5058 GB, free: 86.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/0.6593, allocations: 0.98 MB / 0.5067 GB, free: 86.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.871e-05/0.6594, allocations: 1.094 kB / 0.5067 GB, free: 86.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-05/0.6595, allocations: 41.69 kB / 0.5068 GB, free: 86.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.919e-05/0.6595, allocations: 23.5 kB / 0.5068 GB, free: 86.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001548/0.6611, allocations: 0.9328 MB / 0.5077 GB, free: 86.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004093/0.6652, allocations: 3.462 MB / 0.5111 GB, free: 85.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/0.6669, allocations: 2.239 MB / 0.5133 GB, free: 83.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.411e-05/0.667, allocations: 98.33 kB / 0.5133 GB, free: 83.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.667, allocations: 47.78 kB / 0.5134 GB, free: 83.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=65): time 2.524e-06/0.667, allocations: 0 / 0.5134 GB, free: 83.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.001122/0.6681, allocations: 0.72 MB / 0.5141 GB, free: 83 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.6682, allocations: 116 kB / 0.5142 GB, free: 82.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.6684, allocations: 240.1 kB / 0.5144 GB, free: 82.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/0.6685, allocations: 40.38 kB / 0.5145 GB, free: 82.74 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.6686, allocations: 383.1 kB / 0.5148 GB, free: 82.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.6687, allocations: 221.6 kB / 0.515 GB, free: 82.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.947e-05/0.6688, allocations: 14 kB / 0.5151 GB, free: 82.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.113e-05/0.6689, allocations: 353.8 kB / 0.5154 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003321/0.6692, allocations: 223.6 kB / 0.5156 GB, free: 82.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004155/0.6696, allocations: 435.9 kB / 0.516 GB, free: 81.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003931/0.67, allocations: 282.7 kB / 0.5163 GB, free: 81.76 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.67, allocations: 0 / 0.5163 GB, free: 81.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001082/0.6711, allocations: 0.7492 MB / 0.517 GB, free: 81.69 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/0.6712, allocations: 6.094 kB / 0.517 GB, free: 81.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/0.6712, allocations: 7.094 kB / 0.517 GB, free: 81.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.994e-05/0.6712, allocations: 14.53 kB / 0.5171 GB, free: 81.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006506/0.6719, allocations: 189.9 kB / 0.5172 GB, free: 81.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.348e-05/0.6719, allocations: 16 kB / 0.5173 GB, free: 81.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004442/0.6724, allocations: 83.77 kB / 0.5173 GB, free: 81.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.115e-05/0.6724, allocations: 32.19 kB / 0.5174 GB, free: 81.64 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (98): * Single equations (assignments): 98 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002827/0.6727, allocations: 223.9 kB / 0.5176 GB, free: 81.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.444e-05/0.6728, allocations: 39.25 kB / 0.5176 GB, free: 81.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/0.6738, allocations: 0.6568 MB / 0.5183 GB, free: 81.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.6739, allocations: 7.844 kB / 0.5183 GB, free: 81.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.6739, allocations: 0 / 0.5183 GB, free: 81.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.6739, allocations: 4.594 kB / 0.5183 GB, free: 81.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002054/0.6759, allocations: 1.475 MB / 0.5197 GB, free: 81.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.974e-06/0.676, allocations: 7.906 kB / 0.5197 GB, free: 81.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005238/0.6765, allocations: 138.3 kB / 0.5198 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.6765, allocations: 7.484 kB / 0.5199 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.678e-05/0.6766, allocations: 19.83 kB / 0.5199 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.6766, allocations: 1.969 kB / 0.5199 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.6766, allocations: 3.844 kB / 0.5199 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/0.6779, allocations: 1.143 MB / 0.521 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.455e-05/0.678, allocations: 122.9 kB / 0.5211 GB, free: 80.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.542e-05/0.678, allocations: 11.72 kB / 0.5211 GB, free: 80.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003405/0.6784, allocations: 25.75 kB / 0.5211 GB, free: 80.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.6785, allocations: 50.06 kB / 0.5212 GB, free: 80.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.39e-05/0.6786, allocations: 21.09 kB / 0.5212 GB, free: 80.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001507/0.6787, allocations: 179.8 kB / 0.5214 GB, free: 80.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6787, allocations: 7.938 kB / 0.5214 GB, free: 80.06 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007663/0.6795, allocations: 235.6 kB / 0.5216 GB, free: 79.99 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (i1.pin_p.reference.gamma,load.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 (72): * Single equations (assignments): 72 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001665/0.6812, allocations: 1.876 MB / 0.5235 GB, free: 78.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000923/0.6821, allocations: 0.6102 MB / 0.524 GB, free: 78.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.6821, allocations: 4.125 kB / 0.5241 GB, free: 78.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004276/0.6825, allocations: 304.7 kB / 0.5243 GB, free: 78.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004111/0.683, allocations: 29.5 kB / 0.5244 GB, free: 78.35 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005684/0.6887, allocations: 7.402 MB / 0.5316 GB, free: 72.17 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.689, allocations: 0.9175 MB / 0.5325 GB, free: 71.46 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003432/0.6894, allocations: 77.28 kB / 0.5326 GB, free: 71.44 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002822/0.6897, allocations: 257.8 kB / 0.5328 GB, free: 71.25 MB / 378.7 MB Notification: Performance of SimCode: time 9.01e-07/0.6897, allocations: 0 / 0.5328 GB, free: 71.25 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02159/0.7113, allocations: 8.871 MB / 0.5415 GB, free: 67.57 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001588/0.7115, allocations: 201.9 kB / 0.5417 GB, free: 67.34 MB / 378.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 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer.o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer.c In file included from Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer.c:7: In file included from ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer_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 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer.c:7: In file included from ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer_model.h:24: ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer_functions.h:296:1: error: unknown type name '_omcQComplexOutput_24i1_24i' _omcQComplexOutput_24i1_24i omc__omcQComplexOutput_24i1_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer_functions.h:305:1: error: unknown type name '_omcQComplexOutput_24i2_24i' _omcQComplexOutput_24i2_24i omc__omcQComplexOutput_24i2_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer_functions.h:314:1: error: unknown type name '_omcQComplexOutput_24sensor0_24apparentPower' _omcQComplexOutput_24sensor0_24apparentPower omc__omcQComplexOutput_24sensor0_24apparentPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer_functions.h:323:1: error: unknown type name '_omcQComplexOutput_24sensorL_24apparentPower' _omcQComplexOutput_24sensorL_24apparentPower omc__omcQComplexOutput_24sensorL_24apparentPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer_functions.h:332:1: error: unknown type name '_omcQComplexOutput_24v2_24v' _omcQComplexOutput_24v2_24v omc__omcQComplexOutput_24v2_24v (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 2 warnings and 5 errors generated. make: *** [: Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer.o] Error 1