Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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.ParallelResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001272/0.001272, 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.384/1.384, allocations: 227.2 MB / 245 MB, free: 5.777 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009073/0.0009072, allocations: 96.5 kB / 297.3 MB, free: 5.969 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002616/0.0002616, allocations: 8 kB / 358 MB, free: 9.215 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2143, allocations: 51.49 MB / 409.5 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1009/0.3152, allocations: 83.69 MB / 493.2 MB, free: 6.891 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002026/0.3154, allocations: 83.95 kB / 493.3 MB, free: 6.809 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03749/0.353, allocations: 16.34 MB / 0.4977 GB, free: 6.305 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.353, allocations: 4 kB / 0.4977 GB, free: 6.301 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.578e-05/0.353, allocations: 4 kB / 0.4977 GB, free: 6.297 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.00176/0.3548, allocations: 0.7648 MB / 0.4984 GB, free: 5.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.3548, allocations: 12.03 kB / 0.4984 GB, free: 5.469 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001979/0.355, allocations: 103.7 kB / 0.4985 GB, free: 5.359 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002387/0.3574, allocations: 363.1 kB / 0.4989 GB, free: 5.004 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000435/0.3579, allocations: 306.2 kB / 0.4992 GB, free: 4.668 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.069e-05/0.3579, allocations: 41.31 kB / 0.4992 GB, free: 4.629 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/0.3581, allocations: 55.95 kB / 0.4993 GB, free: 4.574 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/0.3591, allocations: 0.5258 MB / 0.4998 GB, free: 4.039 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/0.3591, allocations: 7.891 kB / 0.4998 GB, free: 4.031 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.424e-05/0.3592, allocations: 20 kB / 0.4998 GB, free: 4.012 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.3592, allocations: 12 kB / 0.4998 GB, free: 4 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.3603, allocations: 0.5908 MB / 0.5004 GB, free: 3.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003366/0.3636, allocations: 2.001 MB / 0.5024 GB, free: 1.289 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2246/0.5883, allocations: 2.178 MB / 0.5045 GB, free: 87.1 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002443/0.5886, allocations: 174.8 kB / 0.5046 GB, free: 86.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.5886, allocations: 37.53 kB / 0.5047 GB, free: 86.87 MB / 378.7 MB Notification: Performance of pre-optimization done (n=47): time 4.067e-06/0.5886, allocations: 0.5 kB / 0.5047 GB, free: 86.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=47): time 0.002183/0.5908, allocations: 0.7589 MB / 0.5054 GB, free: 86.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.5908, allocations: 58.08 kB / 0.5055 GB, free: 86.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.591, allocations: 166.4 kB / 0.5056 GB, free: 86.58 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.5911, allocations: 30.14 kB / 0.5057 GB, free: 86.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.5912, allocations: 223.1 kB / 0.5059 GB, free: 86.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.5913, allocations: 161.8 kB / 0.506 GB, free: 86.35 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.239e-05/0.5914, allocations: 10.09 kB / 0.506 GB, free: 86.35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.851e-05/0.5915, allocations: 335.7 kB / 0.5064 GB, free: 86.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000346/0.5918, allocations: 162.8 kB / 0.5065 GB, free: 86.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003735/0.5922, allocations: 238.5 kB / 0.5067 GB, free: 85.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003375/0.5925, allocations: 186.5 kB / 0.5069 GB, free: 85.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5925, allocations: 0 / 0.5069 GB, free: 85.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001008/0.5936, allocations: 0.5495 MB / 0.5075 GB, free: 85.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.5936, allocations: 11.14 kB / 0.5075 GB, free: 85.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.5936, allocations: 1.781 kB / 0.5075 GB, free: 85.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003315/0.5939, allocations: 76.17 kB / 0.5075 GB, free: 85.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004317/0.5944, allocations: 100.1 kB / 0.5076 GB, free: 85.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.5958, allocations: 1.663 MB / 0.5093 GB, free: 84.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002749/0.5961, allocations: 54.94 kB / 0.5093 GB, free: 84.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-05/0.5961, allocations: 16.55 kB / 0.5093 GB, free: 84.61 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (52): * Single equations (assignments): 51 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001872/0.5963, allocations: 164.5 kB / 0.5095 GB, free: 84.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.292e-05/0.5964, allocations: 29.08 kB / 0.5095 GB, free: 84.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.5975, allocations: 0.554 MB / 0.5101 GB, free: 84.42 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.321e-06/0.5975, allocations: 5.562 kB / 0.5101 GB, free: 84.42 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5975, allocations: 5.266 kB / 0.5101 GB, free: 84.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.5975, allocations: 2.531 kB / 0.5101 GB, free: 84.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.5993, allocations: 1.146 MB / 0.5112 GB, free: 84.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.5993, allocations: 0.5312 kB / 0.5112 GB, free: 84.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004037/0.5997, allocations: 81.75 kB / 0.5113 GB, free: 84.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002827/0.6, allocations: 80.47 kB / 0.5113 GB, free: 84.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.184e-05/0.6, allocations: 11.14 kB / 0.5114 GB, free: 84.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001321/0.6014, allocations: 1.671 MB / 0.513 GB, free: 82.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6014, allocations: 0 / 0.513 GB, free: 82.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.6026, allocations: 0.8088 MB / 0.5138 GB, free: 82.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.171e-05/0.6026, allocations: 118.6 kB / 0.5139 GB, free: 82.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.46e-05/0.6027, allocations: 8.281 kB / 0.5139 GB, free: 82.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/0.6029, allocations: 30 kB / 0.5139 GB, free: 82.51 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.383e-05/0.603, allocations: 36.69 kB / 0.514 GB, free: 82.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/0.603, allocations: 8.844 kB / 0.514 GB, free: 82.51 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.237e-05/0.6031, allocations: 136.3 kB / 0.5141 GB, free: 82.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6031, allocations: 0 / 0.5141 GB, free: 82.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004915/0.6036, allocations: 160.1 kB / 0.5143 GB, free: 82.41 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.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 (44): * Single equations (assignments): 43 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001377/0.605, allocations: 1.417 MB / 0.5156 GB, free: 81.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008994/0.6059, allocations: 0.5807 MB / 0.5162 GB, free: 81.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.6059, allocations: 4.062 kB / 0.5162 GB, free: 81.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005024/0.6064, allocations: 390.5 kB / 0.5166 GB, free: 81.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.6067, allocations: 21.05 kB / 0.5166 GB, free: 81.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002944/0.6096, allocations: 3.227 MB / 0.5198 GB, free: 79.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.6099, allocations: 0.8147 MB / 0.5205 GB, free: 78.55 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002208/0.6101, allocations: 47.62 kB / 0.5206 GB, free: 78.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.6103, allocations: 134.2 kB / 0.5207 GB, free: 78.45 MB / 378.7 MB Notification: Performance of SimCode: time 6.51e-07/0.6103, allocations: 4 kB / 0.5207 GB, free: 78.44 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02066/0.6309, allocations: 6.914 MB / 0.5275 GB, free: 78.04 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001502/0.6311, allocations: 222.9 kB / 0.5277 GB, free: 77.81 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_ParallelResonance.o Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.c In file included from Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.c:7: In file included from ./Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance_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_ParallelResonance.c:7: In file included from ./Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance_model.h:24: ./Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance_functions.h:248: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); ^ 2 warnings and 1 error generated. make: *** [: Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.o] Error 1