Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.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.SeriesBode,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode",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.001955/0.001955, allocations: 181.9 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.363/1.363, allocations: 223.2 MB / 240.3 MB, free: 11.89 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.0008038/0.0008035, allocations: 90.39 kB / 291.5 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000304/0.0003041, allocations: 8 kB / 351.2 MB, free: 15.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2219, allocations: 50.41 MB / 401.6 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1192/0.3412, allocations: 84.51 MB / 486.1 MB, free: 11.98 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003424/0.3416, allocations: 79.95 kB / 486.2 MB, free: 11.9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05867/0.4003, allocations: 16.58 MB / 0.491 GB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4003, allocations: 0 / 0.491 GB, free: 11.15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.359e-05/0.4004, allocations: 8 kB / 0.491 GB, free: 11.14 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.003024/0.4034, allocations: 0.8231 MB / 0.4918 GB, free: 10.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.4035, allocations: 12.03 kB / 0.4918 GB, free: 10.26 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003199/0.4038, allocations: 111.8 kB / 0.4919 GB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003223/0.407, allocations: 299.1 kB / 0.4922 GB, free: 9.848 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006884/0.4077, allocations: 343.1 kB / 0.4925 GB, free: 9.473 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.213e-05/0.4078, allocations: 49.3 kB / 0.4926 GB, free: 9.426 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/0.408, allocations: 59.91 kB / 0.4926 GB, free: 9.367 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002112/0.4101, allocations: 0.7291 MB / 0.4933 GB, free: 8.625 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.391e-05/0.4102, allocations: 3.953 kB / 0.4933 GB, free: 8.621 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.4103, allocations: 24 kB / 0.4933 GB, free: 8.598 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.673e-05/0.4103, allocations: 16 kB / 0.4934 GB, free: 8.582 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002331/0.4127, allocations: 0.7469 MB / 0.4941 GB, free: 7.836 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005881/0.4186, allocations: 2.433 MB / 0.4965 GB, free: 5.258 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002514/0.4211, allocations: 1.265 MB / 0.4977 GB, free: 3.816 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001353/0.4213, allocations: 85.48 kB / 0.4978 GB, free: 3.715 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/0.4214, allocations: 42.94 kB / 0.4978 GB, free: 3.664 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 3.887e-06/0.4214, allocations: 0 / 0.4978 GB, free: 3.664 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.003231/0.4246, allocations: 1.058 MB / 0.4989 GB, free: 2.547 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.553e-05/0.4247, allocations: 84.86 kB / 0.4989 GB, free: 2.445 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004781/0.4252, allocations: 245.7 kB / 0.4992 GB, free: 2.207 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.687e-05/0.4253, allocations: 33.7 kB / 0.4992 GB, free: 2.168 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000243/0.4256, allocations: 248.7 kB / 0.4994 GB, free: 1.918 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002115/0.4258, allocations: 165.6 kB / 0.4996 GB, free: 1.754 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.684e-05/0.4258, allocations: 12 kB / 0.4996 GB, free: 1.742 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.426, allocations: 338.8 kB / 0.4999 GB, free: 1.402 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007319/0.4268, allocations: 213 kB / 0.5001 GB, free: 1.191 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008644/0.4277, allocations: 344.4 kB / 0.5005 GB, free: 0.8047 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008111/0.4285, allocations: 252.5 kB / 0.5007 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.4285, allocations: 0 / 0.5007 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.1889/0.6174, allocations: 0.6686 MB / 0.5014 GB, free: 93.33 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003571/0.6178, allocations: 1.406 MB / 0.5027 GB, free: 91.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.085e-05/0.6178, allocations: 4.094 kB / 0.5027 GB, free: 91.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003077/0.6181, allocations: 54.95 kB / 0.5028 GB, free: 91.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005833/0.6187, allocations: 116.8 kB / 0.5029 GB, free: 91.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001292/0.62, allocations: 1.596 MB / 0.5045 GB, free: 90.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004547/0.6205, allocations: 66.94 kB / 0.5045 GB, free: 90.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.419e-05/0.6206, allocations: 24.56 kB / 0.5045 GB, free: 90.56 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.278e-06/0.6206, allocations: 3.594 kB / 0.5046 GB, free: 90.56 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001194/0.6218, allocations: 0.5927 MB / 0.5051 GB, free: 90.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.6218, allocations: 4.703 kB / 0.5051 GB, free: 90.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001456/0.622, allocations: 51.95 kB / 0.5052 GB, free: 90.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004211/0.6224, allocations: 111.9 kB / 0.5053 GB, free: 90.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009488/0.6234, allocations: 1.523 MB / 0.5068 GB, free: 89.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003585/0.6237, allocations: 52.75 kB / 0.5068 GB, free: 89.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.816e-05/0.6238, allocations: 27.89 kB / 0.5069 GB, free: 89.29 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (55): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002563/0.6241, allocations: 261.4 kB / 0.5071 GB, free: 89.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.933e-05/0.6241, allocations: 32.44 kB / 0.5071 GB, free: 89.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001318/0.6255, allocations: 0.6533 MB / 0.5078 GB, free: 89.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/0.6255, allocations: 5.891 kB / 0.5078 GB, free: 89.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.6255, allocations: 7.891 kB / 0.5078 GB, free: 89.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.6255, allocations: 2.875 kB / 0.5078 GB, free: 89.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002019/0.6275, allocations: 1.32 MB / 0.5091 GB, free: 88.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.6276, allocations: 6.875 kB / 0.5091 GB, free: 88.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004399/0.628, allocations: 92.3 kB / 0.5092 GB, free: 88.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001504/0.6282, allocations: 52.77 kB / 0.5092 GB, free: 88.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.671e-05/0.6282, allocations: 17.73 kB / 0.5092 GB, free: 88.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009219/0.6291, allocations: 1.593 MB / 0.5108 GB, free: 87.35 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.6292, allocations: 2.812 kB / 0.5108 GB, free: 87.35 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/0.6305, allocations: 0.9979 MB / 0.5118 GB, free: 87.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.6307, allocations: 151.1 kB / 0.5119 GB, free: 87.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.024e-05/0.6307, allocations: 9.562 kB / 0.5119 GB, free: 87.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002965/0.631, allocations: 31.52 kB / 0.512 GB, free: 87.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.482e-05/0.6311, allocations: 35.75 kB / 0.512 GB, free: 87.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.21e-05/0.6312, allocations: 17.61 kB / 0.512 GB, free: 87.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001304/0.6313, allocations: 190.6 kB / 0.5122 GB, free: 86.99 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6313, allocations: 0 / 0.5122 GB, free: 86.99 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008642/0.6322, allocations: 261.4 kB / 0.5124 GB, free: 86.97 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensor.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): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001747/0.6339, allocations: 1.587 MB / 0.514 GB, free: 86.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001689/0.6357, allocations: 1.112 MB / 0.5151 GB, free: 86.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.6357, allocations: 0 / 0.5151 GB, free: 86.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005801/0.6363, allocations: 426.1 kB / 0.5155 GB, free: 85.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.6366, allocations: 40.73 kB / 0.5155 GB, free: 85.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005038/0.6417, allocations: 5.021 MB / 0.5204 GB, free: 82.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.642, allocations: 0.8377 MB / 0.5212 GB, free: 81.48 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001193/0.6432, allocations: 1.077 MB / 0.5223 GB, free: 81.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002386/0.6434, allocations: 160.6 kB / 0.5224 GB, free: 81.35 MB / 378.7 MB Notification: Performance of SimCode: time 1.183e-06/0.6435, allocations: 3.938 kB / 0.5224 GB, free: 81.35 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02139/0.6649, allocations: 9.117 MB / 0.5314 GB, free: 78.58 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001362/0.6651, allocations: 212.9 kB / 0.5316 GB, free: 78.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_SeriesBode.o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode.c In file included from Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode.c:7: In file included from ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode_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_SeriesBode.c:7: In file included from ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode_model.h:24: ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode_functions.h:253: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); ^ ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode_functions.h:262: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 2 errors generated. make: *** [: Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode.o] Error 1