Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.SeriesResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001168/0.001168, 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.341/1.341, allocations: 227.2 MB / 245 MB, free: 7.633 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009232/0.000923, allocations: 106.9 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002286/0.0002286, allocations: 4 kB / 358 MB, free: 9.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.21, allocations: 51.48 MB / 409.5 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09763/0.3077, allocations: 83.69 MB / 493.2 MB, free: 6.891 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/0.308, allocations: 82.05 kB / 493.3 MB, free: 6.812 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03767/0.3457, allocations: 16.24 MB / 0.4976 GB, free: 6.398 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3458, allocations: 0 / 0.4976 GB, free: 6.398 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.91e-05/0.3458, allocations: 12 kB / 0.4976 GB, free: 6.387 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.001734/0.3475, allocations: 0.7609 MB / 0.4983 GB, free: 5.574 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.3476, allocations: 8.031 kB / 0.4983 GB, free: 5.566 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002087/0.3478, allocations: 103.7 kB / 0.4984 GB, free: 5.457 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002481/0.3503, allocations: 371.1 kB / 0.4988 GB, free: 5.094 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004464/0.3508, allocations: 298.4 kB / 0.4991 GB, free: 4.762 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.037e-05/0.3508, allocations: 37.31 kB / 0.4991 GB, free: 4.727 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.775e-05/0.3509, allocations: 55.95 kB / 0.4992 GB, free: 4.672 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009637/0.3519, allocations: 0.5141 MB / 0.4997 GB, free: 4.148 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.3519, allocations: 7.906 kB / 0.4997 GB, free: 4.141 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.892e-05/0.352, allocations: 20 kB / 0.4997 GB, free: 4.121 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.352, allocations: 12 kB / 0.4997 GB, free: 4.109 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.3531, allocations: 0.5751 MB / 0.5003 GB, free: 3.535 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002825/0.3559, allocations: 1.976 MB / 0.5022 GB, free: 1.426 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1803/0.5362, allocations: 2.187 MB / 0.5043 GB, free: 87.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001839/0.5365, allocations: 171.4 kB / 0.5045 GB, free: 87.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.5365, allocations: 37.41 kB / 0.5045 GB, free: 87.1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=47): time 2.094e-06/0.5365, allocations: 0 / 0.5045 GB, free: 87.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=47): time 0.002234/0.5388, allocations: 0.7882 MB / 0.5053 GB, free: 86.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.5388, allocations: 59 kB / 0.5054 GB, free: 86.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.539, allocations: 166.3 kB / 0.5055 GB, free: 86.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/0.539, allocations: 34.83 kB / 0.5056 GB, free: 86.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.5392, allocations: 222.1 kB / 0.5058 GB, free: 86.65 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.5393, allocations: 160.4 kB / 0.5059 GB, free: 86.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.197e-05/0.5393, allocations: 10.41 kB / 0.5059 GB, free: 86.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.647e-05/0.5394, allocations: 338 kB / 0.5062 GB, free: 86.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003316/0.5397, allocations: 153.8 kB / 0.5064 GB, free: 86.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003724/0.5401, allocations: 229.4 kB / 0.5066 GB, free: 86.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003692/0.5405, allocations: 183.9 kB / 0.5068 GB, free: 86.17 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.5405, allocations: 2.562 kB / 0.5068 GB, free: 86.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009792/0.5415, allocations: 0.5362 MB / 0.5073 GB, free: 86.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.5415, allocations: 8.469 kB / 0.5073 GB, free: 86.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.5415, allocations: 2.359 kB / 0.5073 GB, free: 86.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003576/0.5419, allocations: 93.84 kB / 0.5074 GB, free: 86.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003986/0.5423, allocations: 97.8 kB / 0.5075 GB, free: 86.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001994/0.5443, allocations: 1.864 MB / 0.5093 GB, free: 84.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003253/0.5446, allocations: 48.77 kB / 0.5094 GB, free: 84.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.655e-05/0.5447, allocations: 19 kB / 0.5094 GB, free: 84.75 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 (50): * Single equations (assignments): 49 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002492/0.545, allocations: 165.8 kB / 0.5096 GB, free: 84.63 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.72e-05/0.545, allocations: 26.84 kB / 0.5096 GB, free: 84.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.5461, allocations: 0.5464 MB / 0.5101 GB, free: 84.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.5462, allocations: 8.875 kB / 0.5101 GB, free: 84.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.5462, allocations: 1.375 kB / 0.5101 GB, free: 84.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.5462, allocations: 3.438 kB / 0.5101 GB, free: 84.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001783/0.548, allocations: 1.123 MB / 0.5112 GB, free: 84.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.548, allocations: 0 / 0.5112 GB, free: 84.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003884/0.5484, allocations: 80.91 kB / 0.5113 GB, free: 84.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003449/0.5487, allocations: 92.48 kB / 0.5114 GB, free: 84.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.678e-05/0.5488, allocations: 11.02 kB / 0.5114 GB, free: 84.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001677/0.5505, allocations: 1.864 MB / 0.5132 GB, free: 82.85 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5505, allocations: 5.828 kB / 0.5132 GB, free: 82.85 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.5517, allocations: 0.7929 MB / 0.514 GB, free: 82.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.272e-05/0.5517, allocations: 116.5 kB / 0.5141 GB, free: 82.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.565e-05/0.5518, allocations: 15.19 kB / 0.5141 GB, free: 82.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002251/0.552, allocations: 16.73 kB / 0.5141 GB, free: 82.56 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.613e-05/0.5521, allocations: 38.91 kB / 0.5142 GB, free: 82.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/0.5521, allocations: 12.5 kB / 0.5142 GB, free: 82.56 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.501e-05/0.5522, allocations: 132.7 kB / 0.5143 GB, free: 82.49 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5522, allocations: 0 / 0.5143 GB, free: 82.49 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005961/0.5528, allocations: 159.2 kB / 0.5145 GB, free: 82.46 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (capacitor.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 (42): * Single equations (assignments): 41 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001354/0.5542, allocations: 1.403 MB / 0.5158 GB, free: 81.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008879/0.5551, allocations: 0.5784 MB / 0.5164 GB, free: 81.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5551, allocations: 0 / 0.5164 GB, free: 81.62 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004606/0.5556, allocations: 387.3 kB / 0.5168 GB, free: 81.49 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.5558, allocations: 19.22 kB / 0.5168 GB, free: 81.49 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002799/0.5586, allocations: 3.183 MB / 0.5199 GB, free: 79.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.5588, allocations: 0.8197 MB / 0.5207 GB, free: 78.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002036/0.5591, allocations: 52.03 kB / 0.5207 GB, free: 78.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/0.5592, allocations: 131 kB / 0.5209 GB, free: 78.47 MB / 378.7 MB Notification: Performance of SimCode: time 3.81e-07/0.5592, allocations: 0 / 0.5209 GB, free: 78.47 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02005/0.5793, allocations: 6.877 MB / 0.5276 GB, free: 78.07 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001608/0.5795, allocations: 224.8 kB / 0.5278 GB, free: 77.84 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_SeriesResonance.o Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance.c In file included from Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance.c:7: In file included from ./Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance_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_SeriesResonance.c:7: In file included from ./Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance_model.h:24: ./Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance_functions.h:248: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 1 error generated. make: *** [: Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance.o] Error 1