Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.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) 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(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001298/0.001299, allocations: 197.5 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.339/1.339, allocations: 227.2 MB / 245 MB, free: 5.781 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009432/0.0009433, allocations: 99.77 kB / 297.3 MB, free: 5.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002157/0.0002157, allocations: 8 kB / 358 MB, free: 9.211 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2416, allocations: 51.48 MB / 409.5 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1117/0.3534, allocations: 87.98 MB / 497.5 MB, free: 2.594 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/0.3537, allocations: 79.97 kB / 497.6 MB, free: 2.516 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2918/0.6455, allocations: 28.3 MB / 0.5135 GB, free: 86.6 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.6456, allocations: 0 / 0.5135 GB, free: 86.6 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.164e-05/0.6456, allocations: 15.75 kB / 0.5135 GB, free: 86.6 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.002005/0.6476, allocations: 1.046 MB / 0.5146 GB, free: 86.01 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.6477, allocations: 11.75 kB / 0.5146 GB, free: 86.01 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000139/0.6478, allocations: 153.9 kB / 0.5147 GB, free: 85.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002931/0.6508, allocations: 495.4 kB / 0.5152 GB, free: 85.92 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004818/0.6512, allocations: 429.9 kB / 0.5156 GB, free: 85.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.282e-05/0.6513, allocations: 70.94 kB / 0.5157 GB, free: 85.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.6514, allocations: 92.69 kB / 0.5158 GB, free: 85.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.6527, allocations: 0.9755 MB / 0.5167 GB, free: 85.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/0.6528, allocations: 0 / 0.5167 GB, free: 85.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.26e-05/0.6529, allocations: 37.47 kB / 0.5168 GB, free: 85.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.6529, allocations: 22.88 kB / 0.5168 GB, free: 85.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/0.6542, allocations: 0.9292 MB / 0.5177 GB, free: 85.55 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004029/0.6582, allocations: 3.559 MB / 0.5212 GB, free: 83.31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/0.6599, allocations: 2.238 MB / 0.5233 GB, free: 81.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001205/0.6601, allocations: 188.3 kB / 0.5235 GB, free: 81 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.6601, allocations: 45.97 kB / 0.5236 GB, free: 80.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=65): time 2.625e-06/0.6601, allocations: 0 / 0.5236 GB, free: 80.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.001116/0.6612, allocations: 0.7197 MB / 0.5243 GB, free: 80.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.6613, allocations: 115 kB / 0.5244 GB, free: 80.53 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.6615, allocations: 243.1 kB / 0.5246 GB, free: 80.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/0.6615, allocations: 37.64 kB / 0.5246 GB, free: 80.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.6617, allocations: 376.3 kB / 0.525 GB, free: 80.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.6618, allocations: 227 kB / 0.5252 GB, free: 79.87 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.798e-05/0.6618, allocations: 15.72 kB / 0.5252 GB, free: 79.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.532e-05/0.6619, allocations: 349 kB / 0.5256 GB, free: 79.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003178/0.6622, allocations: 224.3 kB / 0.5258 GB, free: 79.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003856/0.6626, allocations: 441.3 kB / 0.5262 GB, free: 79.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003746/0.663, allocations: 288.2 kB / 0.5265 GB, free: 78.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.663, allocations: 3.438 kB / 0.5265 GB, free: 78.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0009362/0.664, allocations: 0.7441 MB / 0.5272 GB, free: 78.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.664, allocations: 7.312 kB / 0.5272 GB, free: 78.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.664, allocations: 8.625 kB / 0.5272 GB, free: 78.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.664, allocations: 9.344 kB / 0.5272 GB, free: 78.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006071/0.6646, allocations: 190.3 kB / 0.5274 GB, free: 78.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.6647, allocations: 7.594 kB / 0.5274 GB, free: 78.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003763/0.665, allocations: 92.5 kB / 0.5275 GB, free: 78.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.095e-05/0.6651, allocations: 33.47 kB / 0.5275 GB, free: 78.56 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.0002287/0.6653, allocations: 225.9 kB / 0.5278 GB, free: 78.37 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.045e-05/0.6654, allocations: 39.62 kB / 0.5278 GB, free: 78.35 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009511/0.6664, allocations: 0.6487 MB / 0.5284 GB, free: 78.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.6664, allocations: 7.531 kB / 0.5284 GB, free: 78.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.6664, allocations: 7.719 kB / 0.5284 GB, free: 78.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.6664, allocations: 3.328 kB / 0.5284 GB, free: 78.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00174/0.6682, allocations: 1.477 MB / 0.5299 GB, free: 77.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.6682, allocations: 3.688 kB / 0.5299 GB, free: 77.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005241/0.6687, allocations: 140.4 kB / 0.53 GB, free: 77.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.6687, allocations: 3.938 kB / 0.53 GB, free: 77.24 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.341e-05/0.6688, allocations: 22.62 kB / 0.5301 GB, free: 77.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.6688, allocations: 0 / 0.5301 GB, free: 77.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6688, allocations: 3.812 kB / 0.5301 GB, free: 77.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001185/0.67, allocations: 1.14 MB / 0.5312 GB, free: 76.47 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.46e-05/0.6701, allocations: 124.6 kB / 0.5313 GB, free: 76.33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.113e-05/0.6701, allocations: 12 kB / 0.5313 GB, free: 76.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003328/0.6705, allocations: 27.89 kB / 0.5313 GB, free: 76.29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.091e-05/0.6705, allocations: 42.92 kB / 0.5314 GB, free: 76.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.001e-05/0.6706, allocations: 23.8 kB / 0.5314 GB, free: 76.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001264/0.6707, allocations: 187 kB / 0.5316 GB, free: 76.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6707, allocations: 0 / 0.5316 GB, free: 76.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006663/0.6714, allocations: 243.1 kB / 0.5318 GB, free: 75.85 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.001506/0.6729, allocations: 1.89 MB / 0.5336 GB, free: 74.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008215/0.6737, allocations: 0.6057 MB / 0.5342 GB, free: 73.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.6737, allocations: 0 / 0.5342 GB, free: 73.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003904/0.6741, allocations: 305.7 kB / 0.5345 GB, free: 73.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.6745, allocations: 39.92 kB / 0.5346 GB, free: 73.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00408/0.6786, allocations: 7.394 MB / 0.5418 GB, free: 65.85 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.6789, allocations: 0.9126 MB / 0.5427 GB, free: 65.01 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003319/0.6792, allocations: 78.27 kB / 0.5428 GB, free: 64.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002566/0.6795, allocations: 253.7 kB / 0.543 GB, free: 64.73 MB / 378.7 MB Notification: Performance of SimCode: time 8.32e-07/0.6795, allocations: 0 / 0.543 GB, free: 64.73 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01954/0.699, allocations: 8.939 MB / 0.5517 GB, free: 56.83 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001538/0.6992, allocations: 197.2 kB / 0.5519 GB, free: 56.58 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_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer.o Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer.c In file included from Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer.c:7: In file included from ./Modelica_trunk_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_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer.c:7: In file included from ./Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer_model.h:24: ./Modelica_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer.o] Error 1